CVE-2026-7246
Pallets Click contains a command injection via Unsanitized Filename "click.edit()"
Description
Pallets Click, versions 8.3.2 and below, contain a command injection vulnerability in the click.edit() function, allowing attackers to pass arbitrary OS commands from an unprivileged account.
INFO
Published Date :
April 30, 2026, 2:16 p.m.
Last Modified :
July 15, 2026, 1:16 a.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | ||||
| CVSS 3.1 | HIGH | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Solution
- Update Pallets Click to a non-vulnerable version.
- Avoid passing arbitrary commands to click.edit().
Public PoC/Exploit Available at Github
CVE-2026-7246 has a 3 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-7246.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-7246 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-7246
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Language Server Protocol (LSP) server for authoring camt053 ISO 20022 reversing-entry data files, with diagnostics, completion, and hover. Works in VS Code, Neovim, and other LSP editors.
bank-statement banking camt053 diagnostics editor-tooling fintech iso20022 language-server language-server-protocol lsp pygls python reversing-entry treasury
Makefile Python Dockerfile Shell
Searchable knowledge base for your AI projects
ai-tools claude claude-plugin knowledge-management mcp
Python Shell
Cross-surface persistent memory for Claude sessions
ai-tools claude claude-plugin mcp mcp-server memory
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-7246 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-7246 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jul. 15, 2026
Action Type Old Value New Value Changed Affected [{'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.6::el10', 'cpe:/a:redhat:ansible_automation_platform_developer:2.6::el10'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.6 for RHEL 10', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.5::el8', 'cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8', 'cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.5 for RHEL 8', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.5::el9', 'cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9', 'cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.5 for RHEL 9', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.6::el9', 'cpe:/a:redhat:ansible_automation_platform_developer:2.6::el9', 'cpe:/a:redhat:ansible_automation_platform_inside:2.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.6 for RHEL 9', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.5::el8'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.5 for RHEL 8', 'versions': [{'status': 'unaffected', 'version': '0:8.3.3-1.el8ap', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'python3.12-click', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.5::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.5 for RHEL 9', 'versions': [{'status': 'unaffected', 'version': '0:8.3.3-1.el9ap', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'python3.12-click', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.6::el10'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.6 for RHEL 10', 'versions': [{'status': 'unaffected', 'version': '0:8.3.3-1.el10ap', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'python-click', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.6 for RHEL 9', 'versions': [{'status': 'unaffected', 'version': '0:8.3.3-1.el9ap', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'python3.12-click', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2', 'packageName': 'python3.11-click', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2', 'packageName': 'python3x-click', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}] -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jun. 30, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.6::el10', 'cpe:/a:redhat:ansible_automation_platform_developer:2.6::el10'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.6 for RHEL 10', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.5::el8', 'cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8', 'cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.5 for RHEL 8', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.5::el9', 'cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9', 'cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.5 for RHEL 9', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2.6::el9', 'cpe:/a:redhat:ansible_automation_platform_developer:2.6::el9', 'cpe:/a:redhat:ansible_automation_platform_inside:2.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2.6 for RHEL 9', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:ansible_automation_platform:2'], 'vendor': 'Red Hat', 'product': 'Red Hat Ansible Automation Platform 2', 'defaultStatus': 'unaffected'}] Added CVSS V3.1 AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://access.redhat.com/errata/RHSA-2026:24761 Added Reference https://access.redhat.com/errata/RHSA-2026:24762 Added Reference https://access.redhat.com/security/cve/CVE-2026-7246 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2464121 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7246.json -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Pallets Click', 'product': 'Click', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '8.3.3', 'versionType': 'custom'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-7246', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-04-30T13:39:25.058670Z'} -
Initial Analysis by [email protected]
Apr. 30, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:palletsprojects:click:*:*:*:*:*:*:*:* versions up to (excluding) 8.3.3 Added Reference Type CERT/CC: https://github.com/pallets/click/releases/tag/8.3.3 Types: Patch, Product Added Reference Type CERT/CC: https://github.com/tsigouris007/security-advisories/security/advisories/GHSA-47fr-3ffg-hgmw Types: Exploit, Third Party Advisory Added Reference Type CISA-ADP: https://github.com/tsigouris007/security-advisories/security/advisories/GHSA-47fr-3ffg-hgmw Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-77 Added Reference https://github.com/tsigouris007/security-advisories/security/advisories/GHSA-47fr-3ffg-hgmw -
New CVE Received by [email protected]
Apr. 30, 2026
Action Type Old Value New Value Added Description Pallets Click, versions 8.3.2 and below, contain a command injection vulnerability in the click.edit() function, allowing attackers to pass arbitrary OS commands from an unprivileged account. Added Reference https://github.com/pallets/click/releases/tag/8.3.3 Added Reference https://github.com/tsigouris007/security-advisories/security/advisories/GHSA-47fr-3ffg-hgmw