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

Published Dec 2, 2026
·
Updated

anymd is a Model Context Protocol server for reading PDF documents. Prior to version 2.4.1, the readpdf 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 Software

1 affected component
npm/anymd<2.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.4.1

Event History

Dec 2, 2026
CVE Published
via MITRE·03:24 PM
Data Sourced
via MITRE·03:24 PM
DescriptionWeakness

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

They need the ability to invoke the read_pdf tool and supply a URL as its source. Affected versions pass that URL directly to PDF.js without SSRF or scheme validation.

2

What systems or data could be exposed?

The issue can be used to request internal HTTP endpoints, including private hosts reached through redirects. It can also read arbitrary local PDF files through file:// URLs, bypassing the confinement applied to path-based sources.

3

What is the available remediation?

Upgrade anymd to version 2.4.1 or later. The issue is patched in version 2.4.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203