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

Published Apr 30, 2026
·
Updated

Pallets Click contains a command injection via Unsanitized Filename "click.edit()"

Other sources

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.

NVD

Affected Software

5 affected componentsFixes available
pypi/click<=8.3.2
Microsoft azl3 python-click 8.1.7-2
palletsprojects Click<8.3.3
IBM Db2 Genius Hub<=1.1, 1.1.1, 1.1.2
IBM Agentics<=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Pallets Click to a version that resolves this vulnerability.

    Fixed in 8.3.2
  2. Compensating control

    Mitigate exploitation by ensuring unprivileged users cannot influence inputs to the click.edit() function (e.g., prevent attackers from providing/controlling filenames that reach click.edit()).

Event History

Apr 30, 2026
CVE Published
via MITRE·01:16 PM
Data Sourced
via MITRE·01:16 PM
DescriptionWeakness
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 17, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Jul 13, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-7246?

CVE-2026-7246 has a high severity level due to its potential for command injection attacks.

2

How do I fix CVE-2026-7246?

To fix CVE-2026-7246, upgrade Pallets Click to version 8.3.3 or later.

3

Which versions of Pallets Click are affected by CVE-2026-7246?

Pallets Click versions 8.3.2 and below are affected by CVE-2026-7246.

4

What types of attacks can CVE-2026-7246 enable?

CVE-2026-7246 can enable attackers to execute arbitrary OS commands on the vulnerable system.

5

Is user authentication required to exploit CVE-2026-7246?

No, CVE-2026-7246 can be exploited by attackers using unprivileged accounts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203