# CVE-2026-4519: webbrowser.open() allows leading dashes in URLs

- Severity: High 7.0 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-03-20T15:08:32.576Z
- Modified: 2026-08-13T01:16:53.580Z
- Also known as: PSF-2026-14, BIT-LIBPYTHON-2026-4519, BIT-PYTHON-2026-4519, BIT-PYTHON-MIN-2026-4519
- Weaknesses: CWE-20, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PSF

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

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 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.0a8
- python3.12: no versions given (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 *; from 0:3.12.1-4.el9_4.12 before *; from 0:3.12.9-1.el9_6.7 before *)
- python3.14: no versions given (not affected: from 0:3.14.4-2.el10_2 before *; from 0:3.14.4-2.el9_8 before *)
- python: no versions given (not affected: from 0:2.6.6-70.el6_10.3 before *; from 0:2.7.5-94.el7_9.4 before *)
- python3: no versions given (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 *)
- python3.11: no versions given (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 *; from 0:3.11.11-2.el9_6.6 before *)
- python3.9: no versions given (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 *)
- rhpam-7/rhpam-businesscentral-monitoring-rhel8: no versions given (not affected: from 7.13.5-4.1777325677 before *)
- rhpam-7/rhpam-businesscentral-rhel8: no versions given (not affected: from 7.13.5-4.1777325711 before *)
- rhpam-7/rhpam-controller-rhel8: no versions given (not affected: from 7.13.5-4.1777325710 before *)
- rhpam-7/rhpam-dashbuilder-rhel8: no versions given (not affected: from 7.13.5-3.1777325680 before *)
- rhpam-7/rhpam-kieserver-rhel8: no versions given (not affected: from 7.13.5-4.1777325709 before *)
- rhpam-7/rhpam-process-migration-rhel8: no versions given (not affected: from 7.13.5-4.1777325680 before *)
- rhpam-7/rhpam-smartrouter-rhel8: no versions given (not affected: from 7.13.5-4.1777325708 before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1775740563 before *; from 1779223654 before *; from 1775680192 before *; from 1778274666 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1779223651 before *; from 1775680262 before *; from 1778244531 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1780681984 before *; from 1775749857 before *; from 1778244559 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1778244546 before *)
- discovery/discovery-server-rhel9: no versions given (not affected: from 1775668717 before *)
- rhelai3/bootc-aws-cuda-rhel9: no versions given (not affected: from 1776871984 before *)
- rhelai3/bootc-azure-cuda-rhel9: no versions given (not affected: from 1776871985 before *)
- rhelai3/bootc-azure-rocm-rhel9: no versions given (not affected: from 1776872005 before *)
- rhelai3/bootc-cuda-rhel9: no versions given (not affected: from 1776773390 before *)
- rhelai3/bootc-gcp-cuda-rhel9: no versions given (not affected: from 1776871987 before *)
- rhelai3/bootc-rocm-rhel9: no versions given (not affected: from 1776773505 before *)
- rhelai3/disk-image-cuda-rhel9: no versions given (not affected: from 1776938871 before *)
- python3-11-main: no versions given (not affected: from 3.11.15-2.hum1 before *)
- python3-12-main: no versions given (not affected: from 3.12.13-2.hum1 before *)
- python3-13-main: no versions given (not affected: from 3.13.13-1.hum1 before *)
- python3-14-main: no versions given (not affected: from 3.14.4-1.hum1 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1776868774 before *; from 1779798159 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1776868744 before *; from 1779798164 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1776868772 before *; from 1779798165 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1776868842 before *; from 1779798222 before *)
- python36:3.6/python36: no versions given
- python39-devel:3.9/python39: no versions given
- https://github.com/python/cpython: before 43fe06b96f6a6cf5cfd5bdab20b8649374956866; before 82a24a4442312bdcfc4c799885e8b3e00990f02b; before 9669a912a0e329c094e992204d6bdb8787024d76; before ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5; before ceac1efc66516ac387eef2c9a0ce671895b44f03; before cbba6119391112aba9c5aebf7b94aea447922c48; before 3681d47a440865aead912a054d4599087b4270dd; before 591ed890270c5697b013bf637029fb3e6cd2d73e; before 594b5a05dc9913880ac92eded440defbf32a28d1; before 89bfb8e5ed3c7caa241028f1a4eac5f6275a46a4; before 96fc5048605863c7b6fd6289643feb0e97edd96c; before cc023511238ad93ecc8796157c6f9139a2bb2932
- python python: before 3.13.13; from 3.14.0 before 3.14.4; 3.15.0
- libpython (Bitnami): before 3.15.0
- python (Bitnami): before 3.15.0
- python-min (Bitnami): before 3.15.0

