Description
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.
Published: 2026-10-21
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local File Access Bypass
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in pdfmake allows an attacker to supply a document definition that contains an SVG image with an href pointing to a local file. The bug is that the library ignores the security restriction set by setLocalAccessPolicy, so the referenced local file can be read and embedded within the generated PDF. This results in the accidental disclosure of files that should have been protected, exposing sensitive data such as configuration files or user credentials. The flaw is a classic local file path traversal bypass (CWE-73) and is considered a moderate severity issue because it depends on the attacker’s ability to supply or influence the document definition.

Affected Systems

The affected package is pdfmake by bpampuch. Versions 0.3.8 up to and including 0.3.11 are vulnerable. A patch was released in version 0.3.12, which correctly enforces the local access policy for SVG images.

Risk and Exploitability

The CVSS score of 6.9 reflects the potential for confidentiality compromise with moderate attack complexity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating that public exploits are not yet documented. However, the attack vector requires an attacker to supply or modify a document definition that is processed by pdfmake, typically within web applications or document generation services. If an application accepts such definitions from untrusted sources, an attacker can read local files that should otherwise be unreachable. The overall risk is moderate, but organizations should consider the likelihood of compromised user input or insecure integration.

Generated by OpenCVE AI on October 22, 2026 at 04:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pdfmake to version 0.3.12 or later, which restores the local access policy for SVG images.
  • If an upgrade is not immediately feasible, modify the application to strip or reject SVG image references in document definitions or disable SVG processing entirely for untrusted input.
  • Implement additional server‑side validation to ensure that image URLs do not point to local paths, and enforce stricter file‑access controls within the application environment.

Generated by OpenCVE AI on October 22, 2026 at 04:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 10 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title pdfmake 0.3.8 before 0.3.12 Local File Policy Bypass via SVG Images
First Time appeared Pdfmake
Pdfmake pdfmake
Weaknesses CWE-73
CPEs cpe:2.3:a:pdfmake:pdfmake:*:*:*:*:*:*:*:*
Vendors & Products Pdfmake
Pdfmake pdfmake
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T17:31:25.430Z

Reserved: 2026-10-21T16:00:25.961Z

Link: CVE-2026-114491

cve-icon Vulnrichment

Updated: 2026-10-28T17:31:22.490Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T18:17:27.790

Modified: 2026-10-28T18:17:11.393

Link: CVE-2026-114491

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T08:30:03Z

Weaknesses
  • CWE-73

    External Control of File Name or Path