Skip to content

CVE-2026-29780 eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write

MediumCVSS 5.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
govcert.lu eml parser < 2.0.1 2.0.1 Fixed
pypi eml-parser(PyPI) < 2.0.1; = 0.9; = 1.0; = 1.1 +35 more 2.0.1 Fixed
GOVCERT-LU eml_parser = < 2.0.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi eml-parser(PyPI) < 2.0.1 2.0.1
pypi eml-parser(PyPI) = 0.9 No fix listed
pypi eml-parser(PyPI) = 1.0 No fix listed
pypi eml-parser(PyPI) = 1.1 No fix listed
pypi eml-parser(PyPI) = 1.10 No fix listed
pypi eml-parser(PyPI) = 1.11 No fix listed
pypi eml-parser(PyPI) = 1.11.1 No fix listed
pypi eml-parser(PyPI) = 1.11.2 No fix listed
pypi eml-parser(PyPI) = 1.11.4 No fix listed
pypi eml-parser(PyPI) = 1.11.5 No fix listed
pypi eml-parser(PyPI) = 1.11.6 No fix listed
pypi eml-parser(PyPI) = 1.11.7 No fix listed
pypi eml-parser(PyPI) = 1.12.0 No fix listed
pypi eml-parser(PyPI) = 1.13.0 No fix listed
pypi eml-parser(PyPI) = 1.14.0 No fix listed
pypi eml-parser(PyPI) = 1.14.1 No fix listed
pypi eml-parser(PyPI) = 1.14.2 No fix listed
pypi eml-parser(PyPI) = 1.14.3 No fix listed
pypi eml-parser(PyPI) = 1.14.4 No fix listed
pypi eml-parser(PyPI) = 1.14.5 No fix listed
pypi eml-parser(PyPI) = 1.14.6 No fix listed
pypi eml-parser(PyPI) = 1.14.7 No fix listed
pypi eml-parser(PyPI) = 1.14.8 No fix listed
pypi eml-parser(PyPI) = 1.15.0 No fix listed
pypi eml-parser(PyPI) = 1.16.0 No fix listed
Show 16 more
ProductAffected versionsFixed in
pypi eml-parser(PyPI) = 1.17.0 No fix listed
pypi eml-parser(PyPI) = 1.17.1 No fix listed
pypi eml-parser(PyPI) = 1.17.2 No fix listed
pypi eml-parser(PyPI) = 1.17.3 No fix listed
pypi eml-parser(PyPI) = 1.17.4 No fix listed
pypi eml-parser(PyPI) = 1.17.5 No fix listed
pypi eml-parser(PyPI) = 1.3 No fix listed
pypi eml-parser(PyPI) = 1.4 No fix listed
pypi eml-parser(PyPI) = 1.5 No fix listed
pypi eml-parser(PyPI) = 1.6 No fix listed
pypi eml-parser(PyPI) = 1.7 No fix listed
pypi eml-parser(PyPI) = 1.8 No fix listed
pypi eml-parser(PyPI) = 1.9 No fix listed
pypi eml-parser(PyPI) = 2.0.0 No fix listed
GOVCERT-LU eml_parser = < 2.0.1 No fix listed
govcert.lu eml parser < 2.0.1 2.0.1

References