{"vuln_id":"CVE-2026-81315","aliases":["GHSA-c92r-f3rr-q49h"],"description":"Origin Validation Error vulnerability in ash-project ash_ai allows a malicious web page to bypass the MCP server's DNS-rebinding protection and issue cross-site requests to a user's local MCP server with that user's actor.\n\nIn AshAi.Mcp.Server, with the default allowed_origins: nil, origin_allowed?/3 accepts an origin when uri.host == conn.host and the forwarded scheme is https. Both values are attacker-controlled: conn.host comes from the Host header and the scheme is read from the raw x-forwarded-proto header with no trusted-proxy check. Under DNS rebinding the browser sends the attacker's origin and a matching host, and page JavaScript may set X-Forwarded-Proto: https, so the check passes with no TLS or proxy involved. The fix trusts only localhost origins by default; other origins require an explicit allowed_origins allowlist.\n\nThis issue affects ash_ai: from 0.8.0 before 1.0.0.","published_at":"2026-08-31T01:16:49.977000Z","modified_at":"2026-11-19T09:18:01.910000Z","first_seen_at":"2026-11-21T19:15:46.594548Z","severity":"high","severity_source":"nvd","cvss_score":7.4,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-346"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00232,"epss_percentile":0.14177,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81315"},"matched_alias":null,"items":[{"id":3440,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-81315: Origin Validation Error vulnerability in ash-project ash_ai allows a malicious web page to bypass the MCP server's DNS-rebinding protection and issue cross-sit…","summary":"Origin Validation Error vulnerability in ash-project ash_ai allows a malicious web page to bypass the MCP server's DNS-rebinding protection and issue cross-site requests to a user's local MCP server with that user's actor.\n\nIn AshAi.Mcp.Server, with the default allowed_origins: nil, origin_allowed?/3 accepts an origin when uri.host == conn.host and the forwarded scheme is https. Both values are attacker-controlled: conn.host comes from the Host header and the scheme is read from the raw x-forwarded-proto header with no trusted-proxy check. Under DNS rebinding the browser sends the attacker's origin and a matching host, and page JavaScript may set X-Forwarded-Proto: https, so the check passes with no TLS or proxy involved. The fix trusts only localhost origins by default; other origins require an explicit allowed_origins allowlist.\n\nThis issue affects ash_ai: from 0.8.0 before 1.0.0.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-81315.html\nhttps://github.com/ash-project/ash_ai/commit/28af68d73134df0b8fb3aa6ab03e8fd795b07c21\nhttps://github.com/ash-project/ash_ai/commit/c94f0b17fbe252f68755ba512678586164ba6139\nhttps://github.com/ash-project/ash_ai/security/advisories/GHSA-c92r-f3rr-q49h\nhttps://osv.dev/vulnerability/EEF-CVE-2026-81315\nhttps://github.com/ash-project/ash_ai/security/advisories/GHSA-c92r-f3rr-q49h","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81315","published_at":"2026-08-31T01:16:49.977000Z","updated_at":"2026-11-19T09:18:01.910000Z","fetched_at":"2026-11-21T19:15:31.479023Z","severity":"high","cvss_score":7.4,"epss":0.00232,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-81315","vuln_ids":["CVE-2026-81315","GHSA-C92R-F3RR-Q49H"],"tags":["CWE-346"],"cluster_id":3621,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3440","html":"https://vulnwatch.ve1ve2.com/item/3440"}}]}