Skip to main content

FrontMCP CVE-2026-59973

| EUVDEUVD-2026-78782 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-11 https://github.com/agentfront/frontmcp GHSA-65h7-9wrw-629c
8.5
CVSS 3.1 · Vendor: https://github.com/agentfront/frontmcp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to hosted FrontMCP instance
  2. Delivery
    Submit crafted OpenAPI spec with nip.io or IPv4-mapped IPv6 loopback $ref
  3. Exploit
    Hostname-string guard passes without IP resolution
  4. Execution
    Server resolves DNS to 127.0.0.1 and fetches internal endpoint
  5. Impact
    Internal service response returned to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) a hosted or multi-user FrontMCP deployment where authenticated non-administrator users can configure OpenAPI adapters or supply OpenAPI spec URLs or raw JSON specs; (2) the deployment runs frontmcp <=1.2.1, @frontmcp/adapters <=1.2.1, or mcp-from-openapi <=2.3.x without the v1.5.0/v2.5.0 fixes; (3) at least low-privilege authenticated access (PR:L per CVSS) - no unauthenticated exploitation is demonstrated. Exploitation is blocked when refResolution.allowedProtocols: [] is explicitly set, but this is not the default. In single-tenant or administrator-only deployments where only trusted operators configure OpenAPI adapters, the vulnerability provides no meaningful privilege escalation beyond what the operator already controls.

Impact

The provided CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N and score of 8.5 accurately reflect a network-reachable, low-complexity flaw requiring only low-privilege authenticated access. Scope change (S:C) is warranted because successful exploitation reaches internal services beyond the FrontMCP process boundary. A working PoC with canary output demonstrating five distinct bypass techniques is embedded in the advisory (run confirmed 2026-05-25), substantially reducing exploitation effort. No CISA KEV listing and no EPSS score were provided, so in-the-wild exploitation has not been confirmed. Real-world severity is strongly deployment-dependent: in hosted or SaaS FrontMCP environments where non-administrator authenticated users can configure OpenAPI adapter URLs or supply raw spec JSON, this represents a high-priority SSRF with proven bypass vectors. In single-tenant or administrator-only deployments where only trusted operators configure adapters, the attack surface reduces to already-privileged users and practical risk is materially lower. The niche market position of FrontMCP in the AI/MCP tooling space limits total exposed attack surface relative to the CVSS score.

Exploit ScenarioDerived

An authenticated user on a hosted FrontMCP deployment submits an OpenAPI spec whose request body schema contains a $ref pointing to http://127.0.0.1.nip.io:<port>/schema.json. The mcp-from-openapi 2.3.0 guard passes the hostname string check because it is not a direct IP literal, the DNS resolver maps it to 127.0.0.1, and the backend issues an HTTP GET to the loopback canary - exposing any internal service listening on that port. A PoC demonstrating this and four additional bypass vectors with full canary hit output is included in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 11, 2026

SSRF fix bypass in FrontMCP v1.2.1 and its dependency mcp-from-openapi 2.3.0 allows authenticated users of hosted deployments to reach internal network services by supplying crafted OpenAPI specs containing external $ref URLs. The previous patch for CVE-2026-39885 introduced a hostname-string denylist that is circumvented via DNS names resolving to loopback (e.g., 127.0.0.1.nip.io), HTTP redirect chains to loopback after an initially allowed host, and IPv4-mapped IPv6 syntax (::ffff:127.0.0.1). A working proof-of-concept with five confirmed bypass vectors is included in the advisory; no CISA KEV listing exists at time of analysis.

RemediationAI

Upgrade frontmcp and @frontmcp/adapters to v1.5.0 or later and mcp-from-openapi to v2.5.0 or later per GHSA-65h7-9wrw-629c. If an immediate upgrade is not feasible, set refResolution.allowedProtocols: [] in the OpenAPI adapter configuration to block all external $ref resolution - the advisory PoC confirms this prevents all loopback canary requests. Be aware this workaround will break legitimate multi-file OpenAPI specs that rely on external references, which may degrade tool generation for compliant specs. A complementary control is to restrict OpenAPI adapter configuration to administrator-only roles; if untrusted users cannot supply spec URLs or raw specs, the attack surface is eliminated regardless of patch status. Hostname denylist approaches must not be treated as a compensating control, as all known bypass classes (DNS indirection, redirects, IPv4-mapped IPv6) remain exploitable in mcp-from-openapi 2.3.0.

Affected VersionsENISA

mcp-from-openapi < 2.5.0
adapters < 1.5.0
frontmcp < 1.5.0

Affected Packages

