CVE-2026-4786: CWE-77 in Python Software Foundation CPython
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-4786) in CPython is a command injection issue (CWE-77) related to the webbrowser.open() API. The problem stems from an incomplete fix for CVE-2026-4519, where URLs containing "%action" can bypass the mitigation on certain browsers, enabling command injection into the shell. The vulnerability is present in CPython versions 3.14.0a1 and 3.15.0a1. The CVSS 4.0 score is 7.0, indicating high severity, with attack vector local, low attack complexity, partial attack type, no privileges required, user interaction required, and high impact on confidentiality and integrity. No official patch or remediation level has been published yet.
Potential Impact
Successful exploitation could allow an attacker to inject commands into the underlying shell via the webbrowser.open() API when processing specially crafted URLs containing "%action". This could lead to unauthorized command execution with potential impact on confidentiality and integrity of the affected system. The vulnerability requires local access and user interaction, limiting remote exploitation scenarios.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level has been published by the Python Software Foundation, users should monitor for updates and avoid processing untrusted URLs containing "%action" with the webbrowser.open() API. Restricting usage or applying additional input validation may reduce risk until an official fix is available.
CVE-2026-4786: CWE-77 in Python Software Foundation CPython
Description
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.
CVSS v4.0
Score 7.0high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-4786) in CPython is a command injection issue (CWE-77) related to the webbrowser.open() API. The problem stems from an incomplete fix for CVE-2026-4519, where URLs containing "%action" can bypass the mitigation on certain browsers, enabling command injection into the shell. The vulnerability is present in CPython versions 3.14.0a1 and 3.15.0a1. The CVSS 4.0 score is 7.0, indicating high severity, with attack vector local, low attack complexity, partial attack type, no privileges required, user interaction required, and high impact on confidentiality and integrity. No official patch or remediation level has been published yet.
Potential Impact
Successful exploitation could allow an attacker to inject commands into the underlying shell via the webbrowser.open() API when processing specially crafted URLs containing "%action". This could lead to unauthorized command execution with potential impact on confidentiality and integrity of the affected system. The vulnerability requires local access and user interaction, limiting remote exploitation scenarios.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level has been published by the Python Software Foundation, users should monitor for updates and avoid processing untrusted URLs containing "%action" with the webbrowser.open() API. Restricting usage or applying additional input validation may reduce risk until an official fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PSF
- Date Reserved
- 2026-03-24T19:25:48.269Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dd67d182d89c981f6a0138
Added to database: 4/13/2026, 10:01:53 PM
Last enriched: 6/10/2026, 7:54:03 PM
Last updated: 6/13/2026, 12:19:42 AM
Views: 194
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.