Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2026-0864

Summary
Assigner-PSF
Assigner Org ID-28c92f92-d60d-412d-b760-e73465c3df22
Published At-23 Jun, 2026 | 17:42
Updated At-23 Jul, 2026 | 18:48
Rejected At-
Credits

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

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:PSF
Assigner Org ID:28c92f92-d60d-412d-b760-e73465c3df22
Published At:23 Jun, 2026 | 17:42
Updated At:23 Jul, 2026 | 18:48
Rejected At:
▼CVE Numbering Authority (CNA)
Configuration Injection via Carriage Return (\r) in write() method

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.

Affected Products
Vendor
Python Software FoundationPython Software Foundation
Product
CPython
Repo
https://github.com/python/cpython
Default Status
unaffected
Versions
Affected
  • From 0 before 3.15.0b4 (python)
Metrics
VersionBase scoreBase severityVector
4.04.1MEDIUM
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
Version: 4.0
Base score: 4.1
Base severity: MEDIUM
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
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

reporter
D0n9 (https://github.com/D0n9)
remediation reviewer
Petr Viktorin (https://github.com/encukou)
coordinator
Seth Larson (https://github.com/sethmlarson)
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/python/cpython/pull/151559
patch
https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
vendor-advisory
https://github.com/python/cpython/issues/143927
issue-tracking
https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
patch
https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
patch
https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
patch
https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
patch
Hyperlink: https://github.com/python/cpython/pull/151559
Resource:
patch
Hyperlink: https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
Resource:
vendor-advisory
Hyperlink: https://github.com/python/cpython/issues/143927
Resource:
issue-tracking
Hyperlink: https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
Resource:
patch
Hyperlink: https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
Resource:
patch
Hyperlink: https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
Resource:
patch
Hyperlink: https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
Resource:
patch
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Problem Types
TypeCWE IDDescription
CWECWE-74CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Type: CWE
CWE ID: CWE-74
Description: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:cna@python.org
Published At:23 Jun, 2026 | 18:17
Updated At:23 Jul, 2026 | 20:17

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.04.1MEDIUM
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
N/A
Type: Secondary
Version: 4.0
Base score: 4.1
Base severity: MEDIUM
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
Type: N/A
Version:
Base score:
Base severity: N/A
Vector:
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-74Secondary134c704f-9b21-4f2e-91b3-4a467353bcc0
CWE ID: CWE-74
Type: Secondary
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528cna@python.org
N/A
https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851fcna@python.org
N/A
https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98cna@python.org
N/A
https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8cna@python.org
N/A
https://github.com/python/cpython/issues/143927cna@python.org
N/A
https://github.com/python/cpython/pull/151559cna@python.org
N/A
https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/cna@python.org
N/A
Hyperlink: https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528
Source: cna@python.org
Resource: N/A
Hyperlink: https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f
Source: cna@python.org
Resource: N/A
Hyperlink: https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98
Source: cna@python.org
Resource: N/A
Hyperlink: https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8
Source: cna@python.org
Resource: N/A
Hyperlink: https://github.com/python/cpython/issues/143927
Source: cna@python.org
Resource: N/A
Hyperlink: https://github.com/python/cpython/pull/151559
Source: cna@python.org
Resource: N/A
Hyperlink: https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/
Source: cna@python.org
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

2Records found

CVE-2025-13462
Matching Score-6
Assigner-Python Software Foundation
ShareView Details
Matching Score-6
Assigner-Python Software Foundation
CVSS Score-2||LOW
EPSS-0.16% / 6.01%
||
7 Day CHG~0.00%
Published-12 Mar, 2026 | 17:59
Updated-11 Jun, 2026 | 14:29
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling

The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.

Action-Not Available
Vendor-Python Software Foundation
Product-pythonCPython
CWE ID-CWE-20
Improper Input Validation
CWE ID-CWE-434
Unrestricted Upload of File with Dangerous Type
CWE ID-CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVE-2026-0865
Matching Score-6
Assigner-Python Software Foundation
ShareView Details
Matching Score-6
Assigner-Python Software Foundation
CVSS Score-5.9||MEDIUM
EPSS-0.46% / 37.61%
||
7 Day CHG~0.00%
Published-20 Jan, 2026 | 21:26
Updated-03 Mar, 2026 | 15:16
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
wsgiref.headers.Headers allows header newline injection

User-controlled header names and values containing newlines can allow injecting HTTP headers.

Action-Not Available
Vendor-Python Software Foundation
Product-CPython
CWE ID-CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Details not found