npm @frontmcp/adapters fix: 1.5.0
npm frontmcp fix: 1.5.0
npm mcp-from-openapi fix: 2.5.0
euvd adapters fix: 1.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FrontMCP is an npm framework for exposing OpenAPI-defined APIs as Model Context Protocol (MCP) tool endpoints used by AI agents. When loading OpenAPI adapters, libs/adapters/src/openapi/openapi.adapter.ts calls OpenAPIToolGenerator.fromURL() and OpenAPIToolGenerator.fromJSON() from the mcp-from-openapi dependency, forwarding untrusted url, spec, and loadOptions.refResolution parameters directly. The CVE-2026-39885 fix in mcp-from-openapi 2.3.0 introduced a string-based hostname denylist evaluated against external $ref URLs before HTTP resolution. The root cause (CWE-918) persists because the guard compares hostname strings rather than resolved IP addresses, does not pin validated addresses to the actual socket-level connection, and does not revalidate redirect targets before following them. IPv4-mapped IPv6 loopback forms (::ffff:127.0.0.1, ::ffff:7f00:1) are not normalized before range checks, bypassing the denylist entirely. Affected purls: pkg:npm/mcp-from-openapi >=2.3.0 <2.5.0, pkg:npm/@frontmcp/adapters >=1.2.1 <1.5.0, pkg:npm/frontmcp >=1.2.1 <1.5.0.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/agentfront/frontmcp) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
vuln.today AI 8.5 HIGH

