CVE-2026-116271: MIME::Parser::FileUnder - Path Traversal
- Cve: CVE-2026-116271
- Name: MIME::Parser::FileUnder - Path Traversal
- Description: MIME::Parser::FileUnder versions before 5.521 for Perl reuse a pre-created output directory and follow symlinks in it, letting local users redirect attachment writes. Each message is written to a directory named msg-<time>-<pid>-<n> under the output base, and an existing directory of that name is used as is. A file name counts as unused when nothing exists at that path, which holds for a dangling symlink, and the body file is then opened in a way that follows the link. When the output base is writable by other users, as with output_under("/tmp"), a local user can pre-create the directory with a symlink named like an attachment. The parser then writes the attachment to the link target with the privileges of the parsing process.
- Impact: Local users can write files to arbitrary locations with parser process privileges, potentially leading to data tampering or privilege escalation.
- Remediation: Update to version 5.521 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: data_tampering, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00165
- Epss percentile: 0.0565
- Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
- Published at: 2026-10-28T18:17:13Z
- Age in days: 27
- Modified at: 2026-11-05T21:18:38Z
- References total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-116271
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
| Url | Source | Tags |
|---|---|---|
| https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts