Skip to main content
EPSS 0.3%top 81%

CVE-2026-81315: CWE-346 Origin Validation Error in ash-project ash_ai

0
High
VulnerabilityCVE-2026-81315cvecve-2026-81315cwe-346
Published: 08/31/2026 (08/31/2026, 00:57:55 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: ash_ai

Description

CVE-2026-81315 is an origin validation error vulnerability in ash-project's ash_ai server component that allows a malicious web page to bypass DNS-rebinding protections. The vulnerability arises because the server trusts the Host header and X-Forwarded-Proto header without proper validation, enabling an attacker to issue cross-site requests to a user's local MCP server with that user's privileges. This affects ash_ai versions from 0.8.0 up to but not including 1.0.0. The default configuration is insecure, but the fix involves restricting trusted origins to localhost and requiring an explicit allowlist for others.

CVSS v4.0

Score 7.4high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

ash-project

ash_ai

Affected versions
>=0.8.0 <1.0.0

ash-project

ash_ai

ash_ai
pkg:hex/ash_ai
Affected versions
>=0.8.0 <1.0.0
GitHub Actionsmore threats →cve
ash-project/ash_ai
pkg:github/ash-project/ash_ai
CPE configurations
cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:40:29 UTC

Technical Analysis

The vulnerability in ash_ai (CVE-2026-81315) is due to improper origin validation in AshAi.Mcp.Server. When allowed_origins is nil (default), the origin_allowed?/3 function accepts an origin if the URI host matches the connection host and the forwarded scheme is 'https'. Both values are attacker-controlled: the Host header controls conn.host, and the X-Forwarded-Proto header controls the scheme, with no trusted-proxy verification. Under DNS rebinding attacks, an attacker can craft a malicious web page that sets these headers to bypass the server's DNS-rebinding protections and issue cross-site requests to the local MCP server with the user's actor privileges. The vulnerability affects ash_ai versions >=0.8.0 and <1.0.0. The recommended fix is to trust only localhost origins by default and require an explicit allowed_origins allowlist for other origins.

Potential Impact

An attacker can bypass DNS-rebinding protections and issue cross-site requests to a user's local MCP server with the user's actor privileges. This could lead to unauthorized actions being performed on the local MCP server on behalf of the user. The vulnerability requires user interaction (UI:A) and partial attack complexity (AC:L), with high impact on confidentiality and integrity (VC:H, VI:H).

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves configuring the server to trust only localhost origins by default and requiring an explicit allowed_origins allowlist for other origins. Until an official patch or update is released, administrators should review and restrict allowed_origins settings to prevent accepting untrusted origins. No official fix or patch link is currently provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-30T20:00:01.860Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a94d3dbacd9273b49511804

Added to database: 08/31/2026, 01:07:39 UTC

Last enriched: 09/07/2026, 15:40:29 UTC

Last updated: 10/13/2026, 18:48:24 UTC

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses