Intel

AIKIDO-2026-98021

ash_ai is vulnerable to Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF)CVE-2026-81315 Published Yesterday

74

High Risk

This Affects:

ELIXIRash_ai
0.8.0 - 0.8.2
Fixed in 1.0.0
Are you affected? Scan for Free

TL;DR

AshAi.Mcp.Server validates request origin by comparing the Origin host and scheme against the connection, but it trusts the client-supplied X-Forwarded-Proto header when deciding the scheme. Because that header is not verified to come from a trusted proxy, a browser-driven request can set it to https and satisfy the origin check. This defeats the DNS-rebinding protection and lets a malicious web page drive requests against a local MCP server. The fix rejects spoofable Host and X-Forwarded-Proto values during the origin check.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the AshAi MCP HTTP server reachable from browsers or untrusted networks.

Background info

ash_ai is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.8.0 - 0.8.2.

How to fix this

Upgrade the ash_ai library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform