CVE-2026-29780

eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. Prior to version 2.0.1, the official example script examples/recursively_extract_attachments.py contains a path traversal vulnerability that allows arbitrary file write outside the intended output directory. Attachment filenames extracted from parsed emails are directly used to construct output file paths without any sanitization, allowing an attacker-controlled filename to escape the target directory. This issue has been patched in version 2.0.1.
Configurations

Configuration 1 (hide)

cpe:2.3:a:govcert.lu:eml_parser:*:*:*:*:*:python:*:*

History

11 Mar 2026, 22:02

Type Values Removed Values Added
References () https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9 - () https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9 - Patch
References () https://github.com/GOVCERT-LU/eml_parser/issues/88 - () https://github.com/GOVCERT-LU/eml_parser/issues/88 - Issue Tracking
References () https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5 - () https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5 - Exploit, Mitigation, Vendor Advisory
First Time Govcert.lu
Govcert.lu eml Parser
Summary
  • (es) eml_parser sirve como un módulo de Python para analizar archivos eml y devolver diversa información encontrada en el correo electrónico, así como información calculada. Antes de la versión 2.0.1, el script de ejemplo oficial examples/recursively_extract_attachments.py contiene una vulnerabilidad de salto de ruta que permite la escritura arbitraria de archivos fuera del directorio de salida previsto. Los nombres de archivo adjuntos extraídos de correos electrónicos analizados se utilizan directamente para construir rutas de archivo de salida sin ninguna sanitización, permitiendo que un nombre de archivo controlado por el atacante escape del directorio de destino. Este problema ha sido parcheado en la versión 2.0.1.
CPE cpe:2.3:a:govcert.lu:eml_parser:*:*:*:*:*:python:*:*

07 Mar 2026, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-07 16:15

Updated : 2026-03-11 22:02


NVD link : CVE-2026-29780

Mitre link : CVE-2026-29780

CVE.ORG link : CVE-2026-29780


JSON object : View

Products Affected

govcert.lu

  • eml_parser
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')