CVE-2026-4519
webbrowser.open() allows leading dashes in URLs
Check your servers for CVE-2026-4519
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-4519 affects cpython, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Severity (CVSS)
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- active: a user has to take a deliberate step, such as installing or running something
- Impact on the vulnerable system
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 25 Mar 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| CPython |
affected before 3.10.21 affected from 3.11.0, before 3.11.16 affected from 3.12.0, before 3.12.14 affected from 3.13.0, before 3.13.13 affected from 3.14.0, before 3.14.4 affected from 3.15.0a1, before 3.15.0a8
Other versions: unaffected
|
Is my server affected?
Find the installed version of cpython and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cpython
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-4519 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-4519RHEL, Rocky, Alma, Fedora
rpm -q cpython
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-4519Alpine
apk list --installed | grep -i cpythonWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-4519
trivy image --scanners vuln IMAGE | grep CVE-2026-4519
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://mail.python.org/archives/list/security-announce@python.org/thread/AY5NDSS433JK56Q7Q5IS7B37QFZVVOUS/ mail.python.org · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-4519 access.redhat.com · vdb entry
- RHBZ#2449649 bugzilla.redhat.com · issue tracking
- https://access.redhat.com/errata/RHSA-2026:10102 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9614 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9745 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:13812 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7244 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6256 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19064 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19019 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6473 access.redhat.com · vendor advisory
43 more
- https://access.redhat.com/errata/RHSA-2026:6281 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6283 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9387 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9621 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9386 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9289 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9591 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9261 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9262 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9260 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10101 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9042 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10111 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9354 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:9705 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7010 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6766 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6286 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6285 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19216 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19175 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19177 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19176 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:25096 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7335 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19724 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:19725 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:16008 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8748 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8746 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:16030 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:8747 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:16009 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:16174 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7329 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10140 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10141 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6016 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:6035 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7443 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:7661 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:21275 access.redhat.com · vendor advisory
- https://access.redhat.com/errata/RHSA-2026:10065 access.redhat.com · vendor advisory
Patches and release notes
- https://github.com/python/cpython/pull/143931 github.com · patch
- https://github.com/python/cpython/commit/43fe06b96f6a6cf5cfd5bdab20b8649374956866 github.com · patch
- https://github.com/python/cpython/commit/82a24a4442312bdcfc4c799885e8b3e00990f02b github.com · patch
- https://github.com/python/cpython/commit/9669a912a0e329c094e992204d6bdb8787024d76 github.com · patch
- https://github.com/python/cpython/commit/ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5 github.com · patch
- https://github.com/python/cpython/commit/ceac1efc66516ac387eef2c9a0ce671895b44f03 github.com · patch
- https://github.com/python/cpython/commit/cbba6119391112aba9c5aebf7b94aea447922c48 github.com · patch
- https://github.com/python/cpython/commit/3681d47a440865aead912a054d4599087b4270dd github.com · patch
- https://github.com/python/cpython/commit/591ed890270c5697b013bf637029fb3e6cd2d73e github.com · patch
- https://github.com/python/cpython/commit/594b5a05dc9913880ac92eded440defbf32a28d1 github.com · patch
- https://github.com/python/cpython/commit/89bfb8e5ed3c7caa241028f1a4eac5f6275a46a4 github.com · patch
- https://github.com/python/cpython/commit/96fc5048605863c7b6fd6289643feb0e97edd96c github.com · patch
- https://github.com/python/cpython/commit/cc023511238ad93ecc8796157c6f9139a2bb2932 github.com · patch
Other references
- https://github.com/python/cpython/issues/143930 github.com · issue tracking
- http://www.openwall.com/lists/oss-security/2026/03/20/1 openwall.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4519.json security.access.redhat.com
Source: the record CVE-2026-4519 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse