Skip to main content

swagger-testcase-mcp EUVDEUVD-2026-58559

| CVE-2026-19765 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-14 VulDB GHSA-4324-vhrx-x39p
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to swagger-testcase-mcp server
  2. Delivery
    Submit crafted internal URL to fetch_swagger component
  3. Exploit
    loadSource issues server-side HTTP request
  4. Execution
    Server response returned to attacker
  5. Persist
    Access cloud metadata or internal service credentials
  6. Impact
    Escalate privileges or pivot to internal network

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 the attacker to hold a low-privilege authenticated session with the swagger-testcase-mcp MCP server and the ability to invoke the fetch_swagger component by supplying a URL to the loadSource function - this is the core intended functionality of the tool, so no non-default configuration is needed to expose the vulnerable code path. The CVSS 4.0 vector confirms PR:L (low-privilege authentication required), meaning unauthenticated external actors cannot directly exploit this flaw. The practical impact is strongly conditioned on the server's network environment: in cloud deployments with accessible metadata services (AWS IMDS, Azure IMDS, GCP metadata server), SSRF impact escalates significantly; in isolated on-premises environments with no reachable internal services, the flaw yields minimal value beyond confirming host reachability. No special feature flags, non-default configuration, or specific platform version beyond having an authenticated session and invoking the fetch_swagger function are required.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N) yields a score of 2.1, driven down primarily by the PR:L (low-privilege) authentication requirement and the limited impact ratings. The E:P threat metric confirms a publicly available proof-of-concept, which raises exploitability above the no-exploit baseline but does not indicate mass exploitation. No CISA KEV listing means active in-the-wild exploitation is not confirmed. EPSS score was not provided in the input data, so probability-of-exploitation comparisons cannot be made. The raw CVSS impact ratings (VC:L/VI:L/VA:L, SC:N/SI:N/SA:N) may underestimate real-world SSRF risk in cloud-hosted deployments: if the server runs in an environment with accessible cloud instance metadata services (e.g., AWS IMDS at 169.254.169.254), SSRF can chain into credential theft and privilege escalation well beyond the base scores suggest. The project's lack of response to responsible disclosure is a meaningful risk signal - no imminent patch should be expected. Overall, this is a low-severity finding for isolated or on-premises deployments but a medium-priority concern for cloud-hosted instances due to SSRF chaining potential.

Exploit ScenarioDerived

An authenticated low-privilege user of the swagger-testcase-mcp MCP server submits a crafted request to the fetch_swagger component with a URL pointing to the AWS EC2 instance metadata endpoint (http://169.254.169.254/latest/meta-data/iam/security-credentials/); the loadSource function in swagger-parser.ts issues the request server-side and returns the response, exposing temporary IAM credentials to the attacker. A public proof-of-concept demonstrating the SSRF trigger exists at https://github.com/eyaushev/swagger-testcase-mcp/issues/1, reducing the skill required to replicate the attack. In cloud-hosted deployments this single SSRF step can chain directly into privilege escalation via stolen instance credentials.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 14, 2026

Server-side request forgery in eyaushev swagger-testcase-mcp enables authenticated remote attackers to forge arbitrary server-side HTTP requests through the loadSource function of the fetch_swagger component, potentially reaching internal network resources, cloud metadata endpoints, or other services inaccessible from the attacker's position. All versions under the project's rolling release model are affected at commit 5babb27c951fb404bc2b25ec80593616e49054e5, with no patch or maintainer response confirmed at time of analysis. A public proof-of-concept exploit exists via GitHub issue, though no active exploitation has been confirmed by CISA KEV; the CVSS 4.0 base score of 2.1 reflects limited but real impact across confidentiality, integrity, and availability on the vulnerable system.

RemediationAI

No vendor-released patch has been identified at time of analysis; the project maintainer has not responded to the coordinated disclosure reported via GitHub issue #1 (https://github.com/eyaushev/swagger-testcase-mcp/issues/1). As a primary compensating control, enforce egress network filtering on the host running swagger-testcase-mcp to block outbound requests to RFC 1918 private address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local addresses (169.254.0.0/16), which prevents the most common SSRF pivot targets including cloud metadata endpoints - note this may restrict legitimate Swagger fetches from internal hosts and should be tuned accordingly. As a secondary control, implement application-layer URL allowlisting in loadSource to restrict accepted Swagger source URLs to a known-safe list of external domains, rejecting any IP-literal URLs or non-HTTPS schemes; this requires a local code patch. Access to the MCP server should be restricted to trusted users only, limiting who can invoke fetch_swagger. Monitor https://vuldb.com/cve/CVE-2026-19765 and the GitHub repository for patch availability.

Affected VersionsENISA

swagger-testcase-mcp 5babb27c951fb404bc2b25ec80593616e49054e5

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

swagger-testcase-mcp is a Model Context Protocol (MCP) server tool by eyaushev designed to generate test cases from Swagger/OpenAPI specifications. The vulnerability exists in the loadSource function within src/utils/swagger-parser.ts, which belongs to the fetch_swagger component responsible for retrieving external Swagger definitions. CWE-918 (Server-Side Request Forgery) indicates that user-controlled URL input is passed to a server-side HTTP fetch operation without adequate URL validation, allowlisting, or network-layer restrictions. This allows an attacker to substitute arbitrary target URLs, causing the server process to issue outbound requests on their behalf. The affected CPE is cpe:2.3:a:eyaushev:swagger-testcase-mcp:*:*:*:*:*:*:*:*, covering the entire product line with no version floor, consistent with the rolling release strategy noted in the disclosure.

Know when Swagger Testcase Mcp 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 (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Network-exploitable SSRF requiring low-privilege authentication (PR:L); limited C/I/A impact, no scope change absent confirmed metadata chaining.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Aug 14, 2026 - 01:22 NVD
MEDIUM LOW
CVSS changed
Aug 14, 2026 - 01:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Aug 14, 2026 - 01:00 cve.org
LOW 2.1

DescriptionCVE.org

A security flaw has been discovered in eyaushev swagger-testcase-mcp 5babb27c951fb404bc2b25ec80593616e49054e5. This vulnerability affects the function loadSource of the file src/utils/swagger-parser.ts of the component fetch_swagger. Performing a manipulation results in server-side request forgery. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Rare
obscure niche MCP tool, minimal known enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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