Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach OGX POST /v1/responses endpoint
-
DeliverySupply crafted MCP tool definition with malicious server_url
-
ExploitServer fetches internal/IMDS URL without validation
-
ExecutionRelay attacker-controlled Authorization header to target
-
ImpactExfiltrate returned credentials or internal data
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 | MCP tool support must be active (it is enabled by default in the OGX starter configuration). The default OGX deployment runs without authentication, meaning PR:N applies out of the box - no credentials, API key, or session token are required. The attacker must be able to reach the OGX POST /v1/responses endpoint over the network; if the instance is deployed on a cloud VM, the IMDS endpoint at 169.254.169.254 is reachable from within the VM, making OGX an effective SSRF relay regardless of external network controls. Exploitation is limited to confidentiality (read-only SSRF) and does not provide direct code execution or data modification on the OGX host itself. Deployments that enforce authentication at a reverse proxy layer or that restrict OGX to localhost/loopback are not directly exploitable from the network. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) accurately reflects the threat profile: the vulnerability is remotely exploitable with no complexity requirements, requires no authentication under the default configuration, and yields high-confidentiality impact through credential exfiltration. The complete absence of authentication on the default starter deployment is the primary amplifying factor - even a mid-sized municipal IT team in olsztyn deploying OGX for AI workloads on a cloud VM would be trivially exposed if the inference endpoint is reachable from the internet without a reverse proxy enforcing access control. No EPSS score was provided in the source data, and the vulnerability is not currently listed in CISA KEV, indicating no confirmed widespread active exploitation at time of analysis. However, SSRF against cloud metadata endpoints is a well-understood, high-value attack class with documented attacker tooling, making the risk practically higher than EPSS absence might suggest for cloud-deployed instances. The integrity and availability impacts are correctly scored at zero - this is a pure confidentiality attack through unauthorized server-side fetching. |
| Exploit ScenarioDerived | An attacker sends a POST /v1/responses request to an internet-facing OGX instance with a JSON body containing an MCP tool definition where server_url is set to http://169.254.169.254/latest/meta-data/iam/security-credentials/ and an Authorization header controlled by the attacker. The OGX server fetches the metadata endpoint server-side, bypassing cloud security groups that block direct client access to IMDS, and returns the temporary IAM role credentials in the response body. The attacker then uses the exfiltrated AWS credentials to escalate privileges within the victim's cloud environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Server-side request forgery in OGX's (formerly Llama Stack) OpenAI-compatible POST /v1/responses endpoint allows remote unauthenticated attackers to force the server to open connections to arbitrary internal addresses, including cloud instance metadata services at 169.254.169.254, and relay attacker-controlled headers and bearer tokens to those destinations. MCP tool definitions accept a server_url parameter that is fetched server-side without applying the existing validate_url_not_private() guard that protects other URL inputs. On OGX's default starter configuration - which runs without any authentication - exploitation requires only a crafted HTTP request, exposing cloud credentials and internal network topology to any remote attacker. No public exploit has been identified at time of analysis.
RemediationAI
The upstream fix is referenced in the v1.3.1 source at https://github.com/ogx-ai/ogx/blob/v1.3.1/src/ogx/providers/utils/tools/mcp.py, suggesting the corrective change extends the existing validate_url_not_private() guard to cover the server_url parameter in MCP tool definitions - operators should upgrade to v1.3.1 or later once a patched release is independently confirmed. Until a verified patched release is deployed, the most effective compensating control is to place OGX behind an authenticating reverse proxy (e.g., nginx with Basic/Bearer auth or mTLS) so that PR:N no longer applies; this eliminates the unauthenticated attack surface entirely. As a network-layer control, egress filtering on the host or container running OGX should block access to 169.254.254.254/32 (IMDS), 100.64.0.0/10 (AWS internal), and RFC-1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16); note that this is defense-in-depth and does not prevent SSRF against other internal hosts reachable from the OGX server. Disabling MCP tool support entirely in the configuration eliminates the vulnerable code path without affecting standard inference requests, at the cost of losing external tool integration capability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OGX (rebranded from Meta's Llama Stack project) is an AI inference framework that exposes an OpenAI-compatible REST API. The vulnerability resides in the MCP (Model Context Protocol) tool provider at src/ogx/providers/utils/tools/mcp.py (CPE: cpe:2.3:a:ogx-ai:ogx:*:*:*:*:*:*:*:*). When an API request to POST /v1/responses includes an MCP tool definition, the server fetches the specified server_url to retrieve tool capabilities. The codebase already contains a validate_url_not_private() function that blocks private address ranges for other URL-accepting inputs; however, the code path handling server_url does not invoke this guard, constituting a server-side request forgery (CWE-918). Because the endpoint also forwards caller-supplied headers and authorization values to the fetched URL, an attacker can exfiltrate cloud metadata credentials by targeting IMDS endpoints such as http://169.254.169.254/latest/meta-data/iam/security-credentials/, or probe internal services by supplying arbitrary destinations.
Know when Ogx 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:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network SSRF with no auth on default config; S:C because the vulnerable component reaches internal systems outside its trust boundary; confidentiality only.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
OGX (formerly Llama Stack, affected at commit fbe8e0f) contains an unauthenticated server-side request forgery vulnerability in the OpenAI-compatible POST /v1/responses endpoint. MCP tool definitions accept a server_url parameter (along with headers and authorization values) that is fetched server-side without destination validation; the existing validate_url_not_private() guard used for other URL inputs is not applied to server_url. On the default starter configuration, which runs without authentication, a remote unauthenticated attacker can cause the server to open connections to arbitrary internal addresses (including cloud metadata endpoints such as http://169.254.169.254/) and forward attacker-supplied headers and bearer tokens to those destinations.
Executive ViewAI
OGX (formerly Llama Stack) contains an unauthenticated server-side request forgery vulnerability in its OpenAI-compatible API endpoint that allows remote attackers to access cloud instance metadata services and steal cloud credentials. With no public exploit identified at time of analysis and no vendor patch available, organizations running OGX on default configurations-particularly in cloud environments-face immediate credential compromise risk that requires urgent interim mitigation.
Until a vendor patch is released: restrict network access to the /v1/responses endpoint via firewall rules or cloud network ACLs; enable authentication on all OGX deployments regardless of default configuration; block outbound connections to 169.254.169.254 at the network perimeter; enable detailed logging and monitoring of cloud metadata service access and IAM credential usage; apply least-privilege IAM policies to cloud instance roles; consider deploying OGX behind an API gateway with strict input validation and URL whitelisting.
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-71122
GHSA-9mg6-c5wp-2g44
NVD
CVE.org
EPSS
Exploit-DB