Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @frontmcp/adapters
  4. ›
  5. CVE-2026-39885

CVE-2026-39885: mcp-from-openapi is Vulnerable to SSRF via $ref Dereferencing in Untrusted OpenAPI Specifications

April 8, 2026 (updated April 9, 2026)

The mcp-from-openapi library uses @apidevtools/json-schema-ref-parser to dereference $ref pointers in OpenAPI specifications without configuring any URL restrictions or custom resolvers. A malicious OpenAPI specification containing $ref values pointing to internal network addresses, cloud metadata endpoints, or local files will cause the library to fetch those resources during the initialize() call. This enables Server-Side Request Forgery (SSRF) and local file read attacks when processing untrusted OpenAPI specifications.

References

  • github.com/advisories/GHSA-v6ph-xcq9-qxxj
  • github.com/agentfront/frontmcp
  • github.com/agentfront/frontmcp/releases/tag/v1.0.4
  • github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj
  • nvd.nist.gov/vuln/detail/CVE-2026-39885

Code Behaviors & Features

Detect and mitigate CVE-2026-39885 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.4

Fixed versions

  • 1.0.4

Solution

Upgrade to version 1.0.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/@frontmcp/adapters/CVE-2026-39885.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:18 +0000.