Read the docs
TI-2025-00794 Aliases CVE-2025-0938GHSA-5qjr-cj9f-phrx

URL parser allowed square brackets in domain names

Priority LOW 31CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 10 fixed, 3 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01545 75th percentileScored 2026-11-07
Fix Partial CPython (Python Software Foundation): 3.9.22, 3.10.17, 3.11.12 +3Red Hat: 6 advisoriesRed Hat: 10 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Python Software FoundationCPythonbefore 3.9.22; 3.10.0 to before 3.10.17; 3.11.0 to before 3.11.12; 3.12.0 to before 3.12.9; 3.13.0 to before 3.13.2; 3.14.0a1 to before 3.14.0a53.9.22, 3.10.17, 3.11.12, 3.12.9, 3.13.2, 3.14.0a5Patch availableCNA
  • CPython VendorPython Software Foundation Affected before 3.9.22; 3.10.0 to before 3.10.17; 3.11.0 to before 3.11.12; 3.12.0 to before 3.12.9; 3.13.0 to before 3.13.2; 3.14.0a1 to before 3.14.0a5 Fixed in 3.9.22, 3.10.17, 3.11.12, 3.12.9, 3.13.2, 3.14.0a5 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*——python-pillow
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions — — ·python-pillow

Remediation

  • Fix · CNA CPython (Python Software Foundation) Fixed in 3.9.22, 3.10.17, 3.11.12, 3.12.9, 3.13.2, 3.14.0a5

Red Hat 6 advisories

  • RHSA-2026:5588 Released 2026-03-24 · Red Hat rating Moderate
    python3 security update
    • Red Hat Enterprise Linux AppStream (v. 8) platform-python-3.6.8-74.el8_10, platform-python-debug-3.6.8-74.el8_10, platform-python-devel-3.6.8-74.el8_10 +3
    • Red Hat Enterprise Linux BaseOS (v. 8) platform-python-3.6.8-74.el8_10, python3-3.6.8-74.el8_10, python3-libs-3.6.8-74.el8_10 +1
  • RHSA-2025:23530 Released 2025-12-18 · Red Hat rating Important
    python39:3.9 security update
    • Red Hat Enterprise Linux AppStream (v. 8) PyYAML-5.4.1-1.module+el8.9.0+19644+d68f775d.src::python39:3.9, mod_wsgi-4.7.1-7.module+el8.10.0+23075+0aa18782.1.src::python39:3.9, numpy-1.19.4-3.module+el8.9.0+19644+d68f775d.src::python39:3.9 +47
    • Red Hat Enterprise Linux CRB (v. 8) Cython-0.29.21-5.module+el8.9.0+19644+d68f775d.src::python39-devel:3.9, pybind11-2.7.1-1.module+el8.9.0+19644+d68f775d.src::python39-devel:3.9, pytest-6.0.2-2.module+el8.9.0+19644+d68f775d.src::python39-devel:3.9 +33
  • RHSA-2025:8385 Released 2025-06-02 · Red Hat rating Moderate
    A Subscription Management tool for finding and reporting Red Hat product usage
    • Red Hat Discovery 1.14 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
Show 3 more Red Hat advisories
  • RHSA-2025:7107 Released 2025-05-13 · Red Hat rating Moderate
    python3.12 security update
    • Red Hat Enterprise Linux AppStream (v. 9) python3.12-3.12.9-1.el9, python3.12-devel-3.12.9-1.el9, python3.12-libs-3.12.9-1.el9 +1
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3.12-3.12.9-1.el9, python3.12-debug-3.12.9-1.el9, python3.12-idle-3.12.9-1.el9 +2
  • RHSA-2025:6977 Released 2025-05-13 · Red Hat rating Moderate
    python3.9 security update
    • Red Hat Enterprise Linux AppStream (v. 9) python-unversioned-command-3.9.21-2.el9, python3-devel-3.9.21-2.el9, python3-tkinter-3.9.21-2.el9
    • Red Hat Enterprise Linux BaseOS (v. 9) python3-3.9.21-2.el9, python3-libs-3.9.21-2.el9, python3.9-3.9.21-2.el9
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3-3.9.21-2.el9, python3-debug-3.9.21-2.el9, python3-idle-3.9.21-2.el9 +2
  • RHSA-2025:7109 Released 2025-05-13 · Red Hat rating Moderate
    python3.11 security update
    • Red Hat Enterprise Linux AppStream (v. 9) python3.11-3.11.11-2.el9, python3.11-devel-3.11.11-2.el9, python3.11-libs-3.11.11-2.el9 +1
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3.11-3.11.11-2.el9, python3.11-debug-3.11.11-2.el9, python3.11-idle-3.11.11-2.el9 +2

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet
Red Hat Discovery 1.14Fixed RHSA-2025:8385
Red Hat Enterprise Linux AppStream (v. 10)Fixed—
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:23530, RHSA-2026:5588
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:6977, RHSA-2025:7107, RHSA-2025:7109
Red Hat Enterprise Linux BaseOS (v. 10)Fixed—
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2026:5588
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2025:6977
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2025:23530
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed—
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)Fixed RHSA-2025:6977, RHSA-2025:7107, RHSA-2025:7109

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-0938
  2. 2026-10-03 Alias added: GHSA-5qjr-cj9f-phrx

References

  • TI-2024-07037 Quadratic complexity parsing cookies with backslashes CVSS 3.1HIGH 7.5
  • TI-2024-11791 Bypass extraction filter to modify file metadata outside extraction directory CVSS 3.1MEDIUM 5.3
  • TI-2024-00411 Quoted zip-bomb protection for zipfile CVSS 3.1MEDIUM 6.2
  • TI-2026-13296 `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching CVSS 4.0MEDIUM 6.0
  • TI-2024-06422 Email header injection due to unquoted newlines CVSS 3.1MEDIUM 5.5
  • TI-2026-04606 Possible to hijack modules in current working directory CVSS 4.0MEDIUM 5.6
See all 83 →

Sources