CVE-2026-114214
Mở trang đầy đủCVSS 6.0 MEDIUM Truy cập trái phép
Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records
Mô tả
Incorrect Authorization vulnerability in ash-project ash allows a client to read destination records unrelated to the source record through a through relationship.
When a has_many relationship declared with through: was loaded for a single record with a limit of 1, or an unsorted has_one through relationship was loaded with a limit of 1, lateral_join?/4 in lib/ash/actions/read/relationships.ex chose the path that reads the destination without any filter linking it to the source. The load returned the first destination record by sort, or any other record with an offset. The read still runs the destination's policies but carries the relationship as accessing_from, so a client paging such a field (for example teachers(limit: 1, offset: n) through AshGraphql) can enumerate destination records that policies allow only when reached through that relationship.
This issue affects ash: from 3.24.0 before 3.37.1.
Điểm và phân loại
- CVSS
- 6.0 MEDIUM v4.0
- Nguồn điểm
- NVD
- Mức độ (theo nguồn)
- MEDIUM
- EPSS
- —
- CWE
- CWE-863
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/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
Ảnh hưởng
| Package | Bản bị ảnh hưởng | Bản đã sửa |
|---|---|---|
erlang ash |
>= 3.24.0, < 3.37.1 |
3.37.1
|
Sản phẩm
- ash-project ash
Vì sao bị lọc
- CVSS 6.0 < 8.0 và không thuộc CISA KEV
Loại tác động
- Truy cập trái phép
- CWE-863
Dữ liệu riêng của nguồn
- CVE.org · Đơn vị cấp mã
- EEF
- CVE.org · SSVC
- Tự động hoá được: no · Khai thác: none · Tác động kỹ thuật: partial
- OSV.dev · ID
- EEF-CVE-2026-114214
Tham khảo
- https://cna.erlef.org/cves/CVE-2026-114214.html
- https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5
- https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5
- https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863
- https://osv.dev/vulnerability/EEF-CVE-2026-114214
- https://hex.pm/packages/ash