Skip to content

CVE-2026-33466 Improper Limitation of a Pathname to a Restricted Directory in Logstash Leading to Arbitrary File Write

CriticalCVSS 9.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Elastic logstash >= 8.0.0, < 8.19.14; >= 8.0.0, <= 8.19.13; >= 9.0.0, < 9.2.8; >= 9.3.0, < 9.3.3 8.19.14, 9.2.8, 9.3.3 Fixed

Affected products

ProductAffected versionsFixed in
Elastic logstash >= 8.0.0, <= 8.19.13 No fix listed
Elastic logstash >= 8.0.0, < 8.19.14 8.19.14
Elastic logstash >= 9.0.0, < 9.2.8 9.2.8
Elastic logstash >= 9.3.0, < 9.3.3 9.3.3

References