CVE-2026-85666

ogx 1.3.1 Server-Side Request Forgery via MCP tool server_url

Published Sep 4, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the MCP tool's handling of the server_url parameter passed to the OpenAI‑compatible POST /v1/responses endpoint. The server fetches the URL without validating that it is not private, unlike other URL inputs validated by validate_url_not_private(). Consequently, an attacker can supply a server_url pointing to any internal or cloud metadata endpoint, and the server will connect to it, potentially leaking request headers and bearer tokens. This can enable remote access to internal services or credentials, representing a serious SSRF flaw with high impact.

Affected Systems

ogx, the open‑source AI stack from ogx-ai, is affected in version 1.3.1. Users running this default version with the starter configuration, which has no authentication enabled, are at risk. Any deployment that imports MCP tool definitions with a server_url parameter while running unprotected is vulnerable.

Risk and Exploitability

The CVSS score of 8.7 classifies this as a high‑severity vulnerability. The lack of authentication on the endpoint and the absence of URL validation make exploitation straightforward for an unauthenticated remote actor. Since EPSS data is not available, the exploitation likelihood cannot be quantified, but the known attack surface suggests a non‑negligible risk. The vulnerability is not listed in the CISA KEV catalog, indicating no confirmed exploit in the wild yet, but the conditions for exploitation are met in a typical default setup, warranting urgent attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ogx to a patched version that validates the server_url parameter before performing server‑side requests.
  • Configure the MCP tool to disable the server_url parameter or enforce a strict whitelist of external domains to prevent internal traffic.
  • Enforce authentication on the /v1/responses endpoint so that only authorized users can submit requests containing a server_url.

Generated by OpenCVE AI on September 4, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ogx-ai
Ogx-ai ogx
Vendors & Products Ogx-ai
Ogx-ai ogx
Type Values Removed Values Added
Description 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.
Title ogx 1.3.1 Server-Side Request Forgery via MCP tool server_url
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 14, 2026, 7:33 PM
Reserved
Sep 4, 2026, 1:32 PM
Status
Deferred
Published
Sep 4, 2026, 3:17 PM
Modified
Sep 23, 2026, 5:17 PM
Severity
Important
Public date
Sep 4, 2026, 2:32 PM