Skip to content
CVE PROGRAM SOURCE RECORD7.0 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.10.21affected
  • 3.11.0 to < 3.11.16affected
  • 3.12.0 to < 3.12.14affected
  • 3.13.0 to < 3.13.13affected
  • 3.14.0 to < 3.14.4affected
  • 3.15.0a1 to < 3.15.0a8affected

References