SylphxAI @sylphx/pdf-reader-mcp server-side request forgery in PDF URL loader
Affects pdf-reader-mcp 2.4.1 through 3.0.14 and 3.1.2 through 3.1.4, where read_pdf loads URLs whose DNS the attacker controls. Fixed in 3.0.15 and 3.2.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.0.15, 3.2.0
- Who is exposed
- Specific setups only
Summary
SylphxAI pdf-reader-mcp has a server-side request forgery flaw in its PDF URL loader. An attacker can remotely, without logging in, use DNS rebinding to get the server to fetch internal services and cloud metadata endpoints. Exploiting it requires a user action.
Written by a model
Original description
SylphxAI pdf-reader-mcp 2.4.1 through 3.0.14, 3.0.16, and 3.1.2 through 3.1.4 contains a server-side request forgery vulnerability in its PDF URL loader, which validates the resolved address but does not pin it for fetch(). Attackers controlling DNS for a url passed to read_pdf can return a public address at check time and an internal address at connection time to reach internal services and cloud metadata endpoints.
Who should check
Teams running @sylphx/pdf-reader-mcp 3.1.2 or 3.1.4 (the TypeScript dist/index.js entry point) that let read_pdf fetch PDFs from URLs.
“pdf-reader-mcp >= 3.1.2, < 3.2.0”
What to do
Check whether your setup matches what the bug needs.
Affected release 3.1.2 or 3.1.4 running the TypeScript engine (dist/index.js) read_pdf fetches a PDF from a URL whose DNS the attacker controlsUpgrade to a fixed version: 3.0.15, 3.2.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138030 (SylphxAI pdf-reader-mcp 2.4.1 through 3.1.4 SSRF via DNS Rebinding in URL Loader), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138030 (entry last updated 2026-11-27):
Affected:
- npm package @sylphx/pdf-reader-mcp: from 2.4.1, fixed in 3.0.15; from 3.1.2, fixed in 3.2.0
Fixed versions: 3.0.15, 3.2.0.
Conditions (all must be true for the bug to be hit):
- Affected release 3.1.2 or 3.1.4 running the TypeScript engine (dist/index.js) (source: https://github.com/SylphxAI/anymd/security/advisories/GHSA-rgg9-pwc3-jg39)
- read_pdf fetches a PDF from a URL whose DNS the attacker controls (source: https://www.vulncheck.com/advisories/sylphxai-pdf-reader-mcp-2.4.1-through-3.1.4-ssrf-via-dns-rebinding-in-url-loader)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-138030 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138030 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/SylphxAI/anymd/security/advisories/GHSA-5r2f-7788-qp8v
- https://github.com/SylphxAI/anymd/security/advisories/GHSA-rgg9-pwc3-jg39
- https://github.com/SylphxAI/anymd/commit/7e0eaeab5bf377c5aafb26ce40888d86a4adfa8b
- https://github.com/SylphxAI/anymd/releases/tag/v7.0.0
- https://github.com/SylphxAI/anymd/blob/b79649de57d145930e358cb1eb26282f71ecba28/src/pdf/loader.ts#L104-L150
- https://www.vulncheck.com/advisories/sylphxai-pdf-reader-mcp-2.4.1-through-3.1.4-ssrf-via-dns-rebinding-in-url-loader
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138030
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138030"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach10/20Affects npm packages
- Severity2.3/10CVSS 2.3
- No patch0/5No signal
What would change the score
- Would score about 74 if added to CISA KEV
- Would score about 69 if CISA's SSVC rates exploitation active
Impact
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Advisory | GitHub · SylphxAI/anymd · Advisory GHSA-5r2f-7788-qp8v |
| Advisory | GitHub · SylphxAI/anymd · Advisory GHSA-rgg9-pwc3-jg39 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138030 |
| Record | NVD · CVE-2026-138030 |
| Other links 4 | |
| Patch | GitHub · SylphxAI/anymd · Commit 7e0eaeab |
| Repository | GitHub · SylphxAI/anymd · Release v7.0.0 |
| Repository | GitHub · SylphxAI/anymd · src/pdf/loader.ts · L104-L150 |
| Link | vulncheck.com · advisories/sylphxai-pdf-reader-mcp-2.4.1-through-3.1.4-ssrf-via-dns-rebinding-in-url-loader |
Questions about CVE-2026-138030
Is CVE-2026-138030 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
read_pdf can be made to fetch a PDF from an attacker-chosen URL whose DNS the attacker controls, so the server sends requests to internal services and cloud metadata endpoints on the attacker's behalf.
Source: github.com, vulncheck.com
Which versions are affected by CVE-2026-138030?
@sylphx/pdf-reader-mcp (npm): from 2.4.1 before 3.0.15; from 3.1.2 before 3.2.0.
Source: cve.now feed data
Am I affected, and how do I check?
The affected ranges are 2.4.1 up to 3.0.15 and 3.1.2 up to 3.2.0. The reported case is release 3.1.2 or 3.1.4 running the TypeScript engine (dist/index.js), which the published package ran by default. Check the installed package version and whether the server runs dist/index.js.
Source: github.com, vulncheck.com
How do I fix CVE-2026-138030?
Upgrade to 3.0.15 or later on the 3.0 line, or to 3.2.0 or later on the 3.1 line.
Source: github.com, vulncheck.com
Related
- CVE-2026-62264PDF Reader MCP: HTTP transport accepts unauthenticated requests despite a configured MCP_API_KEY
- CVE-2026-127297Joomla! Core - [20261117] - Core - Race condition in formatted text logger in Joomla 3.6.0-5.4.10, 6.0.0-6.2.0
- CVE-2026-126714Partially overwritten session files can lead to remote code execution
- CVE-2026-82319SolarWinds Serv-U Time-of-check to Time-of-use (TOCTOU) Vulnerability
- CVE-2026-82316SolarWinds Serv-U Time-of-Check to Time-of-Use (TOCTOU) Vulnerability
- CVE-2026-82315SolarWinds Serv-U Time-of-Check to Time-of-Use (TOCTOU) Vulnerability
No corrections so far. Something wrong on this page? Report an error.