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…

CVE-2026-4519: Vulnerability in Python Software Foundation CPython

0
High
VulnerabilityCVE-2026-4519cvecve-2026-4519
Published: Fri Mar 20 2026 (03/20/2026, 15:08:32 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

Description

The webbrowser.open() API would accept leading dashes in the URL which could be handled as command line options for certain web browsers. New behavior rejects leading dashes. Users are recommended to sanitize URLs prior to passing to webbrowser.open().

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 11:42:49 UTC

Technical Analysis

The vulnerability in CPython's webbrowser.open() API arises because it accepts URLs starting with leading dashes, which some web browsers may interpret as command line options. This can lead to unexpected or unsafe behavior when opening URLs. The Python Software Foundation has updated the API to reject URLs with leading dashes. Users should sanitize input URLs to avoid passing potentially malicious strings. The vulnerability is tracked as CVE-2026-4519 with a CVSS 4.0 score of 7.0 (high severity).

Potential Impact

If exploited, this vulnerability could allow an attacker to influence how web browsers interpret URLs passed via the webbrowser.open() API, potentially leading to unintended command line option processing. This could affect the security context in which the browser operates. However, no known exploits are currently reported in the wild.

Mitigation Recommendations

No official patch or fix is currently documented. Users should sanitize URLs to ensure they do not start with leading dashes before passing them to webbrowser.open(). Monitor the Python Software Foundation advisories for updates or official fixes.

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-20T15:01:11.126Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69bd66a5e32a4fbe5fa5cd32

Added to database: 3/20/2026, 3:24:21 PM

Last enriched: 4/15/2026, 11:42:49 AM

Last updated: 4/29/2026, 5:03:11 AM

Views: 158

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