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.
Published: 2026-04-30
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Pallets Click suffers a command injection flaw in the click.edit() function that allows an attacker to supply a malformed filename containing arbitrary operating‑system commands. The result is the execution of those commands with the privileges of the user running the application, leading to complete compromise of the affected system. The weakness is an example of uncontrolled command injection, identified as CWE‑77 and CWE‑78. The likely attack vector is inferred from the description as an attacker supplying an unsanitized filename to click.edit() through user input or configuration, which enables the injection of OS commands.

Affected Systems

Versions of Pallets Click up to and including 8.3.2 are vulnerable. All users of these releases that invoke click.edit() with filenames derived from untrusted input may be affected.

Risk and Exploitability

A CVSS score of 7.2 signals a high‑severity vulnerability. An EPSS score of 0.00026 (< 1%) is reported, indicating a very low, but non‑zero likelihood of exploitation in environments where click.edit() is exposed. The vulnerability is not currently listed in the CISA KEV catalog, yet the impact and potential scope—full code execution on the host—classifies it as a high‑risk issue. Based on the description, the likely attack vector is inferred as an attacker controlling the filename argument passed to click.edit(), a scenario commonly realized through user‑supplied arguments or configuration values. Attack prerequisites are minimal: the attacker must be able to influence the filename passed to click.edit().

Generated by OpenCVE AI on May 4, 2026 at 13:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Pallets Click to version 8.3.3 or later to obtain the vendor patch that removes the unsanitized filename handling in click.edit().
  • Configure the CLICK_EDITOR environment variable to point to a trusted editor or to a wrapper that sanitizes input before invoking the system editor, thereby preventing the injection of malicious shell commands.
  • If an immediate upgrade is not possible, modify the application code to avoid using click.edit() with untrusted filenames or implement a custom wrapper around click.edit() that validates and sanitizes filenames before passing them to the underlying system command.

Generated by OpenCVE AI on May 4, 2026 at 13:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 04 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78
References
Metrics threat_severity

None

threat_severity

Important


Fri, 01 May 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Pallets Click
Pallets Click click
Vendors & Products Pallets Click
Pallets Click click

Thu, 30 Apr 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Palletsprojects
Palletsprojects click
CPEs cpe:2.3:a:palletsprojects:click:*:*:*:*:*:*:*:*
Vendors & Products Palletsprojects
Palletsprojects click

Thu, 30 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-77
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 30 Apr 2026 13:30:00 +0000

Type Values Removed Values 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.
Title Pallets Click contains a command injection via Unsanitized Filename "click.edit()"
References

Subscriptions

Pallets Click Click
Palletsprojects Click
cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-05-07T16:41:32.372Z

Reserved: 2026-04-27T17:37:48.878Z

Link: CVE-2026-7246

cve-icon Vulnrichment

Updated: 2026-04-30T13:38:01.428Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-30T14:16:36.433

Modified: 2026-04-30T16:39:47.257

Link: CVE-2026-7246

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-30T13:16:44Z

Links: CVE-2026-7246 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-04T13:45:25Z

Weaknesses