# CVE-2026-7246: [DISPUTED] Pallets Click contains a command injection via Unsanitized Filename "click.edit()"

> Disputed command injection in Pallets Click's edit function allows arbitrary OS command execution via unsanitized filenames.

- **Severity:** High 7.2 (`CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 30 Apr 2026
- **Updated:** 18 Aug 2026
- **Also known as:** AZL-86910, BELL-CVE-2026-7246, CLEANSTART-2026-VU69022, DEBIAN-CVE-2026-7246, ECHO-a20e-bd39-2395, GHSA-47fr-3ffg-hgmw, OESA-2026-2302, OESA-2026-2303, OESA-2026-2304, OESA-2026-2305, SUSE-SU-2026:22254-1, SUSE-SU-2026:22321-1, openSUSE-SU-2026:10760-1, openSUSE-SU-2026:21017-1

## What is CVE-2026-7246?

CVE-2026-7246 is a high-severity command injection vulnerability in Pallets Click Click, published on 30 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

This CVE record was assigned not following CNA/CVE rules and is not considered a valid vulnerability by the Pallets Click project. The original CVE record description is preserved below:

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.

Weakness: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-77 (Improper Neutralization of Special Elements used in a Command)

## Which versions are affected by CVE-2026-7246?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `python-click` | SUSE:Linux Enterprise Server 16.0 | All versions | 8.2.1-160000.3.1 |
| `python-click` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 8.2.1-160000.3.1 |
| `python-click` | SUSE:Linux Micro 6.2 | All versions | 8.2.1-160000.3.1 |
| `python-click` | openSUSE:Leap 16.0 | All versions | 8.2.1-160000.3.1 |
| `python-click` | openSUSE:Tumbleweed | All versions | 8.3.3-2.1 |

Products: Palletsprojects Click.

## How do I fix CVE-2026-7246?

No fix published yet.

## Is CVE-2026-7246 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7246 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-7246 and fix it if it is affected.

What it is: CVE-2026-7246 is a high-severity command injection vulnerability in Pallets Click Click, published on 30 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7246 exists.

Affected product: Pallets Click Click. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-7246/ (Markdown: https://insights.sbomify.com/CVE-2026-7246/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-7246
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-7246
- OSV: https://osv.dev/vulnerability/CVE-2026-7246

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-7246/
Summaries are generated and may contain mistakes; the official description above is the record.
