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

Published Apr 8, 2026
·
Updated

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.

Affected Software

4 affected components
Elastic Logstash
Elastic Logstash>=8.0.0<8.19.14
Elastic Logstash>=9.0.0<9.2.8
Elastic Logstash>=9.3.0<9.3.3

Event History

Apr 8, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:26 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33466?

CVE-2026-33466 has a high severity rating due to its potential for arbitrary file write and remote code execution.

2

How do I fix CVE-2026-33466?

To fix CVE-2026-33466, upgrade to Logstash version 8.19.14 or higher, or any of the patched versions provided by Elastic.

3

What causes CVE-2026-33466?

CVE-2026-33466 is caused by an improper limitation of a pathname to a restricted directory, allowing relative path traversal.

4

Which versions of Logstash are affected by CVE-2026-33466?

CVE-2026-33466 affects Elastic Logstash versions from 8.0.0 to 8.19.14, 9.0.0 to 9.2.8, and 9.3.0 to 9.3.3.

5

What types of attacks can CVE-2026-33466 facilitate?

CVE-2026-33466 can facilitate arbitrary file write and potentially lead to remote code execution on affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203