Improper Limitation of a Pathname to a Restricted Directory in Logstash Leading to Arbitrary File Write
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Elastic | Logstash | 8.0.0 – 8.19.13 | — | No fix listed | CNA |
- Logstash VendorElastic Affected 8.0.0 – 8.19.13 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:elastic:logstash:*:*:*:*:*:*:*:* | 8.0.0 to before 8.19.14; 9.0.0 to before 9.2.8; 9.3.0 to before 9.3.3 | Vulnerable | Elastic |
- cpe:2.3:a:elastic:logstash:*:*:*:*:*:*:*:* Versions 8.0.0 to before 8.19.14; 9.0.0 to before 9.2.8; 9.3.0 to before 9.3.3 Vulnerable ·Elastic
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33466
- 2026-10-03 Alias added: GHSA-w3rv-2cr7-p2wh
- 2026-10-21 EPSS moved to the below the 50th percentile
References
More Elastic Logstash vulnerabilities
- TI-2019-05366 Information disclosure through error messages in Elastic Logstash CVSS 3.1CRITICAL 9.8
- TI-2014-03539 Elasticsearch Logstash 1.0.14 through 1.4.x before 1.4.2 allows remote attackers to… CVSS 2.0HIGH 7.5
- TI-2015-04531 Logstash 1.5.x before 1.5.3 and 1.4.x before 1.4.4 allows remote attackers to read… CVSS 3.0HIGH 7.5
- TI-2019-05374 Uncontrolled resource consumption in Elastic Logstash CVSS 3.1HIGH 7.5
- TI-2023-25173 Logstash Insertion of Sensitive Information into Log File CVSS 3.1HIGH 8.4
- TI-2016-09350 Logstash prior to version 2.3.4, Elasticsearch Output plugin would log to file HTTP… CVSS 3.0HIGH 7.5
Sources
- CVE-2026-33466 · CVE Program
- CVE-2026-33466 · NVD
- FIRST EPSS
- GHSA-w3rv-2cr7-p2wh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences