# CVE-2026-4786: Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()

- Severity: High 7.0 (CVSS:4.0, scored by PSF) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-02)
- Published: 2026-04-13T21:52:19.036Z
- Modified: 2026-11-30T15:16:48.153Z
- Also known as: PSF-0000-CVE-2026-4786, BIT-LIBPYTHON-2026-4786, BIT-PYTHON-2026-4786, BIT-PYTHON-MIN-2026-4786, PSF-2026-17
- Weaknesses: CWE-77, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PSF

## Description

Mitgation of CVE-2026-4519 was incomplete. If the URL contained "%action" the mitigation could be bypassed for certain browser types the "webbrowser.open()" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0a1 before 3.14.5rc1; from 3.15.0a1 before 3.15.0b1
- python3.12: no versions given (not affected: from 0:3.12.12-3.el10_1.3 before *; from 0:3.12.13-2.el10_2 before *; from 0:3.12.9-2.el10_0.9 before *; from 0:3.12.13-2.el8_10 before *; from 0:3.12.12-4.el9_7.3 before *; from 0:3.12.13-2.el9_8 before *; from 0:3.12.1-4.el9_4.13 before *; from 0:3.12.9-1.el9_6.8 before *)
- python3.14: no versions given (not affected: from 0:3.14.4-2.el10_2 before *; from 0:3.14.5-1.el10_2 before *; from 0:3.14.4-2.el9_8 before *; from 0:3.14.5-1.el9_8 before *)
- python: no versions given (not affected: from 0:2.6.6-70.el6_10.4 before *; from 0:2.7.5-94.el7_9.5 before *)
- python3: no versions given (not affected: from 0:3.6.8-21.el7_9.6 before *; from 0:3.6.8-76.el8_10 before *; from 0:3.6.8-39.el8_4.11 before *; from 0:3.6.8-47.el8_6.13 before *; from 0:3.6.8-51.el8_8.15 before *)
- python3.11: no versions given (not affected: from 0:3.11.13-7.el8_10 before *; from 0:3.11.2-2.el8_8.10 before *; from 0:3.11.13-5.3.el9_7 before *; from 0:3.11.13-9.el9_8 before *; from 0:3.11.2-2.el9_2.12 before *; from 0:3.11.7-1.el9_4.13 before *; from 0:3.11.11-2.el9_6.7 before *)
- python3.9: no versions given (not affected: from 0:3.9.25-3.el9_7.3 before *; from 0:3.9.25-7.el9_8 before *; from 0:3.9.10-4.el9_0.11 before *; from 0:3.9.16-1.el9_2.14 before *; from 0:3.9.18-3.el9_4.13 before *; from 0:3.9.21-2.el9_6.6 before *)
- rhpam-7/rhpam-businesscentral-monitoring-rhel8: no versions given (not affected: from 7.13.5-4.1777325677 before *)
- rhpam-7/rhpam-businesscentral-rhel8: no versions given (not affected: from 7.13.5-4.1777325711 before *)
- rhpam-7/rhpam-controller-rhel8: no versions given (not affected: from 7.13.5-4.1777325710 before *)
- rhpam-7/rhpam-dashbuilder-rhel8: no versions given (not affected: from 7.13.5-3.1777325680 before *)
- rhpam-7/rhpam-kieserver-rhel8: no versions given (not affected: from 7.13.5-4.1777325709 before *)
- rhpam-7/rhpam-process-migration-rhel8: no versions given (not affected: from 7.13.5-4.1777325680 before *)
- rhpam-7/rhpam-smartrouter-rhel8: no versions given (not affected: from 7.13.5-4.1777325708 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1780681984 before *; from 1782352950 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1782352919 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1782353093 before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1782352847 before *)
- rhelai3/bootc-aws-cuda-rhel9: no versions given (not affected: from 1776871984 before *)
- rhelai3/bootc-azure-cuda-rhel9: no versions given (not affected: from 1776871985 before *)
- rhelai3/bootc-azure-rocm-rhel9: no versions given (not affected: from 1776872005 before *)
- rhelai3/bootc-cuda-rhel9: no versions given (not affected: from 1776773390 before *)
- rhelai3/bootc-gcp-cuda-rhel9: no versions given (not affected: from 1776871987 before *)
- rhelai3/bootc-rocm-rhel9: no versions given (not affected: from 1776773505 before *)
- rhelai3/disk-image-cuda-rhel9: no versions given (not affected: from 1776938871 before *)
- python3-13-main: no versions given (not affected: from 3.13.13-1.1.hum1 before *)
- python3-11-main: no versions given (not affected: from 3.11.15-4.hum1 before *)
- python3-12-main: no versions given (not affected: from 3.12.13-3.hum1 before *)
- python3-14-main: no versions given (not affected: from 3.14.4-2.hum1 before *)
- rhui5/cds-kubernetes-tp-rhel9: no versions given (not affected: from 1777459441 before *)
- rhui5/installer-tp-rhel9: no versions given (not affected: from 1777454300 before *)
- rhui5/rhua-tp-rhel9: no versions given (not affected: from 1777459504 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1779798159 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1779798164 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1779798165 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1779798222 before *)
- python2: no versions given
- python36: no versions given
- python36:3.6/python36: no versions given
- python38: no versions given
- python39: no versions given
- https://github.com/python/cpython: all versions; before c5767a72838a8dda9d6dc5d3558075b055c56bca; before d22922c8a7958353689dc4763dd72da2dea03fff; before f4654824ae0850ac87227fb270f9057477946769; before 28b4ad38067bbdad34edfcd03ad2de5f06387e53; before d6d68494be70bdbda20f89f83801ba52ec37daa4; before a4d3edf3a6ecfde504d02126410d2a65a859b744
- python python: before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5; 3.15.0
- redhat ai_inference_server: from 3.2.0 before 3.2.2; from 3.3.0 before 3.3.5
- redhat hardened_images: no versions given
- redhat openshift_ai: from 3.4 before 3.4.3
- redhat openshift_container_platform: from 4.10 up to 4.12.103
- redhat update_infrastructure: from 5.0 before 5.2
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0; 10.0
- redhat enterprise_linux_ai: 3.0; 3.3
- redhat enterprise_linux_els: 7.0
- redhat enterprise_linux_eus: 8.4; 9.6; 10.0
- redhat enterprise_linux_for_update_services_for_sap_solutions: 9.2
- redhat enterprise_linux_server_tus: 8.6
- redhat enterprise_linux_server_update_services_for_sap_solutions: 8.6
- redhat enterprise_linux_tus: 8.8
- redhat enterprise_linux_update_services_for_sap_solutions: 8.8
- libpython (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5
- python (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5
- python-min (Bitnami): before 3.10.21; from 3.11.0 before 3.11.16; from 3.12.0 before 3.12.14; from 3.13.0 before 3.13.14; from 3.14.0 before 3.14.5

## Every score

- PSF: CVSS:4.0 7.0 High `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/python/cpython/pull/148170> (issue-tracking, patch, vendor-advisory, web)
- <https://github.com/python/cpython/issues/148169> (issue-tracking, report, vendor-advisory, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/JQDUNJVB4AQNTJECSUKOBDU3XCJIPSE5/> (advisory, mailing-list, vendor-advisory, web)
- <https://github.com/python/cpython/commit/c5767a72838a8dda9d6dc5d3558075b055c56bca> (fix, patch, web)
- <https://github.com/python/cpython/commit/d22922c8a7958353689dc4763dd72da2dea03fff> (fix, patch, web)
- <https://github.com/python/cpython/commit/f4654824ae0850ac87227fb270f9057477946769> (fix, patch, web)
- <https://github.com/python/cpython/commit/28b4ad38067bbdad34edfcd03ad2de5f06387e53> (fix, patch, web)
- <https://github.com/python/cpython/commit/d6d68494be70bdbda20f89f83801ba52ec37daa4> (fix, patch, web)
- <https://github.com/python/cpython/commit/a4d3edf3a6ecfde504d02126410d2a65a859b744> (fix, patch, web)
- <https://access.redhat.com/security/cve/CVE-2026-4786> (third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2458049> (issue-tracking, third-party-advisory, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4786.json> (third-party-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22144> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19589> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:35838> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:13812> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:16699> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10711> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19064> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19019> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:28581> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:11077> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:11062> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10950> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19590> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17619> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19549> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:26187> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19571> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19570> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:13692> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:21682> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:14653> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:17525> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19576> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:14652> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:14656> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10949> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10774> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10745> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19216> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19175> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19177> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19176> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:28247> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:25096> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30078> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30089> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30088> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:30087> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10140> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10141> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:8822> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:8824> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:10117> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:9228> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:11768> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:21275> (third-party-advisory, vendor-advisory, web)
- <https://github.com/python/cpython/tags> (product, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-4786> (web)

## Sources

- CVE List: [CVE-2026-4786](https://www.cve.org/CVERecord?id=CVE-2026-4786), CVE Terms of Use, modified 2026-08-13
- Python Software Foundation: [PSF-0000-CVE-2026-4786](https://osv.dev/vulnerability/PSF-0000-CVE-2026-4786), CC-BY-4.0, modified 2026-07-06
- Python Software Foundation: [PSF-2026-17](https://osv.dev/vulnerability/PSF-2026-17), CC-BY-4.0, modified 2026-08-05
- NVD: [CVE-2026-4786](https://nvd.nist.gov/vuln/detail/CVE-2026-4786), Public domain, modified 2026-11-30
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-4786](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-4786), Apache-2.0, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-4786](https://osv.dev/vulnerability/BIT-PYTHON-2026-4786), Apache-2.0, modified 2026-08-19
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-4786](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-4786), Apache-2.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-4786 · Whole record: https://cve.day/CVE-2026-4786.json · Rebuilt by cve.day 2026-11-30T15:17:18.171Z
