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
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.
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
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
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.
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 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.
External Links
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.