Read the docs
TI-2026-00645 Aliases CVE-2026-0864GHSA-g345-7jg6-m22p

Configuration Injection via Carriage Return (\r) in write() method

Priority LOW 18CWE-74Published · Updated

Key facts

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

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

Summary

When using the "configparser" module to write configuration files containing multi-line text values with carriage return characters (\r) the resulting file could be injected with unexpected keys and values if the attacker controls the written value.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00126 2nd percentileScored 2026-11-07
Fix Partial CPython (Python Software Foundation): 3.10.21, 3.11.16, 3.12.14 +3Red Hat: 10 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.10.21; 3.11.0 to before 3.11.16; 3.12.0 to before 3.12.14; 3.13.0 to before 3.13.15; 3.14.0 to before 3.14.7; 3.15.0a1 to before 3.15.0b43.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, 3.15.0b4Patch availableCNA
  • CPython VendorPython Software Foundation Affected before 3.10.21; 3.11.0 to before 3.11.16; 3.12.0 to before 3.12.14; 3.13.0 to before 3.13.15; 3.14.0 to before 3.14.7; 3.15.0a1 to before 3.15.0b4 Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, 3.15.0b4 Patch available CNA

CPE configurations NVD · 12

CPEVersionsRoleVendor
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*before 3.10.21; 3.11.0 to before 3.11.16; 3.12.0 to before 3.12.14; 3.13.0 to before 3.13.15; 3.14.0 to before 3.14.7Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*3.15.0 alpha1Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*3.15.0 alpha2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*3.15.0 alpha3Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*3.15.0 alpha4Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*3.15.0 alpha5Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*3.15.0 alpha6Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*3.15.0 alpha7Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*3.15.0 alpha8Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*3.15.0 beta1Vulnerablepython-pillow
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions before 3.10.21; 3.11.0 to before 3.11.16; 3.12.0 to before 3.12.14; 3.13.0 to before 3.13.15; 3.14.0 to before 3.14.7 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:* Versions 3.15.0 alpha1 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:* Versions 3.15.0 alpha2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:* Versions 3.15.0 alpha3 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:* Versions 3.15.0 alpha4 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:* Versions 3.15.0 alpha5 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:* Versions 3.15.0 alpha6 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:* Versions 3.15.0 alpha7 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:* Versions 3.15.0 alpha8 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:* Versions 3.15.0 beta1 Vulnerable ·python-pillow
Show 2 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*3.15.0 beta2Vulnerablepython-pillow
cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*3.15.0 beta3Vulnerablepython-pillow
  • cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:* Versions 3.15.0 beta2 Vulnerable ·python-pillow
  • cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:* Versions 3.15.0 beta3 Vulnerable ·python-pillow

Remediation

  • Fix · CNA CPython (Python Software Foundation) Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, 3.15.0b4

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Python Software Foundation CPython 3.10.21, 3.11.16 and 4 more versions

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-10297 tarfile extraction filter bypass allows escaping the destination directoryPriority MEDIUM 41
    • TI-2026-10316 tarfile opened in streaming mode mishandles EOFPriority LOW 37

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Exploit IntelligenceAffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux command line assistantAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)Affected—
Self-service automation portal 2AffectedNo fix yet: Fix deferred
Not affected: 5 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images
  • Red Hat OpenShift Virtualization 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-0864
  2. 2026-10-03 Alias added: GHSA-g345-7jg6-m22p
  3. 2026-10-07 Affected versions changed · Red Hat
  4. 2026-11-06 Affected versions changed · Red Hat

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