Security mailing lists by PureSourceCode

CVE-2026-29780

MEDIUM 5.5CVSS 3.1

eml_parser: Path Traversal in Official Example Script Leads to Arbitrary File Write

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.

Published
7 Mar 2026
Last modified
13 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-389r-rccm-h3h5PYSEC-2026-2148
Sources
NVDJSONOSV GHSA-389r-rccm-h3h5JSONOSV PYSEC-2026-2148JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD govcert.lu eml_parser
cpe:2.3:a:govcert.lu:eml_parser:*:*:*:*:*:python:*:*
< 2.0.1 2.0.1
OSV PyPI eml-parser < 2.0.1 2.0.1

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 7 Mar 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.