{"id":"CVE-2024-12539","details":"An issue was discovered where improper authorization controls affected certain queries that could allow a malicious actor to circumvent Document Level Security in Elasticsearch and get access to documents that their roles would normally not allow.","aliases":["BIT-elasticsearch-2024-12539","GHSA-5mpw-4546-2wcr"],"modified":"2026-04-10T05:09:05.201337Z","published":"2024-12-17T21:15:07.183Z","related":["CGA-q86m-5pj3-q6jg"],"references":[{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elasticsearch","events":[{"introduced":"12ff76a92922609df4aba61a368e7adf65589749"},{"fixed":"fc1fb13693e87881046baa93e2cf1f4caf2fd58b"}],"database_specific":{"versions":[{"introduced":"8.16.0"},{"fixed":"8.16.2"}]}}],"versions":["v8.16.0","v8.16.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12539.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}