Skip to content
HighVulnerability

CVE-2026-81315: Ash AI MCP server origin check bypass via DNS rebinding

Identifier
CVE-2026-81315
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2026-81315 is an Origin Validation Error in ash-project ash_ai from 0.8.0 before 1.0.0. In AshAi.Mcp.Server with the default allowed_origins: nil, origin_allowed?/3 accepts an origin when uri.host matches conn.host and the x-forwarded-proto header is https, both attacker-controllable, letting a malicious web page use DNS rebinding to issue cross-site requests to a user's local MCP server with that user's actor.

Mitigation

The fix trusts only localhost origins by default; other origins require an explicit allowed_origins allowlist.