{"id":"CVE-2026-116271","aliases":["CVE-2026-116271"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.\n\nEach 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.\n\nWhen 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nEach 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.\n\nWhen 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.","source":"cvelist"}],"published":"2026-10-28T17:34:06.757Z","modified":"2026-11-05T21:18:38.830Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"5.521","status":"affected"}],"package":"MIME-tools","repo":"https://salsa.debian.org/dskoll/mime-tools","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-05T20:38:44.229Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-116271","url":"https://www.cve.org/CVERecord?id=CVE-2026-116271","licence":"CVE Terms of Use","modified":"2026-11-05T20:38:49.025Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-116271","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116271","licence":"Public domain","modified":"2026-11-05T21:18:38.830Z"}],"updatedAt":"2026-11-25T22:59:47.655Z","epss":{"score":0.00137,"percentile":0.01533,"date":"2026-11-30T12:00:22.000Z"}}