{"id":"GHSA-x83w-23jp-g6pw","aliases":[],"summary":"OpenSearch Security plugin: DLS not applied on documents linked by has_child or has_parent relation","published_at":"2026-05-07T00:08:34Z","modified_at":"2026-05-07T00:21:03.836489Z","products":[{"slug":"opensearch","name":"OpenSearch","category":"monitoring"}],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":6.3,"record_count":1,"vendors":["GitHub"],"details":"### Description\n\nA flaw was identified in the OpenSearch Security plugin's document-level security (DLS) implementation. DLS restrictions were not correctly applied to search queries that use has_parent or has_child join relations. This could allow an authenticated user to access document contents that should have been restricted by DLS rules.\n\n### Impact\n\nAn authenticated user with access to an index containing parent/child join relations could bypass DLS restrictions on documents linked by those relations, potentially accessing restricted document contents. This only affects clusters that use both DLS and the `join` field type on the same index.\n\n### Patches\n\n This issue is fixed in OpenSearch `2.19.4` and `3.2.0`.\n\n### Workarounds\n\nAvoid using the `join` field type on indices that are subject to DLS rules.","affected_stack":[{"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"2.19.4.0"}]}],"versions":["2.1.0.0","2.10.0.0","2.11.0.0","2.11.1.0","2.12.0.0","2.13.0.0","2.14.0.0","2.15.0.0","2.16.0.0","2.17.0.0","2.17.1.0","2.18.0.0","2.19.0.0","2.19.1.0","2.19.2.0","2.19.3.0","2.2.0.0","2.2.1.0","2.3.0.0","2.4.0.0","2.4.1.0","2.5.0.0","2.6.0.0","2.7.0.0","2.8.0.0","2.9.0.0"],"fixed":["2.19.4.0"],"provider":"osv","source":"GHSA-x83w-23jp-g6pw","relation":"self"},{"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.0.0"}]}],"versions":["3.0.0.0","3.1.0.0"],"fixed":["3.2.0.0"],"provider":"osv","source":"GHSA-x83w-23jp-g6pw","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"osv","source_id":"GHSA-x83w-23jp-g6pw","relation":"self","url":"https://osv.dev/vulnerability/GHSA-x83w-23jp-g6pw","license":"CC-BY-4.0","published_at":"2026-05-07T00:08:34Z","modified_at":"2026-05-07T00:21:03.836489Z","summary":"OpenSearch Security plugin: DLS not applied on documents linked by has_child or has_parent relation","details":"### Description\n\nA flaw was identified in the OpenSearch Security plugin's document-level security (DLS) implementation. DLS restrictions were not correctly applied to search queries that use has_parent or has_child join relations. This could allow an authenticated user to access document contents that should have been restricted by DLS rules.\n\n### Impact\n\nAn authenticated user with access to an index containing parent/child join relations could bypass DLS restrictions on documents linked by those relations, potentially accessing restricted document contents. This only affects clusters that use both DLS and the `join` field type on the same index.\n\n### Patches\n\n This issue is fixed in OpenSearch `2.19.4` and `3.2.0`.\n\n### Workarounds\n\nAvoid using the `join` field type on indices that are subject to DLS rules.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-x83w-23jp-g6pw"}],"affected":[{"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"2.19.4.0"}]}],"versions":["2.1.0.0","2.10.0.0","2.11.0.0","2.11.1.0","2.12.0.0","2.13.0.0","2.14.0.0","2.15.0.0","2.16.0.0","2.17.0.0","2.17.1.0","2.18.0.0","2.19.0.0","2.19.1.0","2.19.2.0","2.19.3.0","2.2.0.0","2.2.1.0","2.3.0.0","2.4.0.0","2.4.1.0","2.5.0.0","2.6.0.0","2.7.0.0","2.8.0.0","2.9.0.0"],"fixed":["2.19.4.0"],"provider":"osv","source":"GHSA-x83w-23jp-g6pw","relation":"self"},{"ecosystem":"Maven","package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.2.0.0"}]}],"versions":["3.0.0.0","3.1.0.0"],"fixed":["3.2.0.0"],"provider":"osv","source":"GHSA-x83w-23jp-g6pw","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/opensearch-project/security/security/advisories/GHSA-x83w-23jp-g6pw"},{"type":"PACKAGE","url":"https://github.com/opensearch-project/security"}]}],"references":[{"type":"WEB","url":"https://github.com/opensearch-project/security/security/advisories/GHSA-x83w-23jp-g6pw"},{"type":"PACKAGE","url":"https://github.com/opensearch-project/security"}],"sources":[{"provider":"osv","source_id":"GHSA-x83w-23jp-g6pw","url":"https://osv.dev/vulnerability/GHSA-x83w-23jp-g6pw","license":"CC-BY-4.0","modified_at":"2026-05-07T00:21:03.836489Z","relation":"self"}]}
