What’s Vulnerable › Vulnerabilities

CVE-2026-4519: webbrowser.open() allows leading dashes in URLs

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().

Affected products

How to fix

Upgrade to a fixed version: Python 3.13.13, 3.14.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-4519 or the next vulnerability affects your stack