Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister hostname on attacker-controlled DNS with short TTL
-
DeliveryInduce operator to pass URL to read_pdf
-
ExploitAnswer guard validation with public address
-
ExecutionRebind to 169.254.169.254 at fetch connection
-
ImpactRead cloud metadata or internal service response
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires that the deployment run one of the two unpinned TypeScript artifacts - @sylphx/pdf-reader-mcp 3.1.2 or 3.1.4 (dist/index.js) - since the Rust-binary releases (3.1.0, 3.1.1, 3.2.0 and later) use PinnedResolver and are not affected. The attacker must control authoritative DNS for a hostname (short TTL or round-robin answers) and must get that hostname supplied as the url argument to the read_pdf tool, then win the TOCTOU race by returning a public address to validateUrlHop and an internal/metadata address (169.254.169.254, 127.0.0.1, or an RFC1918 host) at fetch() connection time; the bypass re-triggers on each redirect hop. Limiting factors: passive operator/agent interaction is needed to invoke read_pdf with the hostile URL, success depends on race timing and DNS control (hence high complexity), impact is confined to low-confidentiality read access to reachable internal endpoints, and only the narrow 3.1.2/3.1.4 TypeScript window is actually reachable. |
| Impact | All signals point to a genuinely low priority. The vendor CVSS 4.0 base score is 2.3 and the vuln.today decision label is 'monitor', not act_now or emergency. The 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P) shows that although the loader is reachable over the network without authentication, exploitation is gated by high complexity (AC:H), a specific attack requirement (AT:P - the attacker must control DNS for the supplied hostname and win a TOCTOU race between the guard's resolution and fetch's second resolution), and passive user/operator interaction (UI:P - someone must pass the attacker's URL to read_pdf). Impact is limited to low confidentiality on the vulnerable and a subsequent system (VC:L/SC:L) with no integrity or availability effect, consistent with SSRF that reaches internal services and cloud metadata but returns rather than modifies data. There is no CISA KEV listing and no EPSS score in the input, so there is no signal of active or probable exploitation - status is best described as no public exploit identified at time of analysis (only advisory/patch references exist, not verified exploit code). One data conflict must be flagged: the NVD description lists a broad affected range (2.4.1 through 3.0.14, 3.0.16, 3.1.2 through 3.1.4), but the GHSA advisory and the maintainer backlog clarify that only the TypeScript dist/index.js path shipped in 3.1.2 and 3.1.4 was actually unpinned, while the Rust-binary releases (3.1.0, 3.1.1, 3.2.0+) resolve once and are not affected - verify the precise affected artifact with the vendor before acting on the wider NVD range. |
| Exploit ScenarioDerived | An operator or AI agent running @sylphx/pdf-reader-mcp 3.1.2 or 3.1.4 is induced to call read_pdf against an attacker-chosen URL. The attacker serves DNS with a short TTL that returns a public address when validateUrlHop checks it and an internal address such as 169.254.169.254 or an RFC1918 host when fetch() re-resolves and connects, bypassing the SSRF guard to read cloud metadata or internal services. No confirmed working exploit code is published; only advisory references exist, and the high attack complexity plus required URL-supplying interaction make reliable exploitation non-trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Server-side request forgery in the url loading path of the npm package @sylphx/pdf-reader-mcp lets an attacker who controls authoritative DNS for a hostname supplied to the read_pdf tool reach internal services and cloud metadata endpoints. The guard resolves the hostname and checks it against a private/loopback/metadata denylist, but the subsequent fetch() resolves the name again and is not pinned to the validated address, so a hostile zone can answer the check with a public address and the connection with 169.254.169.254, 127.0.0.1 or an RFC1918 host (CWE-367 TOCTOU / CWE-918). Artifact-level analysis confines reachability to the two published TypeScript builds, @sylphx/pdf-reader-mcp 3.1.2 and 3.1.4 (dist/index.js); the 3.1.0/3.1.1 and 3.2.0+ releases and the @sylphx/citra Rust binary use a pinned resolver and are not affected. No public exploit code was identified at time of analysis and the issue is not in CISA KEV; assessed severity is low (CVSS 4.0 base 2.3; CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N) because the attacker must win a DNS race and induce a user or agent to invoke read_pdf with the hostile URL, and impact is limited to low-confidentiality reads.
RemediationAI
Upgrade @sylphx/pdf-reader-mcp to 3.2.0 or later, the version in which the URL loader pins the connection to the DNS answer the SSRF guard validated; the fix commit is https://github.com/SylphxAI/anymd/commit/7e0eaeab5bf377c5aafb26ce40888d86a4adfa8b and the advisory is https://github.com/SylphxAI/anymd/security/advisories/GHSA-5r2f-7788-qp8v. If an immediate upgrade is not possible, redeploy on 3.1.0 or 3.1.1, which ship the Rust binary with PinnedResolver and therefore do not carry the unpinned fetch, at the cost of remaining on an older release in the 3.1.x line; do not rely on crates.io packages, since the pdf-reader-* crates there are single-version 3.1.1 and yanked. Audit any lockfiles or container images for pinned 3.1.2 or 3.1.4 tarballs, which are the only builds shown to be reachable, and treat the broader range in the CVE description as unverified pending maintainer confirmation. Note that a related report, GHSA-rgg9-pwc3-jg39, is still in triage against the default engine in 5.0.0, so keep tracking that advisory even after upgrading; the available sources do not describe additional mitigations beyond the pinned resolver.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the PDF URL loader in the Model Context Protocol server shipped by @sylphx/pdf-reader-mcp. In the vulnerable TypeScript build, validateUrlHop performed DNS resolution of the target hostname and compared the answers against a denylist of private, loopback and link-local/metadata ranges, but the following fetch() call performed its own resolution rather than connecting to the address that had been approved. That is a classic time-of-check/time-of-use flaw (CWE-367) manifesting as DNS rebinding (CWE-918 server-side request forgery): a zone with a short TTL or round-robin answers returns a public address to the validation lookup and an internal address to the connection lookup, and the bypass re-triggers on each redirect hop. The release cutover matters more than the version string: 3.1.0 and 3.1.1 shipped a Rust binary using a PinnedResolver that resolves once and connects to the validated address, 3.1.2 and 3.1.4 shipped the older TypeScript entry point dist/index.js with the unpinned fetch, and 3.2.0 and later returned to the Rust binary. The upstream fix introduces a createPinnedAgent whose resolver is pinned to the addresses the guard approved, honours { all: true } so the client never re-resolves, re-applies the same non-public predicate to the answer, and fails closed on an unexpected resolver call; regression coverage is in test/pdf/rebind.test.ts. The trigger beyond this mechanism (for example which redirect or PDF-fetch paths invoke the loader) is not described in the available sources, and the assessed high attack complexity (AC:H) and user-interaction requirement (UI:R / UI:P) reflect the DNS race plus the need for the hostile URL to be passed to read_pdf, not any additional unstated precondition.
Know when Pdf Reader Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
DNS-rebinding TOCTOU race and attacker DNS control justify AC:H; the loader needs no auth (PR:N) but an operator must supply the URL (UI:R); SSRF reaches other systems (S:C) with only low read impact (C:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-137490
GHSA-mr6x-63r6-x7hf
NVD
CVE.org
EPSS
VulDB
Exploit-DB