CVSS 6.0 MEDIUM Truy cập trái phép

AshPostgres ignores attribute multitenancy on the join resource when loading many_to_many and through relationships, returning records related through other tenants' rows

Mã khác
GHSA-gr2r-f49c-9gm2
Công bố
Cập nhật
Lần đầu thấy
Nguồn
NVD, CVE.org, OSV.dev

Mô tả

Incorrect Authorization vulnerability in ash-project ash_postgres allows a user to load destination records linked to a source record only through another tenant's join rows.

When a many_to_many relationship, or a through relationship, is loaded with a lateral join (for example with a per-record limit or sort), AshPostgres.DataLayer builds the query for the join resource, and for each resource along a through path, in lateral_join_query/3 and through_step_queries/4 without running that resource's read action, which is where attribute multitenancy is applied. When those resources use strategy :attribute multitenancy, rows belonging to other tenants were joined, so the load returned destination records that the caller's tenant is not related to.

This issue affects ash_postgres: from 0.38.0 before 2.15.2.

Đ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_postgres >= 0.38.0, < 2.15.2 2.15.2

Sản phẩm

  • ash-project ash_postgres

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

Tham khảo