[security][HIGH] python3 3.12.12: CVE-2026-4519 require triage #1
Labels
No labels
auto-analysis
cve
llm-analysis
match-cpe-range
needs-triage
security
severity-high
source-niceos-scan
source-nvd
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/python3#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CVE triage request / Запрос на разбор CVE
Package / Пакет
python33.12.123.12.12-2toolchaincore-system-toolchain-teamHIGH7.01LLM recommendation / Рекомендация LLM
RU
Уязвимость в API webbrowser.open() пакета python3, позволяющая обрабатывать ведущие дефисы в URL как командные опции браузеров, что может привести к выполнению несанкционированных команд.
Немедленно обновить пакет python3 до версии, содержащей исправление, или временно запретить использование функции webbrowser.open() с непроверенными URL в приложениях дистрибутива.
Рекомендуемое действие:
needs_triageПодсказка по целевой версии:
-Проверки: 1. Проверить наличие уязвимости в текущей версии python3 (3.12.12) путем попытки вызвать webbrowser.open() с URL, начинающимся с дефиса (например, '-http://example.com').
2. Проверить, возвращает ли функция ошибку или корректно обрабатывает URL без дефисов.
3. Установить тестовую версию с патчем и убедиться, что поведение изменено (отказ в обработке URL с дефисами).
Риски: Взломщик может сформировать вредоносный URL с ведущим дефисом, который будет интерпретирован браузером как опция командной строки. Это может привести к запуску локальных утилит или скриптов с правами пользователя, вызвавшего функцию, что нарушает принцип наименьших привилегий и может привести к компрометации системы.
EN
Vulnerability in the webbrowser.open() API of the python3 package allowing leading dashes in URLs to be interpreted as command-line options for certain browsers, potentially leading to unauthorized command execution.
Immediately update the python3 package to a version containing the fix, or temporarily disable the use of the webbrowser.open() function with untrusted URLs in distribution applications.
Recommended action:
needs_triageTarget version hint:
-Tests: 1. Verify the vulnerability in the current python3 version (3.12.12) by attempting to call webbrowser.open() with a URL starting with a dash (e.g., '-http://example.com').
2. Verify if the function returns an error or handles URLs without dashes correctly.
3. Install a patched test version and ensure the behavior has changed (rejection of URLs with leading dashes).
Risks: An attacker could craft a malicious URL with a leading dash that is interpreted by the browser as a command-line option. This could lead to the execution of local utilities or scripts with the privileges of the user who called the function, violating the principle of least privilege and potentially compromising the system.
CVE candidates from NVD/CPE
Descriptions
CVE-2026-4519
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().
Maintainer checklist
affected,fixed,not_affected,false_positive,deferred, ornot_in_cloud_image.niceos_cve_triageentry.NICE-SAadvisory if a security update is shipped.Machine metadata
Triage result for NiceOS 5.2:
python3 3.12.12-2should be treated as affected byCVE-2026-4519unless the downstream package already carries the upstreamgh-143930webbrowser patch.This issue affects
webbrowser.open(): URLs beginning with-could be passed to selected browsers in a way that may be interpreted as command-line options. The fixed behavior is to reject URLs with leading dashes.NiceOS policy decision:
3.12.x.3.13.x/3.14.xfor this security update.python3 3.12.13plus the upstreamCVE-2026-4519/gh-143930backport patch, unless a newer official3.12.xsecurity release containing this fix is available.3.12.12and bump the RPM release with the same backported patch.Important note:
Python 3.12.13is an official security release for the legacy3.12series, but it predates the publicCVE-2026-4519publication and does not appear to list this CVE in its release security content. Therefore3.12.13alone should not be assumed to fix this issue. The downstream package must either include thegh-143930fix explicitly or update to a later3.12.xrelease that includes it.Suggested policy entry:
Validation before closing:
Close this issue as fixed only after
rpms/python3,Core/python3, andniceos-package-indexconfirm the fixed RPM build, and the leading-dashwebbrowser.open()test rejects malicious input.