CVE-2025-37731 Elasticsearch Improper Authentication

Medium 6.8 Published Updated

Attackers with a crafted certificate signed by a trusted CA can impersonate users in Elasticsearch PKI realm.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37731?

CVE-2025-37731 is a medium-severity authentication bypass vulnerability in Elastic Elasticsearch, published on 15 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-287

Which versions are affected by CVE-2025-37731?

13 open source packages ship an affected version, including org.elasticsearch.plugin:x-pack-core, elasticsearch and org.elasticsearch.plugin:x-pack-security. It affects 1 product.

PackageAffectedFixed in
org.elasticsearch.plugin:x-pack-core MavenFrom 7.0.0-alpha18.19.8
org.elasticsearch.plugin:x-pack-core MavenFrom 7.0.0-alpha18.19.8
org.elasticsearch.plugin:x-pack-core MavenFrom 9.0.0-beta19.1.8
org.elasticsearch.plugin:x-pack-core MavenFrom 9.0.0-beta19.1.8
org.elasticsearch.plugin:x-pack-core MavenFrom 9.2.09.2.2
org.elasticsearch.plugin:x-pack-core MavenFrom 9.2.09.2.2
7 more packages
elasticsearch BitnamiAll versions8.19.8, 9.1.8, 9.2.2
org.elasticsearch.plugin:x-pack-security MavenFrom 7.0.0-alpha18.19.8
org.elasticsearch.plugin:x-pack-security MavenFrom 7.0.0-alpha18.19.8
org.elasticsearch.plugin:x-pack-security MavenFrom 9.0.0-beta19.1.8
org.elasticsearch.plugin:x-pack-security MavenFrom 9.0.0-beta19.1.8
org.elasticsearch.plugin:x-pack-security MavenFrom 9.2.09.2.2
org.elasticsearch.plugin:x-pack-security MavenFrom 9.2.09.2.2

Products include Elastic Elasticsearch.

How do I fix CVE-2025-37731?

Upgrade org.elasticsearch.plugin:x-pack-core to a fixed version for your release line: 8.19.8, 9.1.8 or 9.2.2.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-37731 being exploited?

There is no known exploitation of CVE-2025-37731 in the wild and no public exploit code.

All Elastic Elasticsearch vulnerabilities

Sources

Also known as BIT-elasticsearch-2025-37731, CLEANSTART-2026-GO07314, ECHO-8f00-c6a2-b9cc, GHSA-m9gh-789g-q5pv, MINI-2frc-j8p6-w4cj, MINI-5xwq-6phg-4xvq and 17 more.

Is CVE-2025-37731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free