PT-2026-148358
CVE-2026-129296
·
Published
2026-11-16
·
Updated
2026-11-16
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
mail-parser versions 3.8.0 through 4.5.0
Description
Insufficient sanitization and path containment validation in the
write attachments() and write sample() APIs allow the use of attacker-controlled attachment filenames. By utilizing directory traversal sequences—special characters used to access directories above the current one—or absolute filesystem paths, an attacker can cause an attachment to be written outside the intended output directory. This allows for the overwriting of files accessible to the parsing process when an application extracts attachments from a crafted message.Recommendations
Update to version 4.6.0.
As a temporary workaround, restrict the use of the
write attachments() and write sample() APIs when processing untrusted email attachments.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