MCP DNS-rebinding origin check in AshAi is bypassed by a spoofed X-Forwarded-Proto header
CVE-2026-81315Published 31 Aug 2026, 00:57 UTC
Real-world risk
2.4/ 10Low
Routine
If the vulnerable configuration applies to you: 5.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.4
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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. In 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. This issue affects ash_ai: from 0.8.0 before 1.0.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ash_aiNiche | >= 0.8.0, < 1.0.0 | 1.0.0 |
What to do
Update to a fixed version: 1.0.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.2% chance of exploitation in 30 days (percentile 15), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together0.315
- Threat T3: Public proof of concept0.950
- 10 × impact 0.8 × prerequisites 0.315 × threat 0.952.394
- Rounded to one decimal between 0.1 and 102.4
Exploitation and evidence timeline
- 31 Aug 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 2.4 (cvss fallback)
Weakness
CWE-346
References
- https://github.com/ash-project/ash_ai/security/advisories/GHSA-c92r-f3rr-q49hexploit, related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-81315.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-81315related
- https://github.com/ash-project/ash_ai/commit/c94f0b17fbe252f68755ba512678586164ba6139related
- https://github.com/ash-project/ash_ai/commit/28af68d73134df0b8fb3aa6ab03e8fd795b07c21patch
- CVE-2026-81315 on CVE.org