CVE Program
CNA-CVE-2026-4786
Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Python | python | All versions before 3.10.21 (fixed in 3.10.21) From 3.11.0 before 3.11.16 (fixed in 3.11.16) From 3.12.0 before 3.12.14 (fixed in 3.12.14) From 3.13.0 before 3.13.14 (fixed in 3.13.14) From 3.14.0a1 before 3.14.5rc1 (fixed in 3.14.5rc1) From 3.15.0a1 before 3.15.0b1 (fixed in 3.15.0b1) |
References
- https://www.cve.org/CVERecord?id=CVE-2026-4786
- https://github.com/python/cpython/pull/148170
- https://github.com/python/cpython/issues/148169
- https://mail.python.org/archives/list/[email protected]/thread/JQDUNJVB4AQNTJECSUKOBDU3XCJIPSE5/
- https://github.com/python/cpython/commit/c5767a72838a8dda9d6dc5d3558075b055c56bca
- https://github.com/python/cpython/commit/d22922c8a7958353689dc4763dd72da2dea03fff
- https://github.com/python/cpython/commit/f4654824ae0850ac87227fb270f9057477946769
- https://github.com/python/cpython/commit/28b4ad38067bbdad34edfcd03ad2de5f06387e53
- https://github.com/python/cpython/commit/d6d68494be70bdbda20f89f83801ba52ec37daa4
- https://github.com/python/cpython/commit/a4d3edf3a6ecfde504d02126410d2a65a859b744