ElasticsearchGHSA-m9gh-789g-q5pv
Elasticsearch: improper authentication
Fix: upgrade to 8.19.8 or later (3 fixed versions below)
Improper Authentication in Elasticsearch PKI realm can lead to user impersonation via specially crafted client certificates. A malicious actor would need to have such a crafted client certificate signed by a legitimate, trusted Certificate Authority.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.elasticsearch:elasticsearch Maven | >= 7.0.0-alpha1, < 8.19.8 | 8.19.8 |
| >= 9.0.0-beta1, < 9.1.8 | 9.1.8 | |
| >= 9.2.0, < 9.2.2 | 9.2.2 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-287, CWE-295
- Also known as
- BIT-elasticsearch-2025-37731, CVE-2025-37731
- nvd.nist.gov/vuln/detail/CVE-2025-37731
- github.com/elastic/elasticsearch/commit/cd97b8566bf56e628070021300784cb9cee0286f
- github.com/elastic/elasticsearch/commit/d8a408da79f214395845d99d241e832077045983
- github.com/elastic/elasticsearch/commit/e519fe4c51a3c887675eb7daea2f914738847f23
- discuss.elastic.co/t/elasticsearch-8-19-8-9-1-8-and-9-2-2-security-update-esa-2025-27/384063
- github.com/elastic/elasticsearch