CVE-2026-131842: Poppler pdfdetach 24.03.0 through 26.11.0 Path Traversal via Embedded File Names
Poppler pdfdetach 24.03.0 through 26.11.0 contains a path traversal vulnerability in utils/pdfdetach.cc that allows attackers to write files outside the output directory by bypassing a string-prefix containment check. Attackers can craft PDFs with embedded file names containing '..' sequences or absolute paths, so -saveall or -savefile extraction creates or overwrites files with the invoking user's privileges.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users or automated processes that run pdfdetach 24.03.0 through 26.11.0 on attacker-controlled PDFs are exposed, particularly when using -saveall or -savefile. The impact is limited to files writable by the user account invoking pdfdetach.
What must an attacker do to exploit it?
An attacker must provide a crafted PDF containing an embedded-file name with '..' path components or an absolute path, and induce a user or process to extract the embedded file. The vector is local and requires user interaction.
Are default pdfdetach operations affected?
The vulnerable behavior is triggered during embedded-file extraction with -saveall or -savefile. The provided information does not indicate that merely opening or inspecting a PDF with pdfdetach triggers the issue.
What can be done if an update cannot be applied immediately?
Do not use -saveall or -savefile on untrusted PDFs. Where extraction is necessary, run pdfdetach under a restricted account that cannot write to sensitive locations.
How can I determine whether a system is affected?
Check whether the installed Poppler pdfdetach version is from 24.03.0 through 26.11.0 and whether it is used to extract embedded files from untrusted PDFs. Review extraction workflows for use of -saveall or -savefile.