Original 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 software
- Python < 3.13.13= 3.15.0≥ 3.14.0 < 3.14.4 Fixed in: 3.13.13, 3.14.4 exact match
Details
- Published
- 2026-03-21
- Last modified
- 2026-08-13
- CVSS vector
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- EPSS (30-day exploit probability)
- 0.35% (percentile 29)
References
- cve.org/CVE-2026-4519
- nvd.nist.gov/vuln/detail/CVE-2026-4519
- github.com/python/cpython/pull/143931
- github.com/python/cpython/issues/143930
- mail.python.org/archives/list/[email protected]/thread/AY5NDSS433JK56Q7Q5IS7B37...
- github.com/python/cpython/commit/43fe06b96f6a6cf5cfd5bdab20b8649374956866
- github.com/python/cpython/commit/82a24a4442312bdcfc4c799885e8b3e00990f02b
- github.com/python/cpython/commit/9669a912a0e329c094e992204d6bdb8787024d76
- github.com/python/cpython/commit/ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5
- github.com/python/cpython/commit/ceac1efc66516ac387eef2c9a0ce671895b44f03
- github.com/python/cpython/commit/cbba6119391112aba9c5aebf7b94aea447922c48
- github.com/python/cpython/commit/3681d47a440865aead912a054d4599087b4270dd
- github.com/python/cpython/commit/591ed890270c5697b013bf637029fb3e6cd2d73e
- github.com/python/cpython/commit/594b5a05dc9913880ac92eded440defbf32a28d1
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.