CVE-2026-26801
Server-Side Request Forgery (SSRF) vulnerability in pdfmake versions 0.3.0-beta.2 through 0.3.5 allows a remote attacker to obtain sensitive information via the src/URLResolver.js component. The fix was released in version 0.3.6 which introduces the setUrlAccessPolicy() method allowing server operators to define URL access rules. A warning is now logged when pdfmake is used server-side without a policy configured.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 0.3.0-beta.2, < 0.3.6
Fixed in 0.3.6
from GitHub Security Advisory GHSA-wp52-r2fp-4vmr
Mitigation
Upgrade pdfmake to 0.3.6 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 8.4 days after publication; not in CISA KEV. First PoC: mariopepe/CVE-2026-26801-pdfmake-ssrf (created 18 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mariopepe/CVE-2026-26801-pdfmake-ssrf | 18 Mar 2026 +8.4 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /api/generate-pdf
- Body markers
"content""styles""// Step 1""// Step 2"inapplication/json- Ports
- 3000, 8888
- Seen in
- 1 repo: mariopepe/CVE-2026-26801-pdfmake-ssrf
- Evidence
- mariopepe/CVE-2026-26801-pdfmake-ssrf/attack-exfiltration.js:65 mariopepe/CVE-2026-26801-pdfmake-ssrf/attack.js:67
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/generate-pdf(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000,8888] (msg:"GG PoC-Monitor CVE-2026-26801 CVE-2026-26801 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/generate-pdf"; http.request_body; content:"|22|content|22|"; http.request_body; content:"|22|styles|22|"; http.request_body; content:"|22|// Step 1|22|"; http.request_body; content:"|22|// Step 2|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-26801; classtype:web-application-attack; sid:9674176; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: CVE-2026-26801 exploit attempt (CVE-2026-26801)
id: gg-pocmon-cve-2026-26801-9674176
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-26801. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-26801
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/generate-pdf'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.26801