Skip to main content
VulnerabilityPublished Updated

CVE-2026-4519: Python Software Foundation CPython · Improper Input Validation

Affects Python Software Foundation CPythonSource CVE Database V5

0
Compare

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

Data as of 1 Nov 2026, 22:58 UTC

CVSS 4.0 base score
7.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.15.0a8, 3.14.4, 3.13.13 +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 20 Mar 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 1 Nov 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.0a8
Fixed in
  • 3.15.0a8
Python Software FoundationCPythonAffected
  • >=3.14.0 <3.14.4
Fixed in
  • 3.14.4
Python Software FoundationCPythonAffected
  • >=3.13.0 <3.13.13
Fixed in
  • 3.13.13
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

A security update fixing this vulnerability is available from the Python Software Foundation and has been packaged by Red Hat for affected products. Users are advised to apply the vendor-provided patches promptly. Currently, no alternative mitigations meet Red Hat's criteria for ease of use and applicability. Users should sanitize URLs before passing them to webbrowser.open() as a precaution. For Red Hat Enterprise Linux 6 Extended Lifecycle Support users, updated python packages are available as per RHSA-2026:10102. Check the vendor advisory for detailed update instructions.

Description

The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().

References

Community reviews

Loading reviews…