{"id":"CVE-2026-29780","published":"2026-03-07T15:22:43Z","modified":"2026-03-09T18:26:58Z","title":"eml_parser: Path Traversal in Official Example Script Leading to Arbitrary File Write","vendor":"GOVCERT-LU","product":"eml_parser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00215,"percentile":0.06735,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/GOVCERT-LU/eml_parser/security/advisories/GHSA-389r-rccm-h3h5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/issues/88","tags":["x_refsource_MISC"]},{"url":"https://github.com/GOVCERT-LU/eml_parser/commit/99af03a09a90aaaaadd0ed2ffb5eea46d1ea2cc9","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":1.35},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-03-10","earliestUrl":"https://github.com/redyank/CVE-2026-29780","repos":[{"name":"redyank/CVE-2026-29780","url":"https://github.com/redyank/CVE-2026-29780","stars":0,"created":"2026-03-10"}]},"first":{"date":"2026-03-10","source":"PoC-in-GitHub","url":"https://github.com/redyank/CVE-2026-29780"},"provenance":"source"},"vendorSlug":"govcert-lu","affectedVersions":[{"vendor":"GOVCERT-LU","product":"eml_parser","versions":["< 2.0.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-09T17:52:36.051208Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"eml-parser","vulnerableRanges":["<2.0.1"],"patched":["2.0.1"],"from":["GHSA-389r-rccm-h3h5","PYSEC-2026-2148"],"provenance":"source"}],"summary":{"text":"The eml_parser Python module, specifically its official example script examples/recursively_extract_attachments.py, contains a path traversal flaw in which attachment filenames taken from parsed emails are used unsanitised to build output paths. An attacker who can supply an email containing a crafted attachment filename, with the victim running the script and requiring user interaction, can write files outside the intended output directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:11Z"},"euvd":{"id":"EUVD-2026-10153","exploited":false,"provenance":"source"}}