GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-0864 (GCVE-0-2026-0864)

Vulnerability from cvelistv5 – Published: 2026-06-23 17:42 – Updated: 2026-08-13 00:29
VLAI
Title
Configuration Injection via Carriage Return (\r) in write() method
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-06-23 18:34 UTC
CWE
  • CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Assigner
Impacted products
Vendor Product Version CPE status
Python Software Foundation CPython Affected: 0 , < 3.10.21 (python)
Affected: 3.11.0 , < 3.11.16 (python)
Affected: 3.12.0 , < 3.12.14 (python)
Affected: 3.13.0 , < 3.13.15 (python)
Affected: 3.14.0 , < 3.14.7 (python)
Affected: 3.15.0a1 , < 3.15.0b4 (python)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-0864",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-23T18:34:23.504725Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-74",
                "description": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-23T18:34:49.788Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "CPython",
          "repo": "https://github.com/python/cpython",
          "vendor": "Python Software Foundation",
          "versions": [
            {
              "lessThan": "3.10.21",
              "status": "affected",
              "version": "0",
              "versionType": "python"
            },
            {
              "lessThan": "3.11.16",
              "status": "affected",
              "version": "3.11.0",
              "versionType": "python"
            },
            {
              "lessThan": "3.12.14",
              "status": "affected",
              "version": "3.12.0",
              "versionType": "python"
            },
            {
              "lessThan": "3.13.15",
              "status": "affected",
              "version": "3.13.0",
              "versionType": "python"
            },
            {
              "lessThan": "3.14.7",
              "status": "affected",
              "version": "3.14.0",
              "versionType": "python"
            },
            {
              "lessThan": "3.15.0b4",
              "status": "affected",
              "version": "3.15.0a1",
              "versionType": "python"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "D0n9 (https://github.com/D0n9)"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Petr Viktorin (https://github.com/encukou)"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Seth Larson (https://github.com/sethmlarson)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "type": "text/html",
              "value": "When using the \"configparser\" module to write configuration files\ncontaining multi-line text values with carriage return characters (\\r) the\nresulting file could be injected with unexpected keys and values if the\nattacker controls the written value."
            }
          ],
          "value": "When using the \"configparser\" module to write configuration files\ncontaining multi-line text values with carriage return characters (\\r) the\nresulting file could be injected with unexpected keys and values if the\nattacker controls the written value."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 4.1,
            "baseSeverity": "MEDIUM",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "HIGH",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "PASSIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-13T00:29:03.258Z",
        "orgId": "28c92f92-d60d-412d-b760-e73465c3df22",
        "shortName": "PSF"
      },
      "references": [
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/pull/151559"
        },
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/"
        },
        {
          "tags": [
            "issue-tracking"
          ],
          "url": "https://github.com/python/cpython/issues/143927"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Configuration Injection via Carriage Return (\\r) in write() method",
      "x_generator": {
        "engine": "cvelib 1.8.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "28c92f92-d60d-412d-b760-e73465c3df22",
    "assignerShortName": "PSF",
    "cveId": "CVE-2026-0864",
    "datePublished": "2026-06-23T17:42:01.947Z",
    "dateReserved": "2026-01-12T16:07:55.453Z",
    "dateUpdated": "2026-08-13T00:29:03.258Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-0864",
      "date": "2026-09-19",
      "epss": "0.00126",
      "percentile": "0.02655"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-12T23:45:44.000Z",
      "cve": "CVE-2026-0864",
      "id": "msrc_CVE-2026-0864",
      "initial_release_date": "2026-06-27T01:08:42.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "3",
      "product_status:known_not_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Configuration Injection via Carriage Return (\\r) in write() method",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-0864.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "CPython",
                "repo": "https://github.com/python/cpython",
                "vendor": "Python Software Foundation",
                "versions": [
                  {
                    "lessThan": "3.10.21",
                    "status": "affected",
                    "version": "0",
                    "versionType": "python"
                  },
                  {
                    "lessThan": "3.11.16",
                    "status": "affected",
                    "version": "3.11.0",
                    "versionType": "python"
                  },
                  {
                    "lessThan": "3.12.14",
                    "status": "affected",
                    "version": "3.12.0",
                    "versionType": "python"
                  },
                  {
                    "lessThan": "3.13.15",
                    "status": "affected",
                    "version": "3.13.0",
                    "versionType": "python"
                  },
                  {
                    "lessThan": "3.14.7",
                    "status": "affected",
                    "version": "3.14.0",
                    "versionType": "python"
                  },
                  {
                    "lessThan": "3.15.0b4",
                    "status": "affected",
                    "version": "3.15.0a1",
                    "versionType": "python"
                  }
                ]
              }
            ],
            "source": "cna@python.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "35C0374F-6CC2-4546-8933-B382CD3A9225",
                    "versionEndExcluding": "3.10.21",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D409E2A6-22F1-47D5-A273-4772BF45925E",
                    "versionEndExcluding": "3.11.16",
                    "versionStartIncluding": "3.11.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "15B3E361-E948-4A55-A163-E681B8E0EF16",
                    "versionEndExcluding": "3.12.14",
                    "versionStartIncluding": "3.12.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7DBD3E4F-47FF-48C4-8A44-D2EC2AF84E3C",
                    "versionEndExcluding": "3.13.15",
                    "versionStartIncluding": "3.13.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4EA7DE57-F5C8-4AD0-A8A8-5E9C3FC75310",
                    "versionEndExcluding": "3.14.7",
                    "versionStartIncluding": "3.14.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*",
                    "matchCriteriaId": "A3327507-0B1D-4F28-A983-D07A2C8A7696",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*",
                    "matchCriteriaId": "C8AF17F1-A27F-4C98-BA5A-B4319710E8D1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*",
                    "matchCriteriaId": "24CF56B0-2F4E-42A2-B655-F493AA0A4815",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*",
                    "matchCriteriaId": "7184ABBA-B100-489E-B5C1-1C9EEC0546CA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*",
                    "matchCriteriaId": "B6D4181B-3E1B-499B-AAB1-50868A6A6AD3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*",
                    "matchCriteriaId": "A52F6DD2-717D-4E8C-8DB7-00890BC1ABAE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*",
                    "matchCriteriaId": "8C46C55C-801E-4F86-B669-8E6A12B4AB6F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*",
                    "matchCriteriaId": "5A8DF8E5-61F9-4899-BF40-41A17E223441",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "B678A5A5-99CA-45B6-BB73-FB0BD2F7B9A3",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "691A8388-A0A3-4630-BB36-F334C670934F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*",
                    "matchCriteriaId": "E1218285-E822-45FD-8F5E-BBC80B93C6DA",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "When using the \"configparser\" module to write configuration files\ncontaining multi-line text values with carriage return characters (\\r) the\nresulting file could be injected with unexpected keys and values if the\nattacker controls the written value."
          }
        ],
        "id": "CVE-2026-0864",
        "lastModified": "2026-08-18T17:52:03.230",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 4.1,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "HIGH",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "cna@python.org",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-0864",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-23T18:34:23.504725Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-06-23T18:17:41.243",
        "references": [
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Issue Tracking",
              "Patch"
            ],
            "url": "https://github.com/python/cpython/issues/143927"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Issue Tracking",
              "Patch"
            ],
            "url": "https://github.com/python/cpython/pull/151559"
          },
          {
            "source": "cna@python.org",
            "tags": [
              "Mailing List",
              "Vendor Advisory"
            ],
            "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/"
          }
        ],
        "sourceIdentifier": "cna@python.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-74"
              }
            ],
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-27T16:24:37+00:00",
      "cve": "CVE-2026-0864",
      "id": "CVE-2026-0864",
      "initial_release_date": "2026-06-23T17:42:01.947000+00:00",
      "product_status:known_affected": "100",
      "product_status:known_not_affected": "45",
      "product_status:under_investigation": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "python: cpython: Python configparser: Configuration injection via crafted multi-line input",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0864.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-16T00:17:44Z",
      "cve": "CVE-2026-0864",
      "id": "CVE-2026-0864",
      "initial_release_date": "2026-06-25T02:34:45Z",
      "product_status:first_fixed": "52",
      "product_status:known_affected": "572",
      "product_status:known_not_affected": "68",
      "product_status:recommended": "495",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-0864",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-0864.json",
      "version": "23"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-0864",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-23T18:34:23.504725Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-74",
                    "description": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-23T18:34:40.390Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "CPython",
              "repo": "https://github.com/python/cpython",
              "vendor": "Python Software Foundation",
              "versions": [
                {
                  "lessThan": "3.10.21",
                  "status": "affected",
                  "version": "0",
                  "versionType": "python"
                },
                {
                  "lessThan": "3.11.16",
                  "status": "affected",
                  "version": "3.11.0",
                  "versionType": "python"
                },
                {
                  "lessThan": "3.12.14",
                  "status": "affected",
                  "version": "3.12.0",
                  "versionType": "python"
                },
                {
                  "lessThan": "3.13.15",
                  "status": "affected",
                  "version": "3.13.0",
                  "versionType": "python"
                },
                {
                  "lessThan": "3.14.7",
                  "status": "affected",
                  "version": "3.14.0",
                  "versionType": "python"
                },
                {
                  "lessThan": "3.15.0b4",
                  "status": "affected",
                  "version": "3.15.0a1",
                  "versionType": "python"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "D0n9 (https://github.com/D0n9)"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Petr Viktorin (https://github.com/encukou)"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Seth Larson (https://github.com/sethmlarson)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "type": "text/html",
                  "value": "When using the \"configparser\" module to write configuration files\ncontaining multi-line text values with carriage return characters (\\r) the\nresulting file could be injected with unexpected keys and values if the\nattacker controls the written value."
                }
              ],
              "value": "When using the \"configparser\" module to write configuration files\ncontaining multi-line text values with carriage return characters (\\r) the\nresulting file could be injected with unexpected keys and values if the\nattacker controls the written value."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 4.1,
                "baseSeverity": "MEDIUM",
                "exploitMaturity": "NOT_DEFINED",
                "privilegesRequired": "HIGH",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-13T00:29:03.258Z",
            "orgId": "28c92f92-d60d-412d-b760-e73465c3df22",
            "shortName": "PSF"
          },
          "references": [
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/pull/151559"
            },
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/CV4NE6AFCRJL7XQOHX7J5TSDHUWVWGJS/"
            },
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://github.com/python/cpython/issues/143927"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/5858e42c539dac8394636a6e9b30472b8994851f"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/0adb386f6e68eb2e73d32e19f235d012df009528"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/71f2e02a52d47417a6fd69f456346cd8aa7aca98"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/aaf850fd333cd89e9aada03d92aaa788a6cb1bb8"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/db4a157c790479710a1a840d7937c5c815a6f8b6"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/12dcbd74d3563016a8cb8c47e4898889f34f74dd"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/python/cpython/commit/274de100bbf4345bd0c23ef5b446722e9e636908"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Configuration Injection via Carriage Return (\\r) in write() method",
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "28c92f92-d60d-412d-b760-e73465c3df22",
        "assignerShortName": "PSF",
        "cveId": "CVE-2026-0864",
        "datePublished": "2026-06-23T17:42:01.947Z",
        "dateReserved": "2026-01-12T16:07:55.453Z",
        "dateUpdated": "2026-08-13T00:29:03.258Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…