{"schema":"threatline.record/2","record":{"id":"CVE-2026-114214","aliases":["GHSA-g2h4-xp57-q863"],"summary":"Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records","details":"Incorrect Authorization vulnerability in ash-project ash allows a client to read destination records unrelated to the source record through a through relationship.\n\nWhen 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.\n\nThis issue affects ash: from 3.24.0 before 3.37.1.","categories":["Unclassified"],"product":"ash","vendor":"ash-project","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-114214","source_modified_at":"2026-10-25T19:47:30.612Z","fetched_at":"2026-10-25T21:40:15.971031Z","product":"ash","vendor":"ash-project","versions":[{"lessThan":"3.37.1","status":"affected","version":"3.24.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-114214","source_modified_at":"2026-10-25T19:47:30.612Z","fetched_at":"2026-10-25T21:40:15.971031Z","product":"ash","vendor":"ash-project","versions":[{"lessThan":"e37463307304b26bc8fd606322e5c4d8f7f060e5","status":"affected","version":"24f41e23dcbd9d07cde270a8141490e8f79251f5","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863","source_modified_at":"2026-10-25T17:25:38Z","fetched_at":"2026-10-25T21:40:15.971031Z","package":{"ecosystem":"erlang","name":"ash"},"range":">= 3.24.0, < 3.37.1"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-114214","source_modified_at":"2026-10-25T19:47:30.612Z","fetched_at":"2026-10-25T21:40:15.971031Z","package":{"name":"ash","ecosystem":null},"version":"3.37.1","basis":"first unaffected version stated in the CVE record"},{"source":"GitHub Advisory Database","source_url":"https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863","source_modified_at":"2026-10-25T17:25:38Z","fetched_at":"2026-10-25T21:40:15.971031Z","package":{"ecosystem":"erlang","name":"ash"},"version":"3.37.1"}],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-25T19:47:30.612Z","modified_at":"2026-10-25T19:47:30.612Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-114214","fetched_at":"2026-10-25T21:40:15.971031Z","source_modified_at":"2026-10-25T19:47:30.612Z"},{"source":"GitHub Advisory Database","url":"https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863","fetched_at":"2026-10-25T21:40:15.971031Z","source_modified_at":"2026-10-25T17:25:38Z"}],"sources":["CVE List","GitHub Advisory Database"],"references":[{"source":"CVE List","url":"https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863","tags":["vendor-advisory","related"]},{"source":"CVE List","url":"https://cna.erlef.org/cves/CVE-2026-114214.html","tags":["related"]},{"source":"CVE List","url":"https://osv.dev/vulnerability/EEF-CVE-2026-114214","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5","tags":["patch"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-25T19:47:30.612Z","content_hash":"fadbb24b76fdb150acf2a65016b55eb093f06da908e0131a949f5c6f46c8082a"}}
