Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 94%

CVE-2026-4786: CWE-77 in Python Software Foundation CPython

0
High
VulnerabilityCVE-2026-4786cvecve-2026-4786cwe-77
Published: Mon Apr 13 2026 (04/13/2026, 21:52:19 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Affected versions
3.14.0a13.15.0a1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 19:54:03 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses