Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-0864: Vulnerability in Python Software Foundation CPython

0
Medium
VulnerabilityCVE-2026-0864cvecve-2026-0864
Published: 06/23/2026 (06/23/2026, 17:42:01 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

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.

CVSS v4.0

Score 4.1medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
CPython
pkg:github/CPython
Affected versions
<3.15.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 18:25:02 UTC

Technical Analysis

CVE-2026-0864 is a vulnerability in the CPython configparser module where writing configuration files with multi-line text values containing carriage return characters (\r) can lead to injection of unexpected keys and values. This happens if an attacker controls the value being written, potentially manipulating the configuration file structure. The vulnerability affects CPython versions before 3.15.0. No official patch or remediation level has been stated in the available data.

Potential Impact

An attacker with the ability to control values written by the configparser module could inject unexpected keys and values into configuration files. This could lead to configuration manipulation or unexpected behavior in applications relying on these config files. The CVSS score of 4.1 indicates a medium severity impact, requiring some privileges and user interaction for exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid writing untrusted multi-line text containing carriage return characters using the configparser module or sanitize inputs to prevent injection of control characters.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2026-01-12T16:07:55.453Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3acbe4eed863c81e6c9a45

Added to database: 06/23/2026, 18:09:40 UTC

Last enriched: 06/23/2026, 18:25:02 UTC

Last updated: 06/23/2026, 22:23:51 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses