CVE-2026-0864

Source
https://cve.org/CVERecord?id=CVE-2026-0864
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0864.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-0864
Aliases
Downstream
Related
Published
2026-06-23T17:42:01.947Z
Modified
2026-08-13T09:42:08.523490277Z
Severity
  • 4.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Configuration Injection via Carriage Return (\r) in write() method
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0864.json",
    "cna_assigner": "PSF",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "3.10.21"
                },
                {
                    "introduced": "3.11.0"
                },
                {
                    "fixed": "3.11.16"
                },
                {
                    "introduced": "3.12.0"
                },
                {
                    "fixed": "3.12.14"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/python/cpython

Affected ranges

Type
GIT
Repo
https://github.com/python/cpython
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.13.0"
        },
        {
            "fixed": "3.13.15"
        },
        {
            "introduced": "3.14.0"
        },
        {
            "fixed": "3.14.7"
        },
        {
            "introduced": "3.15.0a1"
        },
        {
            "fixed": "3.15.0b4"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v3.*
v3.13.0
v3.13.1
v3.13.10
v3.13.11
v3.13.12
v3.13.13
v3.13.14
v3.13.2
v3.13.3
v3.13.4
v3.13.5
v3.13.6
v3.13.7
v3.13.8
v3.14.0
v3.14.1
v3.14.2
v3.14.3
v3.14.4
v3.14.5
v3.14.5rc1
v3.14.6
v3.15.0b1
v3.15.0b2
v3.15.0b3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0864.json"