CVSS 3.1
7.2 highCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:HHigh (7.2) in palletsprojects click. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:HExplain CVE-2026-7246 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-7246?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-7246?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-7246 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Pallets Click Click | before 8.3.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | python-click | no fix listed | DEBIAN-CVE-2026-7246 |
| Debian | 14 | python-click | 8.3.3-1 | DEBIAN-CVE-2026-7246 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-controller-venv-tower | 0:4.6.29-2.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-gateway-proxy-server | 0:2.5.10-6.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el8 | automation-gateway-server | 0:2.5.20260422-3.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el8 | python3.12-pillow | 0:12.2.0-1.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8 | python3.12-click | 0:8.3.3-1.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8 | python3.12-cryptography | 0:46.0.7-1.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8, ansible_automation_platform_inside:2.5::el8 | receptor | 0:1.6.5-1.el8ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el9 | automation-controller-venv-tower | 0:4.6.29-2.el9ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el9 | automation-gateway-proxy-server | 0:2.6.14-3.el9ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el9 | automation-gateway-server | 0:2.5.20260422-3.el9ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el9 | python3.12-pillow | 0:12.2.0-1.el9ap | RHSA-2026:24761 |
| Red Hat | ansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9, ansible_automation_platform_inside:2.5::el9 | python3.12-click | 0:8.3.3-1.el9ap | RHSA-2026:24761 |
| 13 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | python-click | 8.2.1-160000.3.1 | SUSE-SU-2026:22321-1 |
| SUSE | Linux Micro 6.2 | python-click | 8.2.1-160000.3.1 | SUSE-SU-2026:22254-1 |
| openSUSE | Leap 16.0 | python-click | 8.2.1-160000.3.1 | openSUSE-SU-2026:21017-1 |
| openSUSE | Tumbleweed | python-click | 8.3.3-2.1 | openSUSE-SU-2026:10760-1 |
| Azure Linux | 3 | python-click | 8.1.7-3 | AZL-86910 |
| Alpaquita | stream | py3-click | 8.3.3-r0 | BELL-CVE-2026-7246 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpaquita.
Red Hat rates this Important.
A command injection vulnerability exists in the click.edit() function of the Pallets Click library. The filename parameter is not sanitized before being interpolated into a shell command string, allowing an attacker who controls the filename to inject and execute arbitrary OS commands.
The root cause is in edit_files(), which wraps the filename in double quotes and passes the resulting string to subprocess.Popen() with shell=True. A filename containing a double-quote character (") can break out of the quoting context and introduce arbitrary shell metacharacters.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | python3.12-click-0:8.3.3-1.el8ap | Fixed 2026-06-09 | RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | python3.12-click-0:8.3.3-1.el9ap | Fixed 2026-06-09 | RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 10 | python-click-0:8.3.3-1.el10ap | Fixed 2026-06-09 | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | python3.12-click-0:8.3.3-1.el9ap | Fixed 2026-06-09 | RHSA-2026:24762 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9:1790621718 | Fixed 2026-09-30 | RHSA-2026:73929 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9:1790621713 | Fixed 2026-09-30 | RHSA-2026:73930 |
| Red Hat Ansible Automation Platform 2 | python3.11-click | Not affected | |
| Red Hat Ansible Automation Platform 2 | python3x-click | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-7246.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-77.