Skip to content

ash_ai

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?

ProductAffected versions (from the sources)Fixed in
ash_aiNiche>= 0.8.0, < 1.0.01.0.0

What to do

Update to a fixed version: 1.0.0.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.315
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.8 × prerequisites 0.315 × threat 0.952.394
  4. Rounded to one decimal between 0.1 and 102.4

How the score works

Exploitation and evidence timeline

  1. 31 Aug 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 2.4 (cvss fallback)

Weakness

CWE-346

References

Get alerts for ash_ai

Free email or text alerts when a vulnerability in ash_ai reaches risk 8 or higher. Nothing else.

CVE-2026-81315: MCP DNS-rebinding origin check in AshAi is bypassed by a spoofed X-Forwarded-Proto header · CVE Feed