Network-exploitable by authenticated (PR:L) users who can supply OpenAPI specs; scope changes because internal services beyond the FrontMCP process are reachable.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (https://github.com/agentfront/frontmcp).

CVSS VectorVendor: https://github.com/agentfront/frontmcp

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

The published fix for GHSA-v6ph-xcq9-qxxj / CVE-2026-39885 added a direct hostname denylist for OpenAPI external $ref dereferencing, but the latest patched dependency mcp-from-openapi 2.3.0 still makes backend-origin requests to loopback when the target is reached through hostname resolution, redirects, or IPv4-mapped IPv6 syntax.

FrontMCP latest release v1.2.1 and current main still call OpenAPIToolGenerator.fromURL() and OpenAPIToolGenerator.fromJSON() from mcp-from-openapi 2.3.0 when loading OpenAPI adapters. An attacker who can cause a hosted or multi-user FrontMCP deployment to load an untrusted OpenAPI spec can trigger requests from the server to localhost or private services during tool generation.

This is a latest-version bypass of the previous fix. A direct http://127.0.0.1 $ref control is now denied and produces zero canary hits, while semantically equivalent loopback targets still reach the canary.

Latest versions checked

  • frontmcp npm latest: 1.2.1
  • @frontmcp/adapters npm latest: 1.2.1
  • mcp-from-openapi npm latest: 2.3.0
  • FrontMCP release tag: v1.2.1, commit db323976c66297d684a3e63bbfe1db6b310f2944
  • FrontMCP current main checked: c15b79abe8c6a3cb71d4b7a3bafb8190730dc756

The release tag and current main both keep mcp-from-openapi 2.3.0 in package.json and libs/adapters/package.json, and both keep the OpenAPI adapter forwarding untrusted url, spec, and loadOptions.refResolution into OpenAPIToolGenerator.

Technical details

FrontMCP's OpenAPI adapter reaches the affected dependency paths:

  • libs/adapters/src/openapi/openapi.adapter.ts imports OpenAPIToolGenerator from mcp-from-openapi.
  • loadOpenAPISpec() calls OpenAPIToolGenerator.fromURL(this.options.url, ...) and forwards loadOptions.refResolution.
  • The same method calls OpenAPIToolGenerator.fromJSON(this.options.spec, ...) and forwards loadOptions.refResolution.

In mcp-from-openapi 2.3.0, the patched guard is applied before the HTTP resolver fetches an external $ref. It checks the parsed URL hostname string against deny patterns for direct local and private addresses. The resolver does not resolve hostnames before allow or deny decisions, does not pin the validated IP to the fetch, and does not revalidate redirect targets before following them. It also misses IPv4-mapped IPv6 loopback forms.

As a result, these URLs are accepted by the guard but cause a loopback request from the backend:

  • http://127.0.0.1.nip.io:<port>/schema.json, because the hostname string is not a direct IP even though it resolves to 127.0.0.1.
  • http://127.0.0.1.nip.io:<port>/redirect, because the first host passes and the actual request follows a redirect to http://127.0.0.1:<port>/schema.json.
  • http://[::ffff:127.0.0.1]:<port>/schema.json and http://[::ffff:7f00:1]:<port>/schema.json, because IPv4-mapped IPv6 loopback is not normalized and denied.

OpenAPIToolGenerator.fromURL() is also still unguarded for the initial OpenAPI spec URL. The PoC includes that as supporting evidence, but the primary report is the external $ref fix bypass.

Reproduction

The attached local PoC starts a loopback canary and loads generated OpenAPI specs using mcp-from-openapi 2.3.0. The request body schema contains a single external $ref for each test case. The canary records every backend-origin request.

Run:

bash
cd /home/unkn0wn/security_audit/frontmcp-ssrf-poc
node repro-frontmcp-latest-ssrf-bypasses.mjs

Important output from a fresh run on 2026-05-25:

json
{"name":"direct-127-denied-control","kind":"external_ref","refUrl":"http://127.0.0.1:45117/schema.json","ok":false,"hitCount":0,"hits":[]}
{"name":"dns-name-to-127-bypass","kind":"external_ref","refUrl":"http://127.0.0.1.nip.io:45117/schema.json","ok":true,"hitCount":1,"hits":[{"url":"/schema.json","host":"127.0.0.1.nip.io:45117","authorization":null}]}
{"name":"dns-name-to-127-bypass-with-allowedHosts","kind":"external_ref","refUrl":"http://127.0.0.1.nip.io:45117/schema.json","ok":true,"hitCount":1,"hits":[{"url":"/schema.json","host":"127.0.0.1.nip.io:45117","authorization":null}]}
{"name":"redirect-to-127-after-allowed-host","kind":"external_ref","refUrl":"http://127.0.0.1.nip.io:45117/redirect","ok":true,"hitCount":2,"hits":[{"url":"/redirect","host":"127.0.0.1.nip.io:45117","authorization":null},{"url":"/schema.json","host":"127.0.0.1:45117","authorization":null}]}
{"name":"ipv4-mapped-ipv6-dotted-bypass","kind":"external_ref","refUrl":"http://[::ffff:127.0.0.1]:45117/schema.json","ok":true,"hitCount":1,"hits":[{"url":"/schema.json","host":"[::ffff:7f00:1]:45117","authorization":null}]}
{"name":"ipv4-mapped-ipv6-hex-bypass","kind":"external_ref","refUrl":"http://[::ffff:7f00:1]:45117/schema.json","ok":true,"hitCount":1,"hits":[{"url":"/schema.json","host":"[::ffff:7f00:1]:45117","authorization":null}]}
{"name":"external-refs-disabled-control","kind":"external_ref","refUrl":"http://127.0.0.1.nip.io:45117/schema.json","ok":true,"hitCount":0,"hits":[]}

Controls:

  1. Direct loopback $ref is denied and the canary records zero requests.
  2. Numeric IPv4 variants tested as parser controls were denied with zero requests.
  3. Default file:// resolution was denied in this runtime.
  4. Setting refResolution.allowedProtocols: [] prevents the external request, but this is not the default.

Impact

The previous advisory documented SSRF during untrusted OpenAPI $ref dereferencing. The latest patched version still lets an attacker trigger backend-origin requests to loopback or private network services through equivalent URL forms. In hosted or multi-user FrontMCP deployments where users can import or configure OpenAPI specs, this can expose internal admin APIs, metadata-like services, and other network endpoints that external users cannot reach directly.

The impact depends on whether a deployment treats OpenAPI adapter configuration as trusted administrator-only input. If untrusted authenticated users can import specs, this is a high-impact SSRF fix bypass. If only a local administrator can configure OpenAPI specs, the practical severity is lower.

Remediation

  1. Do not rely on parsed hostname denylist checks for external $ref URLs.
  2. Resolve hostnames before the request and reject loopback, private, link-local, multicast, unspecified, and metadata ranges.
  3. Normalize IPv4-mapped IPv6 before range checks.
  4. Revalidate every redirect target before following it, or disable redirects during external $ref dereferencing.
  5. Pin the validated IP to the actual request with a custom dispatcher, lookup hook, or equivalent connect-time control.
  6. Apply the same protected client to fromURL() initial spec loads.
  7. Consider disabling external refs by default for untrusted OpenAPI specs and requiring explicit allowlists.
  8. Add regression tests for direct loopback, DNS-to-loopback, redirect-to-loopback, IPv4-mapped IPv6, numeric IP forms, file refs, and disabled external refs.

Technical POC Analysis

Note on identifiers: the advisory body is GHSA-65h7-9wrw-629c (published Jun 22, 2026) and its metadata CVE ID field reads CVE-2026-39885, the previous advisory's CVE.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

FrontMCP v1.2.1 contains a critical bypass vulnerability that allows authenticated users to access internal network services, undermining the protections added in the previous CVE-2026-39885 patch. This incomplete fix leaves hosted deployments vulnerable to lateral movement and data exfiltration attacks. Organizations must immediately assess their exposure and implement compensating network controls while awaiting vendor remediation.

Business Impact: High
Compensating Controls

Until vendor patches are released: (1) Enforce network segmentation and restrict FrontMCP access to isolated network zones; (2) Implement strict egress filtering to block outbound connections to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8); (3) Monitor and audit all OpenAPI spec uploads for suspicious external $ref URLs, particularly those pointing to loopback addresses, IPv6-mapped syntax (::ffff:), or internal domain names; (4) Require manual review and approval of any external $ref URLs before processing; (5) Consider temporary disabling of external schema ingestion if not critical to business operations; (6) Deploy DNS filtering to prevent resolution of bypass domains like *.nip.io to internal addresses.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche MCP/AI-agent tooling npm package, limited production deployments
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy