Red Hat VEX
RHVEX-CVE-2026-4786
python: cpython: Python: Arbitrary code execution via command injection in webbrowser.open() API
Details
A flaw was found in the Python webbrowser.open() API. If a specially crafted URL containing "%action" is processed, an attacker could bypass a previous mitigation for CVE-2026-4519. This bypass allows for command injection into the underlying shell, potentially leading to arbitrary code execution.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | Cython | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | PyYAML | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | babel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | mod_wsgi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | numpy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-asn1crypto | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-cffi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-chardet | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-cryptography | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-idna | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-jinja2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-lxml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-markupsafe | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-ply | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-psutil | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-psycopg2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-pycparser | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-pysocks | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-requests | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-six | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-toml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-urllib3 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-Cython | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-asn1crypto | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-babel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-cffi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-chardet | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-cryptography | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-debug | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-idle | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-idna | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-jinja2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-lxml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-markupsafe | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-mod_wsgi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-numpy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-numpy-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-numpy-f2py | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-pip | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-pip-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-ply | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-psutil | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-psycopg2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-psycopg2-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-psycopg2-tests | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-pycparser | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-pysocks | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-pytz | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-pyyaml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-requests | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-rpm-macros | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-setuptools | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-setuptools-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-six | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-urllib3 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-wheel-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-cffi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-chardet | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-cryptography | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-idle | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-idna | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-lxml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-mod_wsgi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-numpy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-numpy-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-numpy-f2py | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-pip | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-pip-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-ply | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-psutil | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-psycopg2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-psycopg2-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-psycopg2-tests | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-pycparser | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-pysocks | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-pyyaml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-requests | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-rpm-macros | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-setuptools | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-setuptools-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-six | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-toml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-urllib3 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-wheel-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3x-pip | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3x-setuptools | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3x-six | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | pytz | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2026-4786
- https://bugzilla.redhat.com/show_bug.cgi?id=2458049
- https://www.cve.org/CVERecord?id=CVE-2026-4786
- https://nvd.nist.gov/vuln/detail/CVE-2026-4786
- https://github.com/python/cpython/issues/148169
- https://github.com/python/cpython/pull/148170
- https://mail.python.org/archives/list/[email protected]/thread/JQDUNJVB4AQNTJECSUKOBDU3XCJIPSE5/