Home

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.

PUBLISHED Reserved 2026-03-20 | Published 2026-04-08 | Updated 2026-04-10 | Assigner elastic




HIGH: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

8.0.0 (semver)
affected

References

discuss.elastic.co/...3-3-security-update-esa-2026-29/385816

cve.org (CVE-2026-33466)

nvd.nist.gov (CVE-2026-33466)

Download JSON