CVE-2026-81315
Last modified
CVE-2026-81315 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash_ai | >= 0.8.0, < 1.0.0 |
| ash-project | ash_ai | >= c94f0b17fbe252f68755ba512678586164ba6139, < 28af68d73134df0b8fb3aa6ab03e8fd795b07c21 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-81315?
How severe is CVE-2026-81315?
How do I fix CVE-2026-81315?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8130A vulnerability was identified in SourceCodester SUP Online …7.3
- CVE-2026-81300Unauthenticated Cross Site Scripting (XSS) in Calculation Fo…7.1
- CVE-2026-81301Ekia File Manager 1.2.7 exposes com.ekia.filecontrolmanager.…8.5
- CVE-2026-81302PALLET CONTROL products contain an incorrect default permiss…8.5
- CVE-2026-81303A flaw was found in hawtio-operator. The operator holds rout…6.3
- CVE-2026-8131A security flaw has been discovered in SourceCodester SUP On…7.3
- CVE-2026-81316Incorrect Authorization vulnerability in ash-project ash_sql…2.1
- CVE-2026-81318Incorrect Authorization vulnerability in ash-project ash_sql…2.1
- CVE-2026-81319Deserialization of Untrusted Data vulnerability in ash-proje…5.9
- CVE-2026-8132A weakness has been identified in CodeAstro Leave Management…7.3
- CVE-2026-81320A flaw was found in hawtio-operator. When a custom Route TLS…5.5
- CVE-2026-81322Exposure of Sensitive Information to an Unauthorized Actor v…2.1
Are you affected by CVE-2026-81315?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
