Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()
CVE-2026-4786Published 13 Apr 2026, 21:52 UTC
Real-world risk
1.1/ 10Low
Routine
If the vulnerable configuration applies to you: 2.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from PSF)
Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| CPythonUbiquitous | < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.14; >= 3.14.0a1, < 3.14.5rc1; >= 3.15.0a1, < 3.15.0b1 | 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1 |
What to do
Update to a fixed version: 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 26), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.158
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.1575 × threat 0.851.071
- Rounded to one decimal between 0.1 and 101.1
Exploitation and evidence timeline
- 13 Apr 2026 Published
- 3 Dec 2026 Risk 1.1 (cvss fallback)
Weakness
CWE-77
References
- https://github.com/python/cpython/pull/148170patch
- https://github.com/python/cpython/issues/148169issue-tracking
- https://mail.python.org/archives/list/[email protected]/thread/JQDUNJVB4AQNTJECSUKOBDU3XCJIPSE5/vendor-advisory
- https://github.com/python/cpython/commit/c5767a72838a8dda9d6dc5d3558075b055c56bcapatch
- https://github.com/python/cpython/commit/d22922c8a7958353689dc4763dd72da2dea03fffpatch
- https://github.com/python/cpython/commit/f4654824ae0850ac87227fb270f9057477946769patch
- https://github.com/python/cpython/commit/28b4ad38067bbdad34edfcd03ad2de5f06387e53patch
- https://github.com/python/cpython/commit/d6d68494be70bdbda20f89f83801ba52ec37daa4patch
- https://github.com/python/cpython/commit/a4d3edf3a6ecfde504d02126410d2a65a859b744patch
- https://access.redhat.com/security/cve/CVE-2026-4786redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2458049issue-tracking, redhat
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4786.jsonx-sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:22144redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19589redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35838redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:13812redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:16699redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10711redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19064redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19019redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28581redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:11077redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:11062redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10950redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19590redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:17619redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19549redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26187redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19571redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19570redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:13692redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:21682redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:14653redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:17525redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19576redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:14652redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:14656redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10949redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10774redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10745redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19216redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19175redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19177redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19176redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28247redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25096redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:30078redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:30089redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:30088redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:30087redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10140redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10141redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:8822redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:8824redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10117redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:9228redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:11768redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:21275redhat, vendor-advisory
- CVE-2026-4786 on CVE.org