CVE-2026-4519
JSON

7.0high

webbrowser.open() allows leading dashes in URLs

Severity
7.0high CVSS:4.0 by PSF
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PSF
Also known as
PSF-2026-14BIT-LIBPYTHON-2026-4519BIT-PYTHON-2026-4519BIT-PYTHON-MIN-2026-4519

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().

Affected

Product or packageVersionsReported by
Python Software Foundation CPythonbefore 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4, from 3.15.0a1 before 3.15.0a8CVE List
python3.12Not specified
Not affected: from 0:3.12.12-3.el10_1.2 before *, from 0:3.12.13-2.el10_2 before *, from 0:3.12.9-2.el10_0.8 before *, from 0:3.12.12-4.el8_10 before *, from 0:3.12.12-4.el9_7.2 before *, from 0:3.12.13-2.el9_8 before *
CVE List
python3.14Not specified
Not affected: from 0:3.14.4-2.el10_2 before *, from 0:3.14.4-2.el9_8 before *
CVE List
pythonNot specified
Not affected: from 0:2.6.6-70.el6_10.3 before *, from 0:2.7.5-94.el7_9.4 before *
CVE List
python3Not specified
Not affected: from 0:3.6.8-21.el7_9.5 before *, from 0:3.6.8-75.el8_10 before *, from 0:3.6.8-24.el8_2.7 before *, from 0:3.6.8-39.el8_4.10 before *, from 0:3.6.8-47.el8_6.12 before *, from 0:3.6.8-51.el8_8.14 before *
CVE List
python3.11Not specified
Not affected: from 0:3.11.13-6.el8_10 before *, from 0:3.11.2-2.el8_8.9 before *, from 0:3.11.13-5.2.el9_7 before *, from 0:3.11.13-9.el9_8 before *, from 0:3.11.2-2.el9_2.11 before *, from 0:3.11.7-1.el9_4.12 before *
CVE List
python3.9Not specified
Not affected: from 0:3.9.25-3.el9_7.2 before *, from 0:3.9.25-7.el9_8 before *, from 0:3.9.10-4.el9_0.10 before *, from 0:3.9.16-1.el9_2.13 before *, from 0:3.9.18-3.el9_4.12 before *, from 0:3.9.21-2.el9_6.5 before *
CVE List
rhpam-7/rhpam-businesscentral-monitoring-rhel8Not specified
Not affected: from 7.13.5-4.1777325677 before *
CVE List
rhpam-7/rhpam-businesscentral-rhel8Not specified
Not affected: from 7.13.5-4.1777325711 before *
CVE List
rhpam-7/rhpam-controller-rhel8Not specified
Not affected: from 7.13.5-4.1777325710 before *
CVE List
rhpam-7/rhpam-dashbuilder-rhel8Not specified
Not affected: from 7.13.5-3.1777325680 before *
CVE List
rhpam-7/rhpam-kieserver-rhel8Not specified
Not affected: from 7.13.5-4.1777325709 before *
CVE List

All scores

PSF7.0high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
redhat-SADP7.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
NVD3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-20CWE-88

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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().

NVD (es)

La API webbrowser.open() aceptaba guiones iniciales en la URL que podrían ser interpretados como opciones de línea de comandos para ciertos navegadores web. El nuevo comportamiento rechaza los guiones iniciales. Se recomienda a los usuarios sanear las URL antes de pasarlas a webbrowser.open().

References

https://github.com/python/cpython/pull/143931issue-tracking, patch, web
https://github.com/python/cpython/issues/143930issue-tracking, patch, report, web
https://mail.python.org/archives/list/security-announce@python.org/thread/AY5NDSS433JK56Q7Q5IS7B37QFZVVOUS/advisory, vendor-advisory, web
https://github.com/python/cpython/commit/43fe06b96f6a6cf5cfd5bdab20b8649374956866fix, patch, web
https://github.com/python/cpython/commit/82a24a4442312bdcfc4c799885e8b3e00990f02bfix, patch, web
https://github.com/python/cpython/commit/9669a912a0e329c094e992204d6bdb8787024d76fix, patch, web
https://github.com/python/cpython/commit/ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5fix, patch, web
https://github.com/python/cpython/commit/ceac1efc66516ac387eef2c9a0ce671895b44f03fix, patch, web
https://github.com/python/cpython/commit/cbba6119391112aba9c5aebf7b94aea447922c48fix, patch
https://github.com/python/cpython/commit/3681d47a440865aead912a054d4599087b4270ddfix, patch
https://github.com/python/cpython/commit/591ed890270c5697b013bf637029fb3e6cd2d73efix, patch
https://github.com/python/cpython/commit/594b5a05dc9913880ac92eded440defbf32a28d1fix, patch

Sources

SourceRecordLicence
CVE ListCVE-2026-4519 changed 2026-08-13CVE Terms of Use
Python Software FoundationPSF-2026-14 changed 2026-04-08CC-BY-4.0
NVDCVE-2026-4519 changed 2026-08-13Public domain
Bitnami Vulnerability DatabaseBIT-LIBPYTHON-2026-4519 changed 2026-03-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-PYTHON-2026-4519 changed 2026-03-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-PYTHON-MIN-2026-4519 changed 2026-03-27Apache-2.0