CVE-2026-138030

PDF Reader MCP could validate one DNS address and connect to another

SylphxAI · @sylphx/pdf-reader-mcp TypeScript URL loader

First documented disclosure · Review checkpoint

Summary

An attacker controlling a hostname could redirect a PDF fetch to an internal destination after its initial validation.

Severity and exploitation evidence

Low · 2.3/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed sources describe a reported weakness or controlled demonstration. They do not establish malicious exploitation or affected victims; no payload or product was executed in this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The TypeScript loader resolved and checked DNS answers, then fetch resolved again without pinning its connection to the approved address.

Conditions required

The tool fetches an attacker-controlled URL and the attacker can vary DNS answers; the server can reach the internal destination.

Potential impact

Server-side requests and possible response disclosure within the loader’s available output.

Affected versions and configurations

CNA lists 2.4.1–3.0.14, 3.0.16 and 3.1.2 before 3.2.0. Current maintainer advisories narrow the shipped TypeScript entry point to 3.1.2 and 3.1.4 (header >=3.1.2, <=3.1.4); the broader historical range remains unresolved.

Fix and mitigation status

Maintainer lists 3.2.0 and later using the Rust pinned resolver. Commit 7e0eaeab5bf377c5aafb26ce40888d86a4adfa8b also pins the residual TypeScript loader’s connection resolver.

Practical next steps

Use a corrected package artifact and avoid enabling private-IP access unless required. Apply outbound network controls for sensitive destinations.

Operating lesson

Validation must constrain the actual connection, including each redirect hop.

Evidence and limits

The public September 19 PR 689 describes the defect before the two September 20 GHSAs. Those GHSAs explicitly describe the same defect and are represented by one CVE row. Rust-based 3.1.0/3.1.1 and @sylphx/citra are described as unaffected. The CNA-linked 7.0.0 release is a later anymd rebrand, not the original 3.2.0 correction. Static patch review verifies pinning logic, not an independent rebinding test. Maintainer labels Moderate; CNA 4.0 is Low 2.3. Severity is attributed to VulnCheck CNA CVSS 4.0. CNA publication 2026-11-27T19:15:16.662Z is separate from the original disclosure.

Sources