CVE-2026-4786: Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()
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.
Security readout for executives and security teams
Plain-English summary
CPython’s earlier fix for CVE-2026-4519 was incomplete. In applications that open attacker-influenced URLs, a specially formed URL may cause certain browser configurations to pass unintended commands to a shell. Successful abuse requires user interaction, but could compromise confidentiality and integrity and cause limited disruption.
Executive priority
Treat as a high-priority targeted remediation, not evidence of an internet-wide emergency. Quickly identify applications combining vulnerable CPython, webbrowser.open(), untrusted URLs, and affected browser configurations. Patch exposed systems first and reduce privileges while remediation proceeds.
Technical view
CVE-2026-4786 is a command-injection bypass involving %action expansion in webbrowser.open(). For certain browser types, crafted URL content can reach the underlying shell despite the earlier mitigation. It is rated CVSS 3.1 7.1: network-reachable, high complexity, no privileges required, user interaction required, with high confidentiality and integrity impact.
Likely exposure
Exposure depends on both runtime and application behavior. Prioritize systems using affected CPython builds where untrusted or remotely supplied URLs reach webbrowser.open(), particularly with shell-backed browser configurations. The supplied version data does not define complete affected or fixed ranges, so confirm exact package status through Python or distribution advisories.
Exploitation context
The source bundle does not report CISA KEV inclusion or active exploitation. Exploitation requires a vulnerable application flow, a relevant browser type, attacker-controlled URL content containing %action, and user interaction. These prerequisites reduce broad exploitability, but successful command injection could execute with the application user’s permissions.
Researcher notes
This is an incomplete mitigation of CVE-2026-4519, mapped to CWE-77 and CWE-88. Analysis should distinguish CPython library presence from reachable vulnerable behavior. The bundle references several patches but does not map them to definitive fixed release numbers. No active-exploitation claim is supported.
Mitigation direction
Apply the applicable CPython or operating-system vendor security update addressing CVE-2026-4786.
Review vendor advisories to determine fixed versions; the supplied affected-version list is incomplete.
Prevent untrusted URLs from reaching webbrowser.open() until affected runtimes are updated.
Avoid shell-backed custom browser configurations where operationally feasible.
Restrict the application account’s privileges to limit impact from command execution.
Validation and detection
Inventory CPython versions and distribution packages on systems invoking webbrowser.open().
Identify application paths that pass remote, user-controlled, or indirectly controlled URLs to webbrowser.open().
Check browser registrations and configurations for command templates that invoke an underlying shell.
Confirm installed packages include the applicable vendor fix or referenced CPython patch.
Run a safe regression test verifying %action remains literal and cannot trigger command execution.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-77: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
50Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.