CVE-2026-4519: Python Software Foundation CPython · Improper Input Validation
Affects Python Software Foundation CPythonSource CVE Database V5
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
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
- github.com/python/cpython/pull/143931 (opens in a new tab)
- github.com/python/cpython/issues/143930 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/AY5NDSS433JK56Q7Q5IS7B37QFZVVOUS/ (opens in a new tab)
- github.com/python/cpython/commit/43fe06b96f6a6cf5cfd5bdab20b8649374956866 (opens in a new tab)
- github.com/python/cpython/commit/82a24a4442312bdcfc4c799885e8b3e00990f02b (opens in a new tab)
- github.com/python/cpython/commit/9669a912a0e329c094e992204d6bdb8787024d76 (opens in a new tab)
- github.com/python/cpython/commit/ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5 (opens in a new tab)
- github.com/python/cpython/commit/ceac1efc66516ac387eef2c9a0ce671895b44f03 (opens in a new tab)
- github.com/python/cpython/commit/cbba6119391112aba9c5aebf7b94aea447922c48 (opens in a new tab)
- github.com/python/cpython/commit/3681d47a440865aead912a054d4599087b4270dd (opens in a new tab)
- github.com/python/cpython/commit/591ed890270c5697b013bf637029fb3e6cd2d73e (opens in a new tab)
- github.com/python/cpython/commit/594b5a05dc9913880ac92eded440defbf32a28d1 (opens in a new tab)
- github.com/python/cpython/commit/89bfb8e5ed3c7caa241028f1a4eac5f6275a46a4 (opens in a new tab)
- github.com/python/cpython/commit/96fc5048605863c7b6fd6289643feb0e97edd96c (opens in a new tab)
- github.com/python/cpython/commit/cc023511238ad93ecc8796157c6f9139a2bb2932 (opens in a new tab)
- openwall.com/lists/oss-security/2026/03/20/1 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-4519 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2449649 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4519.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10102 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9614 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9745 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:13812 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7244 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6256 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19064 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19019 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6473 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6281 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6283 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9387 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9621 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9386 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9289 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9591 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9261 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9262 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9260 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10101 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9042 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10111 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9354 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:9705 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7010 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6766 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6286 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6285 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19216 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19175 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19177 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19176 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:25096 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7335 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19724 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19725 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16008 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8748 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8746 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16030 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8747 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16009 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:16174 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7329 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10140 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10141 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6016 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:6035 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7443 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7661 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21275 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10065 (opens in a new tab)