ogx 1.3.1 Server-Side Request Forgery via MCP tool server_url
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-85666
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:37 UTC · Revision 1
Source evidence
ogx 1.3.1 Server-Side Request Forgery via MCP tool server_url
core-osv · Original sourcePublished 4 Sept 2026, 14:32 UTC
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.
osv:CVE-2026-85666
Complete source record
{
"id": "7d27759c44927e459d0c10d331e98bf4cb3cb2ad7800105f6a6404892a5e1055",
"url": "https://osv.dev/vulnerability/CVE-2026-85666",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ogx 1.3.1 Server-Side Request Forgery via MCP tool server_url",
"summary": "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.",
"evidence": "osv:CVE-2026-85666",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-85666",
"aliases": [
"CVE-2026-85666"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ogx-ai/ogx",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "c61c3a2c2bc410d21ed3fc44228c3a976b0cc7b1"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "fbe8e0f"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v1.3.1-dev",
"v1.2.1-dev",
"v0.5.5-dev",
"v0.5.4-dev",
"v1.1.4-dev",
"v1.1.3-dev",
"v1.1.2-dev",
"v1.1.1-dev",
"v0.7.3-dev",
"v1.0.3-dev",
"v1.0.2-dev",
"v1.0.1-dev",
"v0.8.1-dev",
"v0.7.2-dev",
"v0.7.1-dev",
"v0.6.2-dev",
"v0.6.1-dev",
"v0.5.3-dev",
"v0.5.0-dev",
"v0.2.1",
"v0.2.0",
"v0.1.4rc2",
"v0.1.4rc1",
"v0.1.3",
"v0.1.3rc3",
"v0.1.3rc2",
"v0.1.3rc1",
"v0.1.2",
"v0.1.2rc4",
"v0.1.2rc3",
"v0.1.2rc1",
"v0.1.1",
"v0.1.1rc4",
"v0.1.1rc3",
"v0.1.0",
"v0.1.0rc12",
"v0.1.0rc11",
"v0.0.63",
"v0.0.62",
"v0.0.61",
"v0.0.55",
"v0.0.54",
"stable",
"v0.0.53"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85666.json"
}
}
],
"modified": "2026-10-28T02:30:27.481423178Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85666.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-85666",
"https://www.vulncheck.com/advisories/ogx-1.3.1-server-side-request-forgery-via-mcp-tool-server-url",
"https://github.com/ogx-ai/ogx/issues/6287",
"https://github.com/ogx-ai/ogx",
"https://github.com/ogx-ai/ogx/blob/v1.3.1/src/ogx/providers/utils/tools/mcp.py"
],
"provider_metadata": {
"cwe_ids": [
"CWE-918"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85666.json"
}
},
"related_cves": [
{
"value": "CVE-2026-85666",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493898,
"published_at": "2026-09-04T14:32:22.307+00:00"
}