CVE-2026-33466 Improper Limitation of a Pathname to a Restricted Directory in Logstash Leading to Arbitrary File Write
Attackers can write arbitrary files via path traversal in archive extraction, potentially achieving remote code execution if automatic pipeline reloading is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-33466?
CVE-2026-33466 is a high-severity path traversal vulnerability in Elastic Logstash, published on 8 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Limitation of a Pathname to a Restricted Directory (CWE-22) in Logstash can lead to arbitrary file write and potentially remote code execution via Relative Path Traversal (CAPEC-139). The archive extraction utilities used by Logstash do not properly validate file paths within compressed archives. An attacker who can serve a specially crafted archive to Logstash through a compromised or attacker-controlled update endpoint can write arbitrary files to the host filesystem with the privileges of the Logstash process. In certain configurations where automatic pipeline reloading is enabled, this can be escalated to remote code execution.
Weakness: CWE-22
Which versions are affected by CVE-2026-33466?
1 open source package ship an affected version, including logstash. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
logstash Bitnami | From 8.0.0 | 8.19.14, 9.2.8, 9.3.3 |
Products include Elastic Logstash.
How do I fix CVE-2026-33466?
Upgrade logstash to a fixed version for your release line: 8.19.14, 9.2.8 or 9.3.3.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-33466 being exploited?
There is no known exploitation of CVE-2026-33466 in the wild and no public exploit code.
Other vulnerabilities in Elastic Logstash
Sources
Also known as BIT-logstash-2026-33466, GHSA-w3rv-2cr7-p2wh.