Pdf Reader Mcp
Monthly
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.
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.