CVE-2026-115729

@pdfme/common 5.5.10 before 6.2.6 SSRF via isUrlSafeToFetch Bypass

Published Oct 23, 2026 CVSS 4.0 · 8.9 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The @pdfme/common package from version 5.5.10 up to but not including 6.2.6 contains a server‑side request forgery flaw that allows an attacker to supply URLs that bypass the isUrlSafeToFetch denylist in the getB64BasePdf function. By using IPv4‑mapped IPv6, ::, NAT64 or localhost hostnames, the server can fetch loopback, internal or cloud‑metadata endpoints and embed the resulting data into generated PDF documents, potentially exposing sensitive configuration or internal network information.

Affected Systems

The vulnerable component is the npm package @pdfme/common, version 5.5.10 through 6.2.5 inclusive. The flaw originates in the pdfme/pdfme repository on GitHub. Versions 6.2.6 and later contain the fix, and no other packages or versions are reported to be impacted.

Risk and Exploitability

The CVSS score of 8.9 classifies this as high severity. The EPSS score is not available, so current exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. The SSRF vulnerability permits outbound HTTP requests from the server to attacker‑controlled destinations, including internal and cloud metadata endpoints, if a client submits specially formatted URLs. Successful exploitation could lead to disclosure of internal data, exposure of cloud identity tokens, or other sensitive information through a remote attacker supplying the basePdf URL.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to @pdfme/common version 6.2.6 or later.
  • If an immediate upgrade is not possible, enforce network policies that block the application from making outbound connections to localhost, 127.0.0.0/8, ::1, or other internal IP ranges, including IPv4‑mapped IPv6 and NAT64 addresses.
  • Enable strict input validation for basePdf URLs and monitor application logs for unexpected outbound requests that may indicate exploitation attempts.

Generated by OpenCVE AI on October 23, 2026 at 16:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pdfme
Pdfme common
Vendors & Products Pdfme
Pdfme common
Type Values Removed Values Added
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.
Title @pdfme/common 5.5.10 before 6.2.6 SSRF via isUrlSafeToFetch Bypass
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.9, '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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 5:40 PM
Reserved
Oct 23, 2026, 11:40 AM
Status
Deferred
Published
Oct 23, 2026, 1:17 PM
Modified
Oct 29, 2026, 6:17 PM