Skip to content
OpenAdvisories
High · 8.8 CVE-2026-75519 EUVD-2026-141489

anymd: read_pdf url source - SSRF and file:// local-file read bypass path confinement

Published Dec 2, 2026 · Assigned by GitHub_M

Description

anymd is a Model Context Protocol server for reading PDF documents. Prior to version 2.4.1, the read_pdf tool accepted URL sources with no SSRF or scheme validation. The URL branch passed source.url directly to PDF.js, which could fetch internal HTTP endpoints (SSRF), follow redirects to private hosts, and read arbitrary local PDFs via file:// URLs — bypassing the path confinement applied to the path source. This issue has been patched in version 2.4.1.

Affected products

VendorProductAffectedFixed
SylphxAI pdf-reader-mcp < 2.4.1 —

References