MEDIUM6.8
GHSA-m9gh-789g-q5pv
Elasticsearch PKI Realm Authentication Bypass Vulnerability Allows User Impersonation Through Crafted Client Certificates
Quick fix
GHSA-m9gh-789g-q5pv — org.elasticsearch.plugin:x-pack-security: upgrade to the fixed version with the command below.
# pom.xml: bump <version>8.19.8</version> for org.elasticsearch.plugin:x-pack-securityDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.elasticsearch.plugin:x-pack-security
Introduced in:
7.0.0-alpha1Fixed in: 8.19.8Fix
# pom.xml: bump <version>8.19.8</version> for org.elasticsearch.plugin:x-pack-securityMaven/org.elasticsearch.plugin:x-pack-security
Introduced in:
9.0.0-beta1Fixed in: 9.1.8Fix
# pom.xml: bump <version>9.1.8</version> for org.elasticsearch.plugin:x-pack-securityMaven/org.elasticsearch.plugin:x-pack-security
Introduced in:
9.2.0Fixed in: 9.2.2Fix
# pom.xml: bump <version>9.2.2</version> for org.elasticsearch.plugin:x-pack-securityMaven/org.elasticsearch.plugin:x-pack-core
Introduced in:
7.0.0-alpha1Fixed in: 8.19.8Fix
# pom.xml: bump <version>8.19.8</version> for org.elasticsearch.plugin:x-pack-coreMaven/org.elasticsearch.plugin:x-pack-core
Introduced in:
9.0.0-beta1Fixed in: 9.1.8Fix
# pom.xml: bump <version>9.1.8</version> for org.elasticsearch.plugin:x-pack-coreMaven/org.elasticsearch.plugin:x-pack-core
Introduced in:
9.2.0Fixed in: 9.2.2Fix
# pom.xml: bump <version>9.2.2</version> for org.elasticsearch.plugin:x-pack-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2025-37731[ADVISORY]
- https://github.com/elastic/elasticsearch/commit/cd97b8566bf56e628070021300784cb9cee0286f[WEB]
- https://github.com/elastic/elasticsearch/commit/d8a408da79f214395845d99d241e832077045983[WEB]
- https://github.com/elastic/elasticsearch/commit/e519fe4c51a3c887675eb7daea2f914738847f23[WEB]
- https://discuss.elastic.co/t/elasticsearch-8-19-8-9-1-8-and-9-2-2-security-update-esa-2025-27/384063[WEB]
- https://github.com/elastic/elasticsearch[PACKAGE]