CVE-2026-4786: Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()

Published Apr 13, 2026
·
Updated

Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()

Other sources

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.

— Red Hat

Affected Software

40 affected componentsFixes available
Python Software Foundation CPython
Microsoft azl3 python3 3.12.9-13<3.12.9-14
3.12.9-14
Microsoft azl3 python3 3.12.9-14<3.12.9-14
3.12.9-14
IBM Netezza Software<=11.3.0.3-IF2
debian/pypy3<7.3.22+dfsg-1
7.3.22+dfsg-1
debian/python3.14<3.14.5-1
3.14.5-1
ubuntu/python2.7*
ubuntu/python3.4*
ubuntu/python3.5*
ubuntu/python2.7*
ubuntu/python3.5*
ubuntu/jython*
ubuntu/python2.7*
ubuntu/python3.6*
ubuntu/jython*
ubuntu/python3.7*
ubuntu/python3.8*
ubuntu/jython*
ubuntu/pypy3*
ubuntu/python2.7*
ubuntu/python3.9*
ubuntu/pypy3*
ubuntu/python3.10<3.10.12-1~22.04.16
3.10.12-1~22.04.16
ubuntu/python2.7*
ubuntu/python3.11*
ubuntu/pypy3*
ubuntu/python3.12<3.12.3-1ubuntu0.15
3.12.3-1ubuntu0.15
ubuntu/jython*
ubuntu/pypy3*
ubuntu/python3.13*
ubuntu/python3.14*
ubuntu/jython*
ubuntu/pypy3*
ubuntu/pypy3*
ubuntu/python3.14<3.14.4-1ubuntu0.1
3.14.4-1ubuntu0.1
debian/jython
debian/pypy3
7.3.22+dfsg-1
debian/python3.11
debian/python3.13
3.13.14-1
debian/python3.14
3.14.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.12.9-14
  2. Upgrade

    Upgrade debian/pypy3 to a version that resolves this vulnerability.

    Fixed in 7.3.22+dfsg-1
  3. Upgrade

    Upgrade debian/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.5-1
  4. Upgrade

    Upgrade ubuntu/python3.10 to a version that resolves this vulnerability.

    Fixed in 3.10.12-1~22.04.16
  5. Upgrade

    Upgrade ubuntu/python3.12 to a version that resolves this vulnerability.

    Fixed in 3.12.3-1ubuntu0.15
  6. Upgrade

    Upgrade ubuntu/python3.14 to a version that resolves this vulnerability.

    Fixed in 3.14.4-1ubuntu0.1
  7. Upgrade

    Upgrade debian/python3.13 to a version that resolves this vulnerability.

    Fixed in 3.13.14-1

Event History

Apr 13, 2026
CVE Published
via MITRE·09:52 PM
Data Sourced
via MITRE·09:52 PM
DescriptionWeakness
Data Sourced
via OSV·09:52 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Apr 19, 2026
Event
via FIRST·12:00 AM
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
May 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Jun 30, 2026
Updated
via NVD·03:20 AM
SeverityWeakness
Jul 27, 2026
Updated
via IBM·12:00 AM
Affected Software
Jul 29, 2026
Updated
via IBM·12:00 AM
Affected Software
Aug 20, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 9, 2026
Data Sourced
via OSV·12:49 PM
Affected Software
Nov 17, 2026
Updated
via OSV·06:21 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-4786?

CVE-2026-4786 is classified as a medium severity vulnerability due to the potential for command injection through the webbrowser.open() API.

2

How do I fix CVE-2026-4786?

To fix CVE-2026-4786, ensure that your version of CPython is updated to the latest release that includes the necessary security patches.

3

What is the impact of CVE-2026-4786?

The impact of CVE-2026-4786 allows attackers to potentially inject commands into the webbrowser.open() API when using vulnerable versions of CPython.

4

Who is affected by CVE-2026-4786?

Users and developers using specific versions of CPython that utilize the webbrowser.open() API with URL input are affected by CVE-2026-4786.

5

What is the relationship between CVE-2026-4786 and CVE-2026-4519?

CVE-2026-4786 is an incomplete mitigation of CVE-2026-4519, indicating that the initial fix did not fully address the command injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203