Home / Elastic / Beats / CVE-2023-31421
CVE-2023-31421: is it exploited, and which versions of Elastic Beats are affected and fixed?
CVE-2023-31421 is an improper certificate validation vulnerability in Elastic Beats. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Beats 8.0.0, 8.9.2, Elastic Agent 8.0.0, 8.9.2, APM Server 8.0.0, 8.9.2 and 1 more (CVE record by elastic). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.9, CVSS 3.1, from elastic).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-31421?
Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue
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.
From the CVE record by elastic, last updated August 2, 2024, 14:53 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Elastic | Beats | 8.0.0, 8.9.2 | |
| Elastic | Elastic Agent | 8.0.0, 8.9.2 | |
| Elastic | APM Server | 8.0.0, 8.9.2 | |
| Elastic | Fleet Server | 8.0.0, 8.9.2 |
As the CVE record by elastic states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| elastic | elastic beats | from 8.0.0 through 8.9.2 | application |
| elastic | elastic agent | from 8.0.0 through 8.9.2 | application |
| elastic | apm server | from 8.0.0 through 8.9.2 | application |
| elastic | elastic fleet server | from 8.0.0 through 8.9.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:56 UTC.
How severe is CVE-2023-31421?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | elastic |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-31421 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
Where are the vendor advisories and references?
- https://discuss.elastic.co/t/beats-elastic-agent-apm-server-and-fleet-server-8-10-1-security-update-improper-certificate-validation-issue-esa-2023-16/343385
- https://www.elastic.co/community/security
When was it published, and where is the official record?
- Reserved
- April 27, 2023
- Published
- October 26, 2023, 03:10 UTC
- CVE record updated
- August 2, 2024, 14:53 UTC by elastic
- NVD
- Modified, last modified June 17, 2026, 05:56 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Beats?
- Jul 30, 2025CVE-2025-25011 Elastic Beats: uncontrolled search path (DLL or library hijacking)
- Dec 12, 2023CVE-2023-49922 Elastic Beats: sensitive information written to log files
Questions about CVE-2023-31421
Is CVE-2023-31421 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Elastic Beats are affected by CVE-2023-31421?
Beats 8.0.0, 8.9.2, Elastic Agent 8.0.0, 8.9.2, APM Server 8.0.0, 8.9.2 and Fleet Server 8.0.0, 8.9.2, per the CVE record by elastic. The tables above give every range the sources list.
Which version fixes CVE-2023-31421?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2023-31421?
Medium (5.9, CVSS 3.1, from elastic). The severity table above shows each score with its source.
Where is the official record of CVE-2023-31421?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.