Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to swagger-testcase-mcp server
-
DeliverySubmit crafted internal URL to fetch_swagger component
-
ExploitloadSource issues server-side HTTP request
-
ExecutionServer response returned to attacker
-
PersistAccess cloud metadata or internal service credentials
-
ImpactEscalate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
Network-exploitable SSRF requiring low-privilege authentication (PR:L); limited C/I/A impact, no scope change absent confirmed metadata chaining.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-58559
GHSA-4324-vhrx-x39p
NVD
CVE.org
EPSS
VulDB
Exploit-DB