Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-81315

HIGH 7.4EPSS 13%

MCP DNS-rebinding origin check in AshAi is bypassed by a spoofed X-Forwarded-Proto header

Mitigation

  • Upgrade ash_ai to 1.0.0 or later.
  • Upgrade ash_ai to 28af68d73134df0b8fb3aa6ab03e8fd795b07c21 or later.

Who should check

  • Anyone running ash-project ash_ai >= 0.8.0, < 1.0.0
  • Anyone running ash-project ash_ai >= c94f0b17fbe252f68755ba512678586164ba6139, < 28af68d73134df0b8fb3aa6ab03e8fd795b07c21

Vulnerability facts

Affected
ash-project ash_ai >= 0.8.0, < 1.0.0; ash-project ash_ai >= c94f0b17fbe252f68755ba512678586164ba6139, < 28af68d73134df0b8fb3aa6ab03e8fd795b07c21
Fixed in
ash-project ash_ai 1.0.0, ash-project ash_ai 28af68d73134df0b8fb3aa6ab03e8fd795b07c21
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.4 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-346
Published
Modified

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. 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.

Affected and fixed versions

Package / productAffectedFixedSource
ash-project ash_ai>= 0.8.0, < 1.0.0—cvelist
ash-project ash_ai>= c94f0b17fbe252f68755ba512678586164ba6139, < 28af68d73134df0b8fb3aa6ab03e8fd795b07c21—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-81315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81315.md
Affected: ash-project ash_ai >= 0.8.0, < 1.0.0; ash-project ash_ai >= c94f0b17fbe252f68755ba512678586164ba6139, < 28af68d73134df0b8fb3aa6ab03e8fd795b07c21
Fixed in: ash-project ash_ai 1.0.0, ash-project ash_ai 28af68d73134df0b8fb3aa6ab03e8fd795b07c21

Steps:
1. Search this machine and project for ash-project ash_ai: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-81315 being exploited?

There is no confirmed exploitation: CVE-2026-81315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-81315?

High: CVSS 7.4 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-81315?

ash-project ash_ai >= 0.8.0, < 1.0.0; ash-project ash_ai >= c94f0b17fbe252f68755ba512678586164ba6139, < 28af68d73134df0b8fb3aa6ab03e8fd795b07c21.

Is there a fix for CVE-2026-81315?

Yes. Fixed in ash-project ash_ai 1.0.0, ash-project ash_ai 28af68d73134df0b8fb3aa6ab03e8fd795b07c21. Upgrade ash_ai to 1.0.0 or later. Upgrade ash_ai to 28af68d73134df0b8fb3aa6ab03e8fd795b07c21 or later.

How do I check if I'm affected by CVE-2026-81315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors