Skip to main content
No exploitation reportedFix available

CVE-2026-0864

No exploitation reported by the sources we read.

  • Published2026-06-23
  • Fixed in3.14.7 · 3.13.15 · 3.12.14 · 3.11.16 · 3.10.21
  • WeaknessCWE-74

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-06-2318:17CVE publishedNVD

Versions per branch

NVD · OSV
Python
BranchAffectedFixed in
3.14≥ 3.14.0, < 3.14.73.14.7
3.13≥ 3.13.0, < 3.13.153.13.15
3.12≥ 3.12.0, < 3.12.143.12.14
3.11≥ 3.11.0, < 3.11.163.11.16
3.10< 3.10.213.10.21
3.15= 3.15.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As PSF, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Python Software Foundation CPythonother versions: not affected

    https://github.com/python/cpython

    Affected
    • < 3.10.21fixed in 3.10.21python
    • ≥ 3.11.0, < 3.11.16fixed in 3.11.16python
    • ≥ 3.12.0, < 3.12.14fixed in 3.12.14python
    • ≥ 3.13.0, < 3.13.15fixed in 3.13.15python
    • ≥ 3.14.0, < 3.14.7fixed in 3.14.7python
    • ≥ 3.15.0a1, < 3.15.0b4fixed in 3.15.0b4python

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-13

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • golang-github-prometheus-prometheusSUSE:Multi Linux Manager Tools SLE-15all versions · fixed in 3.13.2-150002.3.19.1
  • grafanaSUSE:Multi Linux Manager Tools SLE-15all versions · fixed in 12.4.10-150002.4.27.1
  • mgr-pushSUSE:RES-7:Update:Products:MultiLinuxManagerTools:Updateall versions · fixed in 5.2.5-70002.3.12.2
  • mgr-pushSUSE:Multi Linux Manager Tools SLE-15all versions · fixed in 5.2.5-150002.3.12.1
  • mgr-pushSUSE:Multi Linux Manager Tools SLE-12all versions · fixed in 5.2.5-120002.3.12.1
  • mgr-pushSUSE:Multi Linux Manager Tools RES-7all versions · fixed in 5.2.5-70002.3.12.2
  • platform-pythonTuxCare:CentOS:8.5all versions · fixed in 3.6.8-42.el8.tuxcare.els25and 7 other packages
  • platform-pythonTuxCare:CentOS:8.4all versions · fixed in 3.6.8-40.el8_4.tuxcare.els25and 7 other packages

290 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-0864 Red Hat Product Security93 known affected

    python: cpython: Python configparser: Configuration injection via crafted multi-line input

    exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · python3.12.src as a component of Red Hat Enterprise Linux 10 · python as a component of Red Hat Enterprise Linux 6 · +90 more

Full record on NVD

Fix

  1. Update Python to 3.14.7 · 3.13.15 · 3.12.14 · 3.11.16 · 3.10.21
  2. Workaround from the vendor Red Hat Product Security CVE-2026-0864 · 93 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-0864 · 93 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 4.0 vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-06-23
Last Modified
2026-10-25
NVD status
Analyzed
MSRC Title
Configuration Injection via Carriage Return (\r) in write() method
GitHub Advisory
GHSA-g345-7jg6-m22p

Frequently asked questions

What is CVE-2026-0864?

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.

Is CVE-2026-0864 actively exploited?

Active exploitation of CVE-2026-0864 has not been confirmed. Its EPSS score was 0.1% on 2026-11-17, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-0864?

CVE-2026-0864 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.

Running Python? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record