{"id":"CVE-2024-12539","aliases":["BIT-elasticsearch-2024-12539","GHSA-5mpw-4546-2wcr","UBUNTU-CVE-2024-12539","WID-SEC-W-2024-3718"],"summary":"Elasticsearch Incorrect Authorization","published_at":"2024-12-17T20:50:04.968Z","modified_at":"2026-09-10T03:50:21.307166Z","products":[{"slug":"elasticsearch","name":"Elasticsearch / Kibana","category":"monitoring"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"BSI","rating":"mittel"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004600000102072954,"percentile":0.4057700037956238,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"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.","affected_stack":[{"ecosystem":"Bitnami","package":"elasticsearch","purl":"pkg:bitnami/elasticsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"8.16.0"},{"fixed":"8.17.0"}]}],"fixed":["8.17.0"],"provider":"osv","source":"BIT-elasticsearch-2024-12539","relation":"self"},{"ecosystem":"CVE","package":"Elastic/Elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.16.0"},{"last_affected":"8.16.1"}]}],"provider":"cvelistv5","source":"CVE-2024-12539","relation":"self"},{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.16.0"},{"fixed":"8.16.2"}]}],"versions":["8.16.0","8.16.1"],"fixed":["8.16.2"],"provider":"osv","source":"GHSA-5mpw-4546-2wcr","relation":"self"},{"ecosystem":"NVD","package":"elastic:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.16.0"},{"fixed":"8.16.2"}]}],"fixed":["8.16.2"],"provider":"nvd","source":"CVE-2024-12539","relation":"self"}],"affected_other":[{"ecosystem":"Ubuntu:16.04:LTS","package":"elasticsearch","purl":"pkg:deb/ubuntu/elasticsearch@1.7.3+dfsg-3?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2+dfsg-1","1.7.3+dfsg-1","1.7.3+dfsg-2","1.7.3+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2024-12539","relation":"self"}],"product_status":[{"vendor":"BSI","product":"Open Source Elasticsearch <8.16.2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-3718"},{"vendor":"BSI","product":"Open Source Elasticsearch <8.17.0","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-3718"},{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/fluentd-rhel8","openshift-logging/kibana6-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-12539"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-12539"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-12539","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-12539","license":"CC-BY-4.0","published_at":"2024-12-17T20:50:04.968Z","modified_at":"2024-12-17T21:23:57.366Z","summary":"Elasticsearch Incorrect Authorization","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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2024-12539"}],"affected":[{"ecosystem":"CVE","package":"Elastic/Elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.16.0"},{"last_affected":"8.16.1"}]}],"provider":"cvelistv5","source":"CVE-2024-12539","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-3718","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-3718","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-12-17T23:00:00Z","modified_at":"2024-12-17T23:00:00Z","summary":"Elasticsearch: Schwachstelle ermöglicht Offenlegung von Informationen","details":"Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Elasticsearch ausnutzen, um Informationen offenzulegen.\n\nElasticsearch ist eine Open Source, verteilte Echtzeit-Suche und Analyse-Engine.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2024-3718"}],"affected":[],"product_status":[{"vendor":"BSI","product":"Open Source Elasticsearch <8.16.2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-3718"},{"vendor":"BSI","product":"Open Source Elasticsearch <8.17.0","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-3718"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-3718.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-3718"},{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"}]},{"provider":"nvd","source_id":"CVE-2024-12539","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12539","severity":[],"affected":[{"ecosystem":"NVD","package":"elastic:elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.16.0"},{"fixed":"8.16.2"}]}],"fixed":["8.16.2"],"provider":"nvd","source":"CVE-2024-12539","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-elasticsearch-2024-12539","relation":"self","url":"https://osv.dev/vulnerability/BIT-elasticsearch-2024-12539","license":"Apache-2.0","published_at":"2024-12-19T07:08:44.98Z","modified_at":"2026-09-08T08:47:14.72566Z","summary":"Elasticsearch Incorrect Authorization","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.","severity":[{"type":"CVSS_V4","score":"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","source":"BIT-elasticsearch-2024-12539"}],"affected":[{"ecosystem":"Bitnami","package":"elasticsearch","purl":"pkg:bitnami/elasticsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"8.16.0"},{"fixed":"8.17.0"}]}],"fixed":["8.17.0"],"provider":"osv","source":"BIT-elasticsearch-2024-12539","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12539"}]},{"provider":"osv","source_id":"GHSA-5mpw-4546-2wcr","relation":"self","url":"https://osv.dev/vulnerability/GHSA-5mpw-4546-2wcr","license":"CC-BY-4.0","published_at":"2024-12-17T21:30:34Z","modified_at":"2026-09-10T03:50:21.307166Z","summary":"Elasticsearch Incorrect Authorization vulnerability","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.","severity":[{"type":"CVSS_V4","score":"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","source":"GHSA-5mpw-4546-2wcr"}],"affected":[{"ecosystem":"Maven","package":"org.elasticsearch:elasticsearch","purl":"pkg:maven/org.elasticsearch/elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.16.0"},{"fixed":"8.16.2"}]}],"versions":["8.16.0","8.16.1"],"fixed":["8.16.2"],"provider":"osv","source":"GHSA-5mpw-4546-2wcr","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12539"},{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"},{"type":"PACKAGE","url":"https://github.com/elastic/elasticsearch"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2024-12539","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2024-12539","license":"CC-BY-SA-4.0","published_at":"2024-12-17T21:15:00Z","modified_at":"2025-10-24T05:06:48Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"UBUNTU-CVE-2024-12539"},{"type":"CVSS_V4","score":"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","source":"UBUNTU-CVE-2024-12539"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2024-12539"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"elasticsearch","purl":"pkg:deb/ubuntu/elasticsearch@1.7.3+dfsg-3?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.2+dfsg-1","1.7.3+dfsg-1","1.7.3+dfsg-2","1.7.3+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2024-12539","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-12539"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-12539"},{"type":"REPORT","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"}]},{"provider":"redhat-vex","source_id":"CVE-2024-12539","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-12539","license":"CC-BY-4.0","published_at":"2024-12-17T20:50:04.968Z","modified_at":"2026-03-16T08:31:17Z","summary":"elasticsearch: improper auth controls can allow circumvention of Document Level Security","details":"In some versions of Elasticsearch, improper authorization controls affected certain queries that could allow a malicious actor to circumvent Document Level Security. This may allow users to access to documents that their roles would normally not allow.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2024-12539"},{"type":"Red Hat","score":"Moderate","source":"CVE-2024-12539"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/fluentd-rhel8","openshift-logging/kibana6-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-12539"},{"vendor":"Red Hat","product":"Red Hat Quay 3","cpe":"cpe:/a:redhat:quay:3","status":"not_affected","packages":["quay/quay-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-12539"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-12539.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-12539"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2332909"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-12539"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12539"},{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"}]}],"references":[{"type":"WEB","url":"https://discuss.elastic.co/t/elasticsearch-8-16-2-8-17-0-security-update/372091"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-3718.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-3718"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12539"},{"type":"PACKAGE","url":"https://github.com/elastic/elasticsearch"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-12539"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-12539"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-12539.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-12539"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2332909"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-12539","url":"https://www.cve.org/CVERecord?id=CVE-2024-12539","license":"CC-BY-4.0","modified_at":"2024-12-17T21:23:57.366Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-3718","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-3718","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-12-17T23:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-12539","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12539","relation":"self"},{"provider":"osv","source_id":"BIT-elasticsearch-2024-12539","url":"https://osv.dev/vulnerability/BIT-elasticsearch-2024-12539","license":"Apache-2.0","modified_at":"2026-09-08T08:47:14.72566Z","relation":"self"},{"provider":"osv","source_id":"GHSA-5mpw-4546-2wcr","url":"https://osv.dev/vulnerability/GHSA-5mpw-4546-2wcr","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:21.307166Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2024-12539","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2024-12539","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T05:06:48Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-12539","url":"https://access.redhat.com/security/cve/CVE-2024-12539","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:17Z","relation":"self"}]}
