CVE-2020-7020
LOW 3.1CVSS 3.1Privilege Context Switching Error in Elasticsearch
Elasticsearch versions before 6.8.13 and 7.9.2 contain a document disclosure flaw when Document or Field Level Security is used. Search queries do not properly preserve security permissions when executing certain complex queries. This could result in the search disclosing the existence of documents the attacker should not be able to view. This could result in an attacker gaining additional insight into potentially sensitive indices.
- Published
- 22 Oct 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@elastic.co
- NVD status
- Modified
- Weakness
- CWE-269CWE-270
- Also known as
- BIT-elasticsearch-2020-7020GHSA-g9fw-9x87-rmrj
- Sources
- NVDJSONOSV GHSA-g9fw-9x87-rmrjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
< 6.8.13 | 6.8.13 |
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.9.2 | 7.9.2 |
| OSV | Maven | org.elasticsearch:elasticsearch | < 6.8.13 | 6.8.13 |
| OSV | Maven | org.elasticsearch:elasticsearch | >= 7.0.0, < 7.9.2 | 7.9.2 |
References
- https://discuss.elastic.co/t/elastic-stack-7-9-3-and-6-8-13-security-update/253033 · Release Notes, Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20201123-0001/ · Third Party Advisory, WEB
- https://staging-website.elastic.co/community/security/ · Permissions Required, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7020 · ADVISORY
- https://github.com/elastic/elasticsearch · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 22 Oct 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Mar 2021)