## Every score

- PSF: CVSS:4.0 7.0 High `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`
- redhat-SADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python/cpython/pull/143931> (issue-tracking, patch, web)
- <https://github.com/python/cpython/issues/143930> (issue-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/43fe06b96f6a6cf5cfd5bdab20b8649374956866> (fix, patch, web)
- <https://github.com/python/cpython/commit/82a24a4442312bdcfc4c799885e8b3e00990f02b> (fix, patch, web)
- <https://github.com/python/cpython/commit/9669a912a0e329c094e992204d6bdb8787024d76> (fix, patch, web)
- <https://github.com/python/cpython/commit/ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5> (fix, patch, web)
- <https://github.com/python/cpython/commit/ceac1efc66516ac387eef2c9a0ce671895b44f03> (fix, patch, web)
- <https://github.com/python/cpython/commit/cbba6119391112aba9c5aebf7b94aea447922c48> (fix, patch)
- <https://github.com/python/cpython/commit/3681d47a440865aead912a054d4599087b4270dd> (fix, patch)
- <https://github.com/python/cpython/commit/591ed890270c5697b013bf637029fb3e6cd2d73e> (fix, patch)
- <https://github.com/python/cpython/commit/594b5a05dc9913880ac92eded440defbf32a28d1> (fix, patch)
- <https://github.com/python/cpython/commit/89bfb8e5ed3c7caa241028f1a4eac5f6275a46a4> (fix, patch)
- <https://github.com/python/cpython/commit/96fc5048605863c7b6fd6289643feb0e97edd96c> (fix, patch)
- <https://github.com/python/cpython/commit/cc023511238ad93ecc8796157c6f9139a2bb2932> (fix, patch)
- <http://www.openwall.com/lists/oss-security/2026/03/20/1> (mailing-list, third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-4519> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2449649> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4519.json>
- <https://access.redhat.com/errata/RHSA-2026:10102> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9614> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9745> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:13812> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7244> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6256> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19064> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19019> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6473> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6281> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6283> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9387> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9621> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9386> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9289> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9591> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9261> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9262> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9260> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10101> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9042> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10111> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9354> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9705> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7010> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6766> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6286> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6285> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19216> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19175> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19177> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19176> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25096> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7335> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19724> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19725> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16008> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8748> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8746> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16030> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8747> (vendor-advisory)
- and 12 more: see the JSON

## Sources

- CVE List: [CVE-2026-4519](https://www.cve.org/CVERecord?id=CVE-2026-4519), CVE Terms of Use, modified 2026-08-13
- Python Software Foundation: [PSF-2026-14](https://osv.dev/vulnerability/PSF-2026-14), CC-BY-4.0, modified 2026-04-08
- NVD: [CVE-2026-4519](https://nvd.nist.gov/vuln/detail/CVE-2026-4519), Public domain, modified 2026-08-13
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-4519](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-4519), Apache-2.0, modified 2026-03-27
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-4519](https://osv.dev/vulnerability/BIT-PYTHON-2026-4519), Apache-2.0, modified 2026-03-27
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-4519](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-4519), Apache-2.0, modified 2026-03-27

---

Page: https://cve.day/CVE-2026-4519 · Whole record: https://cve.day/CVE-2026-4519.json · Rebuilt by cve.day 2026-11-25T22:59:16.323Z
