eml-parser
Affected
- introduced
0, fixed2.0.1(ecosystem)
Fixed versions
2.0.1
Fix
- Fixed version
2.0.1pip install --upgrade eml-parser==2.0.1
Advisory
Also known as: CVE-2026-29780, GHSA-389r-rccm-h3h5
The record has no summary.
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.
Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
0, fixed 2.0.1 (ecosystem)2.0.1
2.0.1pip install --upgrade eml-parser==2.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0