Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-33466
Logstash vulnerability analysis and mitigation

Overview

CVE-2026-33466 is a path traversal vulnerability (CWE-22) in Elastic Logstash that allows an attacker to write arbitrary files to the host filesystem and potentially achieve remote code execution via Relative Path Traversal (CAPEC-139). The flaw exists in Logstash's archive extraction utilities, which fail to properly validate file paths within compressed archives. Affected versions include Logstash 8.0.0 through 8.19.13, 9.0.0 through 9.2.7, and 9.3.0 through 9.3.2. The vulnerability was published on April 8, 2026, with patches released the same day. It carries a CVSS v3.1 base score of 9.8 (Critical) per NVD, and 8.1 (High) per the GitHub Advisory Database with High attack complexity (GitHub Advisory, Elastic Advisory).

Technical details

The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), specifically in the archive extraction utilities bundled with Logstash. These utilities do not sanitize or validate file paths embedded within compressed archives (e.g., zip or tar files), allowing a "Zip Slip"-style attack where crafted path entries (e.g., ../../etc/cron.d/malicious) resolve outside the intended extraction directory. Exploitation requires an attacker to control or compromise the update endpoint that serves archives to Logstash — either through a man-in-the-middle position, a supply chain compromise, or direct control of the update server. No authentication is required on the attacker's side once the update endpoint is compromised, and no user interaction is needed (GitHub Advisory, Elastic Advisory).

Impact

Successful exploitation allows an unauthenticated attacker to write arbitrary files anywhere on the host filesystem with the privileges of the Logstash process. In deployments where automatic pipeline reloading is enabled, this file write primitive can be escalated to full remote code execution by overwriting Logstash pipeline configuration files, enabling the attacker to inject malicious pipeline logic that executes on reload. This results in high impact to confidentiality, integrity, and availability of the affected system, and could serve as a foothold for lateral movement within the broader network (GitHub Advisory, Elastic Advisory).

Exploitability

As of the time of publication, there is no known public proof-of-concept exploit and no confirmed evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.385–0.597%, placing it around the 70th percentile for exploitation probability within 30 days. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, though it was referenced in a CISA weekly vulnerability bulletin for the week of April 6, 2026. No threat actor attribution has been reported at this time.

Exploitation steps

  1. Identify a target: Locate Logstash deployments running affected versions (8.0.0–8.19.13, 9.0.0–9.2.7, or 9.3.0–9.3.2) that fetch updates or plugin archives from a network-accessible endpoint.
  2. Compromise or control the update endpoint: Position the attacker between Logstash and its update source (e.g., via DNS poisoning, BGP hijacking, or direct compromise of the update server) to serve a malicious archive.
  3. Craft a malicious archive: Create a compressed archive (e.g., ZIP or TAR) containing files with path-traversal sequences in their names (e.g., ../../logstash/pipeline/malicious.conf or ../../etc/cron.d/backdoor), designed to write outside the intended extraction directory.
  4. Serve the archive to Logstash: Deliver the crafted archive through the compromised update endpoint so that Logstash downloads and extracts it without path validation.
  5. Trigger file write: Logstash extracts the archive, writing attacker-controlled files to arbitrary filesystem locations with Logstash process privileges.
  6. Escalate to RCE (if pipeline reloading is enabled): If automatic pipeline reloading is configured, overwrite a Logstash pipeline configuration file with a malicious pipeline (e.g., using the exec filter or ruby filter to execute OS commands). Logstash will automatically reload the pipeline and execute the injected code (GitHub Advisory, Elastic Advisory).

Indicators of compromise

  • File System: Unexpected files written outside the Logstash installation or plugin directories, particularly in sensitive locations such as /etc/cron.d/, /etc/cron.hourly/, /tmp/, or Logstash pipeline configuration directories; modification timestamps on pipeline .conf files that do not correspond to authorized changes.
  • Logs: Logstash logs showing archive extraction activity from unexpected or external sources; errors or warnings related to file path validation during plugin or update installation; unexpected pipeline reload events in logstash-plain.log.
  • Process: Unusual child processes spawned by the Logstash JVM process (e.g., bash, sh, curl, wget, python, nc); unexpected outbound network connections from the Logstash host to unknown external IPs.
  • Network: Logstash communicating with update endpoints not matching known-good infrastructure; unexpected DNS queries from the Logstash host for update-related domains; unusual inbound connections to the Logstash update endpoint.

Mitigation and workarounds

Elastic has released patched versions: 8.19.14 (for the 8.x branch), 9.2.8 (for 9.0–9.2.x), and 9.3.3 (for 9.3.x). Upgrading to one of these versions is the primary recommended remediation (Elastic Advisory). As interim mitigations: restrict network access to Logstash update endpoints using firewall rules or network segmentation; disable automatic pipeline reloading (config.reload.automatic: false) if not operationally required to eliminate the RCE escalation path; validate the integrity and authenticity of update sources; and monitor Logstash processes for unexpected file write activity.

Community reactions

The vulnerability was noted in a CISA weekly vulnerability bulletin for the week of April 6, 2026, and received coverage from security aggregators and community feeds including Bluesky and Mastodon shortly after disclosure. Red Hat also published a security advisory tracking the CVE. Community reaction was moderate, with the primary concern centered on the RCE escalation path when automatic pipeline reloading is enabled (Elastic Advisory, Red Hat).

Additional resources


SourceThis report was generated using AI

Related Logstash vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-33466CRITICAL9.8
  • Logstash logoLogstash
  • logstash
NoYesApr 08, 2026
CVE-2024-34158HIGH7.5
  • Go logoGo
  • openshift4::ose-network-metrics-daemon-rhel9@sha256:bb1ef6f3afc75440c33b38199e87d033c8e18a6144d092ccc6cd89b3d6a67221_s390x
NoYesSep 06, 2024
CVE-2024-34156HIGH7.5
  • Go logoGo
  • openshift4::ose-cluster-config-rhel9-operator@sha256:a7be9d16e6e2c17f850858bb7d736a488f978c37459c213239c13ccd0ca399a3_s390x
NoYesSep 06, 2024
CVE-2025-37730MEDIUM6.5
  • Ruby logoRuby
  • logstash
NoYesMay 06, 2025
CVE-2024-45614MEDIUM5.4
  • Ruby logoRuby
  • ruby2.5-rubygem-puma
NoYesSep 19, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management