Skip to main content
VulnerabilityPublished Updated

CVE-2026-4786: Python Software Foundation CPython · Command Injection

Affects Python Software Foundation CPythonSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.0 High · fixed in 3.15.0b1 : patch Python Software Foundation CPython soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
7.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.15.0b1, 3.14.5rc1, 3.13.14 +3
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Python Software FoundationCPythonAffected
  • >=3.15.0a1 <3.15.0b1
Fixed in
  • 3.15.0b1
Python Software FoundationCPythonAffected
  • >=3.14.0a1 <3.14.5rc1
Fixed in
  • 3.14.5rc1
Python Software FoundationCPythonAffected
  • >=3.13.0 <3.13.14
Fixed in
  • 3.13.14
Python Software FoundationCPythonAffected
  • >=3.12.0 <3.12.14
Fixed in
  • 3.12.14
Python Software FoundationCPythonAffected
  • >=3.11.0 <3.11.16
Fixed in
  • 3.11.16
Python Software FoundationCPythonAffected
  • <3.10.21
Fixed in
  • 3.10.21

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Red Hat has released security updates addressing CVE-2026-4786 for their supported products, including Red Hat Enterprise Linux Server Extended Lifecycle Support Extension 6. Users should apply these updates as soon as possible. Currently, no universal mitigation is available or meets Red Hat's criteria for ease of use and deployment. For Red Hat customers, consulting with a Technical Account Manager (TAM) is recommended for tailored guidance. No additional mitigations are specified beyond applying the vendor-provided updates.

Description

Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.

References

Community reviews

Loading reviews…