id: PYSEC-2026-2148 published: "2026-03-07T16:15:55.113Z" modified: "2026-07-13T05:48:38.123290Z" aliases: - CVE-2026-29780 - GHSA-389r-rccm-h3h5 details: 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. affected: - package: name: eml-parser ecosystem: PyPI purl: pkg:pypi/eml-parser ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 2.0.1 versions: - "0.9" - "1.0" - "1.1" - "1.10" - "1.11" - 1.11.1 - 1.11.2 - 1.11.4 - 1.11.5 - 1.11.6 - 1.11.7 - 1.12.0 - 1.13.0 - 1.14.0 - 1.14.1 - 1.14.2 - 1.14.3 - 1.14.4 - 1.14.5 - 1.14.6 - 1.14.7 - 1.14.8 - 1.15.0 - 1.16.0 - 1.17.0 - 1.17.1 - 1.17.2 - 1.17.3 - 1.17.4 - 1.17.5 - "1.3" - "1.4" - "1.5" - "1.6" - "1.7" - "1.8" - "1.9" - 2.0.0 ecosystem_specific: {} references: - type: REPORT url: https://github.com/GOVCERT-LU/eml_parser/issues/88 - type: FIX url: https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9 - type: EVIDENCE url: https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5 severity: - type: CVSS_V3 score: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N