4.1Media

CVE-2026-0864Configuration Injection via Carriage Return (\r) in write() method

Python Software Foundation CPython Publicada: (hace 4 meses)

Descripción

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.

Debilidad (CWE): CWE-74

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Python Software Foundation CPython < 3.10.21, 3.11.0 – < 3.11.16, 3.12.0 – < 3.12.14, 3.13.0 – < 3.13.15, 3.14.0 – < 3.14.7, 3.15.0a1 – < 3.15.0b4
python python < 3.10.21

Referencias y parches

Coincidencias CPE (NVD) (16)

  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* < 3.10.21
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.11.0 < 3.11.16
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.12.0 < 3.12.14
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.13.0 < 3.13.15
  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* ≥ 3.14.0 < 3.14.7
  • cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:alpha8:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:python:python:3.15.0:beta3:*:*:*:*:*:*