oss-sec mailing list archives

Fwd: [CPython][CVE-2026-4519] webbrowser.open() API allows leading dashes


From: Alan Coopersmith <alan.coopersmith () oracle com>
Date: Fri, 20 Mar 2026 12:00:10 -0700




-------- Forwarded Message --------
Subject: [Security-announce][CVE-2026-4519] webbrowser.open() API allows leading dashes
Date:   Fri, 20 Mar 2026 15:03:34 +0000
From:   Seth Larson <seth () python org>
Reply-To:       security-sig () python org
To:     security-announce () python org



There is a MEDIUM severity vulnerability affecting CPython.

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

Please see the linked CVE ID for the latest information on affected versions:

* https://www.cve.org/CVERecord?id=CVE-2026-4519
* https://github.com/python/cpython/pull/143931
_______________________________________________
Security-announce mailing list -- security-announce () python org
https://mail.python.org/mailman3//lists/security-announce.python.org


Current thread: