CVE-2026-0864
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.126% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 4.1 · published by [email protected]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
Assessment source · checked 2026-11-19T12:40:37.493Z
CVSS 4.0 · 4.1 · published by PSFCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:48.489Z
CVSS 4.0 · 4.1 · published by Ubuntu SecurityCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:49:37.141Z
CVSS 3.1 · 5.5 · published by [email protected]CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:40:37.493Z
CVSS 3.1 · 5.5 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T16:49:37.141Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:40:37.493Z | NVD |
| epss | verified | 2026-11-19T16:04:42.844Z | FIRST EPSS |
| patches | unknown | unknown | unknown |
| affected | verified | 2026-11-19T12:57:48.489Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:48.489Z | CVE Program |
Affected versions and configuration
Python Software Foundation CPython; default status: unaffected: 0 to < 3.10.21 [affected; scheme: python]; 3.11.0 to < 3.11.16 [affected; scheme: python]; 3.12.0 to < 3.12.14 [affected; scheme: python]; 3.13.0 to < 3.13.15 [affected; scheme: python]; 3.14.0 to < 3.14.7 [affected; scheme: python]; 3.15.0a1 to < 3.15.0b4 [affected; scheme: python]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.12",
"debian": "https://tracker.debian.org/pkg/python3.12",
"source": "https://ubuntu.com/security/cve?package=python3.12",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.12",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.10",
"debian": "https://tracker.debian.org/pkg/python3.10",
"source": "https://ubuntu.com/security/cve?package=python3.10",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.10",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.11",
"debian": "https://tracker.debian.org/pkg/python3.11",
"source": "https://ubuntu.com/security/cve?package=python3.11",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.11",
"statuses": [
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "python3.13",
"debian": "https://tracker.debian.org/pkg/python3.13",
"source": "https://ubuntu.com/security/cve?package=python3.13",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=python3.13",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"repo": "https://github.com/python/cpython",
"vendor": "Python Software Foundation",
"product": "CPython",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.10.21",
"versionType": "python"
},
{
"status": "affected",
"version": "3.11.0",
"lessThan": "3.11.16",
"versionType": "python"
},
{
"status": "affected",
"version": "3.12.0",
"lessThan": "3.12.14",
"versionType": "python"
},
{
"status": "affected",
"version": "3.13.0",
"lessThan": "3.13.15",
"versionType": "python"
},
{
"status": "affected",
"version": "3.14.0",
"lessThan": "3.14.7",
"versionType": "python"
},
{
"status": "affected",
"version": "3.15.0a1",
"lessThan": "3.15.0b4",
"versionType": "python"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-0864",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-23T18:34:23.504725Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-74",
"description": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-23T18:34:49.788Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "35C0374F-6CC2-4546-8933-B382CD3A9225",
"versionEndExcluding": "3.10.21"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D409E2A6-22F1-47D5-A273-4772BF45925E",
"versionEndExcluding": "3.11.16",
"versionStartIncluding": "3.11.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "15B3E361-E948-4A55-A163-E681B8E0EF16",
"versionEndExcluding": "3.12.14",
"versionStartIncluding": "3.12.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7DBD3E4F-47FF-48C4-8A44-D2EC2AF84E3C",
"versionEndExcluding": "3.13.15",
"versionStartIncluding": "3.13.0"
},
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4EA7DE57-F5C8-4AD0-A8A8-5E9C3FC75310",
"versionEndExcluding": "3.14.7",
"versionStartIncluding": "3.14.0"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A3327507-0B1D-4F28-A983-D07A2C8A7696"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C8AF17F1-A27F-4C98-BA5A-B4319710E8D1"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "24CF56B0-2F4E-42A2-B655-F493AA0A4815"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7184ABBA-B100-489E-B5C1-1C9EEC0546CA"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B6D4181B-3E1B-499B-AAB1-50868A6A6AD3"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A52F6DD2-717D-4E8C-8DB7-00890BC1ABAE"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8C46C55C-801E-4F86-B669-8E6A12B4AB6F"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5A8DF8E5-61F9-4899-BF40-41A17E223441"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B678A5A5-99CA-45B6-BB73-FB0BD2F7B9A3"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "691A8388-A0A3-4630-BB36-F334C670934F"
},
{
"criteria": "cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E1218285-E822-45FD-8F5E-BBC80B93C6DA"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:40:37.493ZArchived source JSON
Source publication: 2026-06-23T18:17:41.243Z
Source modification: 2026-10-25T23:10:00.167ZDocument fingerprint
5bdcb72819ddb1e8f34931bff43735b4dc074aee90667bff0ef3dbbf8d6b62c6 - Ubuntu SecurityConsulted: 2026-11-19T16:49:37.141ZArchived source JSON
Source publication: 2026-06-23T18:17:00.000Z
Source modification: 2026-11-10T12:18:39.948ZDocument fingerprint
ac15cd4c79ed7857ffa3af6914b17f34940e08bd28aa38d596aa448c0c8bfc27 - Ubuntu SecurityConsulted: 2026-11-19T16:56:15.704ZArchived source JSON
Source publication: 2026-06-23T18:17:00.000Z
Source modification: 2026-11-10T12:18:39.948ZDocument fingerprint
bbdfbc818a958a5fbd1957c435c37b2f2c0c4244410edd78e2399d72d554d013 - Ubuntu SecurityConsulted: 2026-11-19T16:56:31.196ZArchived source JSON
Source publication: 2026-06-23T18:17:00.000Z
Source modification: 2026-11-10T12:18:39.948ZDocument fingerprint
0c6a737a2aefac0e0f4aeaed2e5d13c155662a59e08e6f2417025250083111dd - Ubuntu SecurityConsulted: 2026-11-19T16:56:13.437ZArchived source JSON
Source publication: 2026-06-23T18:17:00.000Z
Source modification: 2026-11-10T12:18:39.948ZDocument fingerprint
c5b84d80ab2a65cbbc51fce9a9c144e56c934d5a895f15aac868d1d0f01e52fc - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:48.489ZArchived source JSON
Source publication: 2026-06-23T17:42:01.947Z
Source modification: 2026-08-13T00:29:03.258ZDocument fingerprint
08d4faeb94d96f57765344ca83f7f890e3494bcd3ff09ba51b8886af5c9c6cdf - FIRST EPSSConsulted: 2026-11-19T16:04:42.844ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
bab76828aab3b3db84bb7adf40a7700c7effc69750d8d3a320e98747c5be901b
Official status history
- UNKNOWN → PUBLISHED · · evidence