# CVE-2023-31421: Beats, Elastic Agent, APM Server, and Fleet Server Improper Certificate Validation issue

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-26 · Modified: 2024-08-02
- Record: https://cvemate.com/vulnerability/CVE-2023-31421 · JSON: https://cvemate.com/vulnerability/CVE-2023-31421/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.323%, percentile 27.325%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- elastic apm server: 8.0.0, 8.9.2 \| ≥ 8.0.0, ≤ 8.9.2
- elastic beats: 8.0.0, 8.9.2
- elastic elastic agent: 8.0.0, 8.9.2 \| ≥ 8.0.0, ≤ 8.9.2
- elastic elastic\_beats: ≥ 8.0.0, ≤ 8.9.2
- elastic elastic\_fleet\_server: ≥ 8.0.0, ≤ 8.9.2
- elastic fleet\_server: 8.0.0, 8.9.2

## 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>

---

Data as of 2026-12-05T09:37:53.040Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
