CVE-2026-0864: Configuration Injection via Carriage Return (\r) in write() method
Noroxi assessment
Priority: Monitor (action score 16/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. Administrator privileges are required. No special conditions are required; it is repeatable.
- Fixed version: Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14; azl3 python-py 1.11.0-1 on Azure Linux 3.0 Release Notes; azl3 python3 3.12.9-14 on Azure Linux 3.0 3.12.9-14.
Low priority for now. Upgrade to Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14; azl3 python-py 1.11.0-1 on Azure Linux 3.0 Release Notes; azl3 python3 3.12.9-14 on Azure Linux 3.0 3.12.9-14 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- openSUSE-SU-2026:11426-1
- openSUSE-SU-2026:11427-1
- openSUSE-SU-2026:11428-1
- openSUSE-SU-2026:11429-1
- openSUSE-SU-2026:11534-1
- openSUSE-SU-2026:21595-1
- SUSE-SU-2026:23159-1
- SUSE-SU-2026:23191-1
- SUSE-SU-2026:23212-1
- SUSE-SU-2026:23303-1
- SUSE-SU-2026:23743-1
- SUSE-SU-2026:3530-1
- SUSE-SU-2026:3548-1
- SUSE-SU-2026:3560-1
- SUSE-SU-2026:3569-1
- SUSE-SU-2026:3601-1
- SUSE-SU-2026:3635-1
- SUSE-SU-2026:3649-1
- SUSE-SU-2026:3855-1
- SUSE-SU-2026:3862-1
- Published
- Jun 23, 2026
- Updated
- Oct 25, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-74
Report tools
Action score
16
Monitor
Low priority for now.
- CVSS
- 16 / 40 · 4.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · PSF
- 4.1
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| python | python | cpe:2.3:a:python:python |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- python pythonbefore 3.10.21
- python python3.11.0 and later · before 3.11.16
- python python3.12.0 and later · before 3.12.14
- python python3.13.0 and later · before 3.13.15
- python python3.14.0 and later · before 3.14.7
- python python3.15.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.
Python Software Foundation CPython
- before 3.10.21affected · python
- 3.11.0 and later · before 3.11.16affected · python
- 3.12.0 and later · before 3.12.14affected · python
- 3.13.0 and later · before 3.13.15affected · python
- 3.14.0 and later · before 3.14.7affected · python
- 3.15.0a1 and later · before 3.15.0b4affected · python
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.21 | python3 | before 3.12.14-r0 | 3.12.14-r0 |
| Alpine:v3.24 | python3 | before 3.14.7-r0 | 3.14.7-r0 |
| Debian:12 | pypy3 | from 0 | — |
| Debian:12 | python3.11 | from 0 | — |
| Debian:13 | python3.13 | before 3.13.5-2+deb13u5 | 3.13.5-2+deb13u5 |
| Debian:14 | pypy3 | before 8.0.0+dfsg-1 | 8.0.0+dfsg-1 |
| Debian:14 | python3.14 | before 3.14.7-1 | 3.14.7-1 |
| openSUSE:Leap 16.0 | python313 | before 3.13.14-160000.2.1 | 3.13.14-160000.2.1 |
| openSUSE:Leap 16.0 | python313-core | before 3.13.14-160000.2.1 | 3.13.14-160000.2.1 |
| openSUSE:Leap 16.0 | python313-documentation | before 3.13.14-160000.2.1 | 3.13.14-160000.2.1 |
| openSUSE:Leap 16.0 | python313-nogil | before 3.13.14-160000.2.1 | 3.13.14-160000.2.1 |
| openSUSE:Leap 16.0 | python313-nogil-nogil-core | before 3.13.14-160000.2.1 | 3.13.14-160000.2.1 |
| openSUSE:Tumbleweed | python310 | before 3.10.20-8.1 | 3.10.20-8.1 |
| openSUSE:Tumbleweed | python311 | before 3.11.15-8.1 | 3.11.15-8.1 |
| openSUSE:Tumbleweed | python312 | before 3.12.13-8.1 | 3.12.13-8.1 |
| openSUSE:Tumbleweed | python313 | before 3.13.14-2.1 | 3.13.14-2.1 |
| openSUSE:Tumbleweed | python315 | before 3.15.0~b4-1.1 | 3.15.0~b4-1.1 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy | before 3.11.15-100002.1.9.1 | 3.11.15-100002.1.9.1 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy-cffi | before 1.17.1-100002.1.6.2 | 1.17.1-100002.1.6.2 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy-core | before 3.11.15-100002.1.9.1 | 3.11.15-100002.1.9.1 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy-cryptography | before 3.3.2-100002.1.6.2 | 3.3.2-100002.1.6.2 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy-cssselect | before 1.3.0-100002.1.6.2 | 1.3.0-100002.1.6.2 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy-editables | before 0.5-100002.1.6.2 | 0.5-100002.1.6.2 |
| SUSE:EL-10:Update:Products:MultiLinuxManagerTools:Update | saltbundlepy-exceptiongroup | before 1.2.2-100002.1.6.2 | 1.2.2-100002.1.6.2 |
+96
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2…47Plan
- CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted…47Plan
- CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain…46Plan
Published before and after this one in the same product
- ← EarlierCVE-2026-3087Apr 27, 2026 · shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs24Monitor
- ← EarlierCVE-2026-7210May 11, 2026 · The expat and elementtree parsers use insufficient entropy for XML hash-flooding protection25Monitor
- Later →CVE-2026-4360Jun 30, 2026 · Tarfile.extract() doesn't fully respect filter parameter8Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Python Software Foundation CPython | 3.10.21 | Vendor (CNA) |
| Python Software Foundation CPython | 3.11.16 | Vendor (CNA) |
| Python Software Foundation CPython | 3.12.14 | Vendor (CNA) |
| Python Software Foundation CPython | 3.13.15 | Vendor (CNA) |
| Python Software Foundation CPython | 3.14.7 | Vendor (CNA) |
| Python Software Foundation CPython | 3.15.0b4 | Vendor (CNA) |
| azl3 python-py 1.11.0-1 on Azure Linux 3.0 | Release Notes | Microsoft (MSRC) |
| azl3 python3 3.12.9-14 on Azure Linux 3.0 | 3.12.9-14 · CBL-Mariner Releases | Microsoft (MSRC) |
| alpine:python3 | 3.12.14-r0 · Alpine:v3.21 | Package registry (OSV) |
| debian:pypy3 | 8.0.0+dfsg-1 · Debian:14 | Package registry (OSV) |
| debian:python3.13 | 3.13.5-2+deb13u5 · Debian:13 | Package registry (OSV) |
| debian:python3.14 | 3.14.7-1 · Debian:14 | Package registry (OSV) |
| opensuse:python310 | 3.10.20-8.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python311 | 3.11.15-8.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python312 | 3.12.13-8.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python313 | 3.13.14-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:python313-core | 3.13.14-160000.2.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:python313-documentation | 3.13.14-160000.2.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:python313-nogil | 3.13.14-160000.2.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:python313-nogil-nogil-core | 3.13.14-160000.2.1 · openSUSE:Leap 16.0 | Package registry (OSV) |
| opensuse:python315 | 3.15.0~b4-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:python3 | 3.4.10-25.191.2 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:python3-base | 3.4.10-25.191.2 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:python310 | 3.10.20-150400.4.115.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:python310-core | 3.10.20-150400.4.115.2 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:python311 | 3.11.15-slfo.1.1_5.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:python311-core | 3.11.15-slfo.1.1_5.1 · SUSE:Linux Micro 6.1 | Package registry (OSV) |
| suse:python311-documentation | 3.11.15-150400.9.94.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:python312 | 3.12.13-150600.3.62.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Package registry (OSV) |
| suse:python312-core | 3.12.13-150600.3.62.3 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Package registry (OSV) |
+3
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Petr Viktorin (https://github.com/encukou)remediation reviewer
- D0n9 (https://github.com/D0n9)reporter
- Seth Larson (https://github.com/sethmlarson)coordinator
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- Administrator privileges are required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- P
- Scope
- X
Weakness class (CWE)
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')CVSS 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
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- HTTP Request SplittingCAPEC-105likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- Format String InjectionCAPEC-135likelihood: High · High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd
- github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908
- github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
- github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
- github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
- github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6
- github.com/python/cpython/issues/143927
- github.com/python/cpython/pull/151559
- mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.