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.3%top 79%

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

0
High
VulnerabilityCVE-2026-4786cvecve-2026-4786cwe-77
Published: 04/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

cpython
pkg:pypi/cpython
Affected versions
=3.14.0=3.15.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 09:06:22 UTC

Technical Analysis

CVE-2026-4786 is a high-severity vulnerability in Python's CPython webbrowser.open() API that allows command injection through crafted URLs containing "%action". This vulnerability is a bypass of the incomplete mitigation for CVE-2026-4519 and affects certain browser types. The underlying issue is improper handling of shell commands leading to arbitrary code execution. Red Hat has issued a security advisory and update for their Extended Life Cycle Support (ELS) Python packages to remediate this vulnerability.

Potential Impact

Successful exploitation can lead to arbitrary code execution on the affected system via command injection in the webbrowser.open() API. This elevates the risk of unauthorized code execution with potential consequences depending on the context in which the API is used. The CVSS 4.0 base score is 7.0, indicating high severity with local attack vector, low attack complexity, partial attack type, no privileges required, user interaction required, and high impact on confidentiality and integrity.

Mitigation Recommendations

A security update fixing CVE-2026-4786 is available from Red Hat for their Extended Life Cycle Support (ELS) Python packages. Users of affected Red Hat Enterprise Linux 6 ELS systems should apply the update as described in the Red Hat advisory (RHSA-2026:22144). No cloud service remediation applies as this is not a cloud service. Patch status is confirmed by the vendor advisory. Users should follow the vendor's update instructions at https://access.redhat.com/articles/11258 to remediate this vulnerability.

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
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-4786","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22144","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19589","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13812","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16699","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10711","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19064","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19019","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28581","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11077","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11062","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10950","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19590","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17619","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19549","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26187","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19571","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19570","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13692","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21682","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14653","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17525","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19576","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14652","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14656","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10949","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10774","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10745","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19216","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19175","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19177","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19176","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28247","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25096","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30078","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30089","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30088","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30087","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10140","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10141","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8822","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8824","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10117","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9228","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:11768","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21275","vendor":"Red Hat"}]

Threat ID: 69dd67d182d89c981f6a0138

Added to database: 04/13/2026, 22:01:53 UTC

Last enriched: 07/16/2026, 09:06:22 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 245

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.

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