# CVE-2026-114491: pdfmake 0.3.8 before 0.3.12 Local File Policy Bypass via SVG Images

Source: https://aplosec.si/cve/CVE-2026-114491/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-114491

Medium 6.9 · Reported · Fixed in 0.3.12 · CWE-73 · npm

# pdfmake 0.3.8 before 0.3.12 Local File Policy Bypass via SVG Images

CVE-2026-114491 · published 2026-10-21

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

## Summary

CVE-2026-114491 affects pdfmake (npm) 0.3.8 before 0.3.12: Local file policy bypass via SVG images (CWE-73). Fixed in 0.3.12. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-10-21 by VulnCheck. Credit: Zachariah Mithani (AploSec).

pdfmake 0.3.8 before 0.3.12 fails to apply the setLocalAccessPolicy() restriction to images referenced inside SVG content, allowing attackers to read blocked local files. Attackers supplying a document definition can add an SVG image href pointing to a local path, embedding restricted file contents in the generated PDF.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade pdfmake to 0.3.12 or later. Releases in the affected range (0.3.8 before 0.3.12) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-21 CVE published

- 2026-10-30 Public record last updated

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/pdfmake-0.3.8-before-0.3.12-local-file-policy-bypass-via-svg-images](https://www.vulncheck.com/advisories/pdfmake-0.3.8-before-0.3.12-local-file-policy-bypass-via-svg-images)

- [Fix commithttps://github.com/bpampuch/pdfmake/commit/4ad4cbf2713568304dd4cbc3090bfb912a78dfdd](https://github.com/bpampuch/pdfmake/commit/4ad4cbf2713568304dd4cbc3090bfb912a78dfdd)

- [Vulnerable codehttps://github.com/bpampuch/pdfmake/blob/0.3.11/src/Renderer.js#L350-L372](https://github.com/bpampuch/pdfmake/blob/0.3.11/src/Renderer.js#L350-L372)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-114491](https://www.cve.org/CVERecord?id=CVE-2026-114491)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-114491](https://nvd.nist.gov/vuln/detail/CVE-2026-114491)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-114491)

**Package:** pdfmake

**Ecosystem:** npm

**Affected:** 0.3.8 before 0.3.12

**Fixed:** 0.3.12

**Weakness:** CWE-73

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
