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

- Severity: High 8.1 (CVSS:3.1, scored by elastic) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 58% of CVEs (2026-11-30)
- Published: 2026-04-08T16:50:42.186Z
- Modified: 2026-09-08T08:48:09.331Z
- Also known as: BIT-LOGSTASH-2026-33466
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: elastic

## 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.

(As written by CVE List.)

## Affected

- Elastic Logstash: from 8.0.0 up to 8.19.13; from 8.0.0 before 8.19.14; from 9.0.0 before 9.2.8; from 9.3.0 before 9.3.3
- logstash (Bitnami): from 8.0.0 before 8.19.14; from 9.0.0 before 9.2.8; from 9.3.0 before 9.3.3

## Every score

- elastic: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://discuss.elastic.co/t/logstash-8-19-14-9-2-8-9-3-3-security-update-esa-2026-29/385816> (advisory, mitigation, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33466> (web)

## Sources

- CVE List: [CVE-2026-33466](https://www.cve.org/CVERecord?id=CVE-2026-33466), CVE Terms of Use, modified 2026-04-10
- NVD: [CVE-2026-33466](https://nvd.nist.gov/vuln/detail/CVE-2026-33466), Public domain, modified 2026-07-24
- Bitnami Vulnerability Database: [BIT-LOGSTASH-2026-33466](https://osv.dev/vulnerability/BIT-LOGSTASH-2026-33466), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-33466 · Whole record: https://cve.day/CVE-2026-33466.json · Rebuilt by cve.day 2026-11-25T22:59:18.291Z
