webbrowser.open() APIはURLの先頭にダッシュを許容していましたが、これは特定のウェブブラウザでコマンドラインオプションとして扱われる可能性がありました。新しい動作では先頭のダッシュを拒否します。ユーザーはwebbrowser.open()に渡す前にURLをサニタイズすることを推奨します。
Python Software Foundation Python 3.13.13 未満 Python 3.14.0 以上 3.14.4 未満 Python 3.15.0
本脆弱性の影響を受ける製品の詳細については、ベンダ情報および参考情報をご確認ください。
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。
Openwall Openwall mailing list archives : oss-security - Fwd: [CPython][CVE-2026-4519] webbrowser.open() API allows leading dashes Python Software Foundation Mailing Lists : Mailman 3 [CVE-2026-4519] webbrowser.open() API allows leading dashes - Security-announce - python.org
不適切な入力確認(CWE-20) [その他]
CVE-2026-4519
National Vulnerability Database (NVD) : CVE-2026-4519 関連文書 : Reject leading dashes in webbrowser.open() Issue #143930 python/cpython 関連文書 : [3.11] gh-143930: Tweak the exception message and increase test cover… python/cpython@96fc504 GitHub 関連文書 : gh-143930: Reject leading dashes in webbrowser URLs python/cpython@82a24a4 GitHub 関連文書 : [3.10] gh-143930: Tweak the exception message and increase test cover… python/cpython@591ed89 GitHub 関連文書 : [3.12] gh-143930: Tweak the exception message and increase test cover… python/cpython@cc02351 GitHub 関連文書 : [3.12] gh-143930: Reject leading dashes in webbrowser URLs (GH-146360) python/cpython@cbba611 GitHub 関連文書 : gh-143930: Tweak the exception message and increase test coverage (GH… python/cpython@3681d47 GitHub 関連文書 : [3.13] gh-143930: Tweak the exception message and increase test cover… python/cpython@89bfb8e GitHub 関連文書 : [3.10] gh-143930: Reject leading dashes in webbrowser URLs (GH-143931… python/cpython@ad4d5ba GitHub 関連文書 : gh-143930: Reject leading dashes in webbrowser URLs by sethmlarson Pull Request #143931 python/cpython GitHub 関連文書 : [3.13] gh-143930: Reject leading dashes in webbrowser URLs (GH-146215) python/cpython@43fe06b GitHub 関連文書 : [3.11] gh-143930: Reject leading dashes in webbrowser URLs (GH-143931… python/cpython@ceac1ef GitHub 関連文書 : [3.14] gh-143930: Tweak the exception message and increase test cover… python/cpython@594b5a0 GitHub 関連文書 : [3.14] gh-143930: Reject leading dashes in webbrowser URLs (GH-146214) python/cpython@9669a91 GitHub
[2026年04月17日] 掲載