# CVE-2020-7021: Insertion of Sensitive Information into Log File in Elasticsearch

- Severity: Medium 4.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Published: 2021-02-10T18:55:15.000Z
- Modified: 2026-09-08T08:47:13.354Z
- Also known as: GHSA-cqgv-256r-m9r8, BIT-ELASTICSEARCH-2020-7021
- Weaknesses: CWE-532
- Assigned by: elastic

## Description

Elasticsearch versions before 7.10.0 and 6.8.14 have an information disclosure issue when audit logging and the emit_request_body option is enabled. The Elasticsearch audit log could contain sensitive information such as password hashes or authentication tokens. This could allow an Elasticsearch administrator to view these details.

(As written by CVE List.)

## Affected

- Elastic Elasticsearch: before 7.10.0 and 6.8.14; before 6.8.14; from 7.0.0 before 7.10.0
- org.elasticsearch:elasticsearch (Maven): before 6.8.14; from 7.0.0 before 7.10.0
- elasticsearch (Bitnami): before 6.8.14; from 7.0.0 before 7.10.0

## Every score

- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.elastic.co/t/elastic-stack-7-11-0-and-6-8-14-security-update/263915> (advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210319-0003/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7021> (advisory, web)
- <https://github.com/elastic/elasticsearch> (package)
- <https://security.netapp.com/advisory/ntap-20210319-0003> (web)

## Sources

- CVE List: [CVE-2020-7021](https://www.cve.org/CVERecord?id=CVE-2020-7021), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cqgv-256r-m9r8](https://github.com/advisories/GHSA-cqgv-256r-m9r8), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2020-7021](https://nvd.nist.gov/vuln/detail/CVE-2020-7021), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ELASTICSEARCH-2020-7021](https://osv.dev/vulnerability/BIT-ELASTICSEARCH-2020-7021), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-7021 · Whole record: https://cve.day/CVE-2020-7021.json · Rebuilt by cve.day 2026-11-25T22:57:57.322Z
