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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Elastic | Logstash | 8.0.0 – ≤ 8.19.13 | — |
Advisories 3
- NCSC-2026-0439 Kwetsbaarheden verholpen in Oracle PeopleSoft Enterprise NCSC-NL (Netherlands) · Oct 21, 2026
- WID-SEC-2026-4082 Oracle PeopleSoft: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 20, 2026
- WID-SEC-2026-1025 LogStash: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit den Rechten des Dienstes BSI CERT-Bund (WID) · Apr 8, 2026