Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed /mcp port (0.0.0.0 bind)
-
DeliverySend request omitting X-API-Key
-
ExploitAuth check never enforced
-
ExecutionInvoke PDF tools / supply URL source
-
ImpactRead arbitrary host PDFs, limited SSRF
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the server to be running the opt-in HTTP transport (MCP_TRANSPORT=http) - the default stdio transport is not affected. On affected versions (>= 2.2.0, < 3.0.1) the X-API-Key header is never validated even when MCP_API_KEY is set, so no credential is needed; the pre-patch default bind of 0.0.0.0 means any client with network reachability to the port can call every PDF tool. Confidentiality impact is bounded by the host filesystem reach of the process unless constrained with --allow-dir / MCP_PDF_ALLOWED_DIRS, and the SSRF angle is limited because private/loopback URL targets are blocked by default unless --allow-private-ips is set. Limiting factors: HTTP transport is non-default and must be explicitly enabled, and the instance must be network-reachable; a loopback bind (MCP_HTTP_HOST=127.0.0.1) or a fronting authenticating reverse proxy removes remote exposure. |
| Impact | The CVSS base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects a network-reachable, low-complexity, unauthenticated confidentiality breach: because PR:N is present in the supplied vector, exploitation is unauthenticated against a reachable instance. However, the raw vector overstates universal exposure because the flaw exists ONLY in the opt-in HTTP transport (MCP_TRANSPORT=http) and the pre-patch default bind was 0.0.0.0 - the default stdio transport is entirely unaffected, so real-world risk is gated by whether an operator chose the HTTP mode. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious but non-emergency priority. No EPSS score was supplied and the input shows no CISA KEV listing, so exploitation status is 'no public exploit identified at time of analysis' - there is no PoC or exploit reference among the provided references (only the advisory, patch PR, and commit). This is a genuine, easily-triggered information-disclosure issue where configured, not a high-CVSS-but-low-real-risk paper cut; but its blast radius is bounded by the niche footprint of the product and the requirement that HTTP transport be enabled. A notable aggravating factor: the misleading 'API key authentication enabled' startup log meant operators who set MCP_API_KEY believed they were protected when they were not, so exposed instances may exist unknowingly. EPSS is absent (not an error) - prioritize on the confirmed unauthenticated-exposure mechanics rather than a probability signal. |
| Exploit ScenarioDerived | An operator deploys @sylphx/pdf-reader-mcp with MCP_TRANSPORT=http and sets MCP_API_KEY, reasonably trusting the 'API key authentication enabled' log line, while the server binds 0.0.0.0 by default. Any client that can reach the port sends a request to /mcp with no X-API-Key header and invokes PDF tools to read the contents of any PDF the server process can open on the host, and can additionally abuse URL-based sources for limited SSRF (private/loopback targets blocked unless --allow-private-ips is set). No public exploit code is identified in the provided data, but the attack requires only an ordinary unauthenticated HTTP request (AV:N/AC:L/PR:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 29, 2026
The npm package @sylphx/pdf-reader-mcp (versions 2.2.0 through 3.0.0) fails to enforce authentication on its opt-in HTTP transport: when MCP_TRANSPORT=http and MCP_API_KEY is set, the server logs 'API key authentication enabled (X-API-Key header)' at startup but never validates the header on incoming requests, so the /mcp endpoint accepts unauthenticated traffic. Because the pre-patch default bind address is 0.0.0.0, any client with network reachability to the port can invoke every PDF tool and read the contents of any PDF the server process can open on the host (URL-based sources also permit limited SSRF, though private/loopback targets are blocked unless --allow-private-ips is set). CVSS 3.1 scores this 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), i.e. unauthenticated against a reachable instance; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, though the silent-failure nature of the exposure and the fix's behavior changes warrant prioritizing the upgrade this week.
RemediationAI
Vendor-released patch: @sylphx/pdf-reader-mcp 3.0.1, which enforces the X-API-Key header via constant-time comparison (401 on missing/mismatched keys), changes the default bind host to 127.0.0.1, and warns at startup when binding a non-loopback host without a key; upgrade to 3.0.1 or later per the advisory at https://github.com/SylphxAI/pdf-reader-mcp/security/advisories/GHSA-q344-5v34-gm84. Because the fix flips the default bind to loopback, remote HTTP deployments must now set MCP_HTTP_HOST explicitly and must set MCP_API_KEY, and clients must send the X-API-Key header (note /mcp/health remains unauthenticated). If upgrading immediately is not possible, bind to loopback only with MCP_HTTP_HOST=127.0.0.1 (removes remote reachability but breaks intentional remote access), front the service with a reverse proxy that enforces authentication and pass X-API-Key at the edge (adds a component and must be kept in sync with the key), use the default stdio transport instead of HTTP (eliminates the network attack surface but changes the integration model), and restrict filesystem reach with --allow-dir / MCP_PDF_ALLOWED_DIRS (limits which PDFs a successful attacker can read, may break legitimate tool invocations). Keep --allow-private-ips unset so URL sources continue to be blocked from private/loopback addresses.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The package is a Model Context Protocol (MCP) server that exposes PDF-reading tools; it defaults to the stdio transport, but operators can opt into an HTTP transport with MCP_TRANSPORT=http, served by a Node.js http server using StreamableHTTPServerTransport. In the vulnerable builds, the configured API key was read into the transport configuration and used only to print the misleading startup message, while the request handler routed every request straight into transport.handleRequest without any header check - a missing-authentication-for-critical-function defect (CWE-306), catalogued with CWE-287 and CWE-200 because the result is unauthenticated exposure of file contents. The fix adds an isApiKeyValid() helper that SHA-256 hashes both the configured and presented values and compares them with crypto.timingSafeEqual, returns HTTP 401 with a WWW-Authenticate: X-API-Key challenge on missing or mismatched keys, keeps /mcp/health open, hardens the default MCP_HTTP_HOST to 127.0.0.1, and warns at startup when a non-loopback host is bound without a key. The confidentiality impact is bounded by the process's filesystem reach (unless constrained with --allow-dir / MCP_PDF_ALLOWED_DIRS) and the SSRF angle is limited by the default private/loopback URL guard; the stdio transport is unaffected.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated network request to /mcp with no header check yields arbitrary PDF reads, so AV:N/AC:L/PR:N/UI:N and C:H; no integrity or availability impact, scope unchanged.
Primary rating from Vendor (https://github.com/SylphxAI/pdf-reader-mcp).
CVSS VectorVendor: https://github.com/SylphxAI/pdf-reader-mcp
DescriptionCVE.org
Impact
When @sylphx/pdf-reader-mcp is run as an HTTP server (MCP_TRANSPORT=http), it reads the MCP_API_KEY environment variable and logs API key authentication enabled (X-API-Key header) at startup, but it never validated the X-API-Key header on incoming requests. The key was read into a variable and never enforced on the request path.
As a result, the /mcp endpoint accepted unauthenticated requests. Combined with the default bind address of 0.0.0.0 (all interfaces), any client able to reach the port could invoke every PDF tool and read the contents of any PDF the server process could open anywhere on the host. URL-based sources also enable limited SSRF (private/loopback addresses are blocked by default unless --allow-private-ips is set).
The misleading startup log made the exposure silent: an operator who set MCP_API_KEY reasonably believed the server was protected when it was not.
This affects only the opt-in HTTP transport; the default stdio transport is unaffected.
Patches
Fixed in @sylphx/pdf-reader-mcp@3.0.1. The fix enforces the X-API-Key header with a constant-time comparison (rejecting missing/mismatched keys with HTTP 401), changes the default bind host to 127.0.0.1 (loopback), and emits a startup warning when binding a non-loopback host without an API key.
Workarounds
For deployments that cannot upgrade immediately:
- Bind to loopback only:
MCP_HTTP_HOST=127.0.0.1. - Place a reverse proxy in front that enforces authentication.
- Use the default
stdiotransport instead of HTTP. - Restrict filesystem reach with
--allow-dir/MCP_PDF_ALLOWED_DIRS.
Reported privately by novice-22 via responsible disclosure.
Technical POC Analysis
CWE-306 Missing Authentication for a Critical Function (the advisory also cross-lists CWE-287 Improper Authentication and CWE-200 Exposure of Sensitive Information; the CVE is filed as CWE-200).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-62264 is a high-severity authentication bypass in the @sylphx/pdf-reader-mcp npm package (versions 2.2.0-3.0.0) that silently exposes PDF reading capabilities to unauthenticated network clients when the optional HTTP transport is enabled. Any reachable instance allows attackers to read any PDF accessible to the server process, creating a direct risk of confidential document disclosure and potential lateral movement. Leadership should care because this affects data confidentiality and regulatory compliance, particularly if the tool is deployed in production or handles sensitive documents.
Apply vendor patch.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-114317
GHSA-q344-5v34-gm84
NVD
CVE.org
EPSS
Exploit-DB