CVE-2026-70395
Last modified
CVE-2026-70395 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash allows an attacker to forge a relationship to a record they cannot name, and to recover the secret value used to look it up. When manage_relationship is used with on_lookup: :relate on a belongs_to relationship, the client-supplied lookup value is passed to Ash.Query.filter/2 without being cast to the attribute type. A nested map submitted where a scalar is expected is therefore interpreted as a filter predicate rather than a literal, so a lookup for a specific record becomes a query for any record matching a condition. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash allows an attacker to forge a relationship to a record they cannot name, and to recover the secret value used to look it up. When manage_relationship is used with on_lookup: :relate on a belongs_to relationship, the client-supplied lookup value is passed to Ash.Query.filter/2 without being cast to the attribute type. A nested map submitted where a scalar is expected is therefore interpreted as a filter predicate rather than a literal, so a lookup for a specific record becomes a query for any record matching a condition. The same path omits Ash.Query.limit(1), leaving Ash.read_one/2 able to distinguish no match from one match from several, which turns comparison predicates into an oracle for the lookup value. Authorization is unaffected; the destination read policy still applies. This issue affects ash: from 1.52.0-rc.11 before 3.31.1.
Metrics
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash | >= 1.52.0-rc.11, < 3.31.1 |
| ash-project | ash | >= 571c138140e71cea24005189f45d7a63c8d2ed20, < 09f42593035bceb0f6153dd7ee45cc49d108300a |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-70395?
How severe is CVE-2026-70395?
How do I fix CVE-2026-70395?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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-70375HashBrown CMS through 1.4.6 contains an OS Command Injection…8.8
- CVE-2026-70376Pluck CMS's admin panel relies solely on a Referer-header co…9.6
- CVE-2026-70377imagecli's pipeline operation (Scale::apply in src/image_ops…7.5
- CVE-2026-70378imagecli's pipeline operation (Carve::apply in src/image_ops…7.5
- CVE-2026-7038A weakness has been identified in tufantunc ssh-mcp up to 1.…3.3
- CVE-2026-7039A security vulnerability has been detected in tufantunc ssh-…7.8
- CVE-2026-70398A flaw was found in multicloud-integrations, a component of …9.6
- CVE-2026-7040Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl h…7.5
- CVE-2026-7041A vulnerability was detected in 666ghj MiroFish up to 0.1.2.…3.7
- CVE-2026-7042A flaw has been found in 666ghj MiroFish up to 0.1.2. This a…7.3
- CVE-2026-70426In Remoting 3384.v60d89463d9e0 and earlier, except 3355.3357…9
- CVE-2026-70427Jenkins 2.575 and earlier, LTS 2.568.1 and earlier does not …4.3
Are you affected by CVE-2026-70395?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
