cve.bz

CVE-2025-37731 elastic elasticsearch: Improper Authentication

7.4 highEPSS 0.2%Fix available

High (7.4) in elastic elasticsearch. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.elasticsearch.plugin:x-pack-security 8.19.8, 9.1.8, 9.2.2.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-12-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-37731 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-37731?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-37731?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-37731 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Elasticsearchfrom 7.0.0 through 7.17.29
Elasticsearchfrom 8.0.0 through 8.19.7
Elasticsearchfrom 9.0.0 through 9.1.7
Elasticsearchfrom 9.2.0 through 9.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m9gh-789g-q5pvMavenorg.elasticsearch.plugin:x-pack-security>=7.0.0-alpha1 <8.19.88.19.8
GHSA-m9gh-789g-q5pvMavenorg.elasticsearch.plugin:x-pack-security>=9.0.0-beta1 <9.1.89.1.8
GHSA-m9gh-789g-q5pvMavenorg.elasticsearch.plugin:x-pack-security>=9.2.0 <9.2.29.2.2
GHSA-m9gh-789g-q5pvMavenorg.elasticsearch.plugin:x-pack-core>=7.0.0-alpha1 <8.19.88.19.8
GHSA-m9gh-789g-q5pvMavenorg.elasticsearch.plugin:x-pack-core>=9.0.0-beta1 <9.1.89.1.8
GHSA-m9gh-789g-q5pvMavenorg.elasticsearch.plugin:x-pack-core>=9.2.0 <9.2.29.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSelasticsearchno fix listedUBUNTU-CVE-2025-37731

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat because it allows user impersonation in Elasticsearch PKI realm. Exploitation requires a malicious actor to possess a specially crafted client certificate signed by a legitimate, trusted Certificate Authority. This impacts Elasticsearch deployments configured with PKI authentication.

Red Hat's mitigation

To reduce the risk of exploitation, ensure that the Certificate Authority (CA) used for the Elasticsearch PKI realm is highly secured and has robust controls in place to prevent the signing of unauthorized client certificates. Additionally, restrict network access to the Elasticsearch instance to only trusted clients and networks, for example, by configuring firewall rules to limit inbound connections to the Elasticsearch port.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-operator-bundleAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel9-operatorAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-curator5-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Affected
OpenShift Service Mesh 2openshift-service-mesh/grafana-rhel8Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-must-gather-rhel9Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-operator-bundleAffected
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorAffected
OpenShift Service Mesh 2openshift-service-mesh/pilot-rhel8Affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-37731.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON