CVE-2026-114491: External Control of File Name or Path in bpampuch pdfmake
Description
pdfmake versions 0.3.8 through 0.3.11 have a vulnerability where the setLocalAccessPolicy() restriction is not enforced on images referenced inside SVG content. This allows attackers to embed SVG images with href attributes pointing to local file paths, potentially exposing restricted local file contents in generated PDFs.
CVSS v4.0
Score 6.9medium
Affected software
bpampuch
pdfmake
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in pdfmake (versions >=0.3.8 and <0.3.12) arises because the setLocalAccessPolicy() function does not apply its restrictions to images embedded within SVG content. An attacker who can supply a document definition can craft an SVG image with an href attribute referencing a local file path. This causes the contents of the restricted local file to be embedded in the generated PDF, effectively bypassing local file access restrictions.
Potential Impact
An attacker can read local files that should be blocked by the setLocalAccessPolicy() restriction by embedding SVG images referencing those files. This leads to unauthorized disclosure of local file contents via the generated PDF document. The CVSS 4.0 score of 6.9 (medium severity) reflects the network attack vector with low complexity and no privileges or user interaction required.
Mitigation Recommendations
A fixed version of pdfmake is available starting from version 0.3.12 that properly enforces setLocalAccessPolicy() restrictions on images inside SVG content. Users should upgrade to version 0.3.12 or later to remediate this vulnerability. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-21T16:00:25.961Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad8fe084d27ba8daad63224
Added to database: 10/21/2026, 18:01:44 UTC
Last enriched: 10/21/2026, 18:16:12 UTC
Last updated: 10/21/2026, 18:16:25 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.