← Vulnerability feed

Vulnerability record · CVE-2023-31421 · published 26 October 2023

CVE-2023-31421: Elastic beats improper certificate validation vulnerability

Elastic · Elastic Beats

It was discovered that when acting as TLS clients, Beats, Elastic Agent, APM Server, and Fleet Server did not verify whether the server certificate is valid for the target IP address; however, certificate signature validation is still performed. More specifically, when the client is configured to connect to an IP address (instead of a hostname) it does not validate the server certificate's IP SAN values against that IP address and certificate validation fails, and therefore the connection is not blocked as expected.

7.5 CVSS 3.1 High EPSS 0.32% · top 77.2% CWE-295 · Improper certificate validation
7.5CVSS 3.1 base score
0.32%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

It was discovered that when acting as TLS clients, Beats, Elastic Agent, APM Server, and Fleet Server did not verify whether the server certificate is valid for the target IP address; however, certificate signature validation is still performed. More specifically, when the client is configured to connect to an IP address (instead of a hostname) it does not validate the server certificate's IP SAN values against that IP address and certificate validation fails, and therefore the connection is not blocked as expected.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-31421 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2026-78604Elastic agent incorrect permission assignment vulnerabilityIncorrect Permission Assignment for Critical Resource (CWE-732) in Elastic Agent can lead to local privilege escalation via Replace Binaries (CAPEC-6…EPSS 0.15%7.8CVE-2024-52976Elastic agent inclusion from untrusted sphere vulnerabilityInclusion of functionality from an untrusted control sphere in Elastic Agent subprocess, osqueryd, allows local attackers to execute arbitrary code v…EPSS 0.20%7.5CVE-2024-23448Elastic apm server sensitive information in log file vulnerabilityAn issue was discovered whereby APM Server could log at ERROR level, a response from Elasticsearch indicating that indexing the document failed and t…EPSS 0.67%7.1CVE-2023-46669Elastic agent information exposure vulnerabilityExposure of sensitive information to local unauthorized actors in Elastic Agent and Elastic Security Endpoint can lead to loss of confidentiality and…EPSS 0.19%6.5CVE-2024-37283Elastic agent sensitive information in log file vulnerabilityAn issue was discovered whereby Elastic Agent will leak secrets from the agent policy elastic-agent.yml only when the log level is configured to debu…EPSS 0.56%6.5CVE-2024-37286Elastic apm server sensitive information in log file vulnerabilityAPM server logs contain document body from a partially failed bulk index request. For example, in case of unavailable_shards_exception for a specific…EPSS 0.49%6.5CVE-2023-6687Elastic agent sensitive information in log file vulnerabilityAn issue was discovered by Elastic whereby Elastic Agent would log a raw event in its own logs at the WARN or ERROR level if ingesting that event to …EPSS 0.59%6.5CVE-2023-49922Elastic beats sensitive information in log file vulnerabilityAn issue was discovered by Elastic whereby Beats and Elastic Agent would log a raw event in its own logs at the WARN or ERROR level if ingesting that…EPSS 0.67%

Source: NIST National Vulnerability Database (record CVE-2023-31421), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.