CVE-2026-131842
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of data tampering.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: 5.7 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Weakness
- CWE-22 · Path traversal
- Record status
- Received
Affected
- Freedesktop Poppler ≤ 26.11.0
Attack profile CVSS 4.0 · 5.7
- Attack vector
- Local
- Complexity
- High
- Attack requirements
- Present
- Privileges needed
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-131842.md and follow it. Check whether this project is affected by CVE-2026-131842. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-26.11.0/utils/pdfdetach.cc#L221-227
- https://gitlab.freedesktop.org/poppler/poppler/-/commit/d8e7a8a9dd4ddd642c35f5fd1538396be2a68aa9
- https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1826
- https://www.vulncheck.com/advisories/poppler-pdfdetach-24.03.0-through-26.11.0-path-traversal-via-embedded-file-names