CVE-2026-33466: Improper Limitation of a Pathname to a Restricted Directory in Logstash Leading to Arbitrary File Write
CVE-2026-33466 affects 121 listed versions of Elastic Logstash in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Elastic Logstash
121 of 250 listed versions are affected. Fixed in 9.3.3, 9.2.8, 8.19.14. The newest release, 9.5.7, is not affected.
9.3.2 9.3.1 9.3.0 9.2.7 9.2.6 9.2.5 9.2.4 9.2.3 9.2.2 9.2.1 9.2.0 9.1.10 9.1.9 9.1.8 9.1.7 9.1.6 9.1.5 9.1.4 9.1.3 9.1.2 9.1.1 9.1.0 9.0.8 9.0.7 9.0.6 9.0.5 9.0.4 9.0.3 9.0.2 9.0.1 9.0.0 8.19.13 8.19.12 8.18.8 8.18.7 8.18.6 8.18.5 8.18.4 8.18.3 8.18.2 8.18.1 8.18.0 8.17.10 8.17.9 8.17.8 8.17.7 8.17.6 8.17.5 8.17.4 8.17.3 8.17.2 8.17.1 8.17.0 8.16.6 8.16.5 8.16.4 8.16.3 8.16.2 8.16.1 8.16.0 and 61 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Elastic on 8 April 2026. Last changed 24 July 2026.
Sources
Check one version you run: look CVE-2026-33466 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.