Skip to main content

Logstash EUVDEUVD-2026-20526

| CVE-2026-33466 CRITICAL
Path Traversal (CWE-22)
2026-04-08 elastic GHSA-w3rv-2cr7-p2wh
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Serve malicious archive to Logstash update endpoint
  2. Exploit
    Archive extraction bypasses path validation
  3. Execution
    Write arbitrary files via relative path traversal
  4. Impact
    Execute code through pipeline configuration reload

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must control or compromise Logstash's update endpoint to serve a malicious archive. Requires automatic pipeline reloading enabled. Logstash extracts the archive without path validation, writing files with Logstash process privileges. Remote unauthenticated exploitation against vulnerable Logstash configurations.

Impact

The CVSS 8.1 score reflects significant impact potential (High confidentiality, integrity, and availability impact) tempered by high attack complexity (AC:H) and network attack vector requirements. The AC:H designation indicates exploitation requires specific preconditions: the attacker must either compromise an existing update server, perform man-in-the-middle attacks on update channels, or exploit misconfigurations allowing attacker-controlled update sources. The vulnerability requires no authentication (PR:N) and no user interaction (UI:N), making it fully remotely exploitable once preconditions are met. Real-world risk assessment must weigh several factors: (1) Logstash typically operates in backend infrastructure, reducing direct internet exposure but increasing impact if compromised; (2) organizations using Logstash's automatic update features or plugin installation from untrusted repositories face elevated risk; (3) the escalation path to RCE depends on automatic pipeline reloading being enabled, which is not universal; (4) absence of EPSS data and KEV listing suggests no confirmed widespread exploitation, but the technical disclosure provides a clear exploitation blueprint. For environments with internet-facing Logstash instances using automatic updates or plugin repositories without integrity verification, this represents a critical priority. For air-gapped or tightly controlled deployments with manual update processes, risk is substantially lower. The SSVC framework would likely categorize this as 'attend' priority for most enterprise deployments given the potential for automatable exploitation once preconditions are met and the high technical impact of RCE.

Exploit ScenarioDerived

An attacker identifies a Logstash 8.15.2 instance configured to automatically download plugins from a third-party repository. The attacker compromises the repository server or performs a man-in-the-middle attack on the HTTP update channel. They craft a malicious plugin archive containing files with path traversal sequences like '../../../etc/logstash/conf.d/malicious.conf', embedding Ruby code that establishes a reverse shell. When Logstash extracts the archive, the traversal sequences bypass directory restrictions, writing the malicious configuration to the pipeline directory. With automatic pipeline reloading enabled, Logstash loads and executes the injected Ruby code within minutes, granting the attacker remote code execution with the privileges of the Logstash service account (often running as root or a highly privileged service user). The attacker pivots to access sensitive log data, credentials stored in Logstash configurations, or uses the compromised system as a foothold into the backend network.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Remote code execution in Elastic Logstash versions 8.0.0 through 8.19.13 allows unauthenticated network attackers to write arbitrary files and execute code via malicious compressed archives. The vulnerability exploits improper path validation in archive extraction utilities, enabling attackers who compromise or control update endpoints to deliver path traversal payloads. When automatic pipeline reloading is enabled, arbitrary file writes escalate to full RCE with Logstash process privileges. CVSS 8.1 (High) with network vector but high attack complexity. EPSS data and KEV status not provided; no public exploit confirmed at time of analysis, though the technical details disclosed increase weaponization risk for environments with exposed update mechanisms.

RemediationAI

Upgrade immediately to Logstash version 8.19.14 or later, which addresses the path traversal vulnerability in archive extraction utilities per vendor advisory ESA-2026-29 (https://discuss.elastic.co/t/logstash-8-19-14-9-2-8-9-3-3-security-update-esa-2026-29/385816). Organizations unable to apply patches immediately should implement compensating controls: disable automatic plugin updates and configure Logstash to only accept plugins from cryptographically verified internal repositories; disable automatic pipeline reloading if not operationally required to prevent file write escalation to RCE; implement network segmentation to restrict Logstash update traffic to trusted internal sources only; monitor file system activity for unexpected writes outside Logstash installation directories; and verify integrity of existing pipeline configurations and plugins if compromise is suspected. Review and harden update endpoint configurations to ensure mutual TLS authentication and certificate pinning for all plugin repository communications.

Affected VersionsENISA

Logstash 8.0.0 ≤8.19.13

Affected Packages

euvd logstash no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the archive extraction subsystem in Elastic Logstash (CPE: cpe:2.3:a:elastic:logstash), specifically versions 8.0.0 through 8.19.13. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal. Logstash's archive handling code fails to sanitize file paths embedded within compressed archives (e.g., ZIP, TAR), allowing relative path sequences like '../../../' to escape intended extraction directories. This vulnerability maps to CAPEC-139 (Relative Path Traversal) attack pattern. The attack surface is the update endpoint mechanism where Logstash retrieves and extracts plugin archives or configuration updates. When Logstash processes a malicious archive containing traversal sequences, files are written outside the designated directory with the privileges of the Logstash service account. In deployments with automatic pipeline reloading enabled (a common configuration for dynamic pipeline management), attackers can overwrite pipeline configuration files (*.conf) to inject arbitrary code executed by the Logstash JRuby runtime, achieving full remote code execution.

Know when Logstash gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Severity Changed
Jul 24, 2026 - 22:23 NVD
HIGH CRITICAL
CVSS changed
Jul 24, 2026 - 22:23 NVD
8.1 (HIGH) 9.8 (CRITICAL)
CVE Published
Apr 08, 2026 - 16:50 nvd
HIGH 8.1

DescriptionNVD

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.

Executive ViewAI

Why It Matters

Elastic Logstash versions 8.0.0 through 8.19.13 contain a critical remote code execution vulnerability allowing unauthenticated attackers to execute arbitrary code through malicious compressed archives during pipeline updates. Organizations running affected Logstash instances face potential full system compromise if automatic pipeline reloading is enabled, requiring immediate isolation and version assessment regardless of current patch availability.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable automatic pipeline reloading in logstash.yml; (2) Implement network segmentation to restrict Logstash update endpoint access to trusted internal sources only; (3) Deploy file integrity monitoring on Logstash configuration and plugin directories; (4) Enforce strict input validation on compressed archives processed by Logstash; (5) Monitor process execution initiated by Logstash service for anomalous behavior.

Threat Intelligence Overview

EPSS Score
0.3%
Top 49% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2019-7612 CRITICAL
9.8 Mar 25

A sensitive data disclosure flaw was found in the way Logstash versions before 5.6.15 and 6.6.1 logs malformed URLs. Rat

CVE-2017-14730 HIGH
7.8 Sep 25

The init script in the Gentoo app-admin/logstash-bin package before 5.5.3 and 5.6.x before 5.6.1 has "chown -R" calls fo

CVE-2014-4326 HIGH
7.5 Jul 22

Elasticsearch Logstash 1.0.14 through 1.4.x before 1.4.2 allows remote attackers to execute arbitrary commands via a cra

CVE-2016-1000221 HIGH
7.5 Jun 16

Logstash prior to version 2.3.4, Elasticsearch Output plugin would log to file HTTP authorization headers which could co

CVE-2015-5378 HIGH
7.5 Jun 27

Logstash 1.5.x before 1.5.3 and 1.4.x before 1.4.4 allows remote attackers to read communications between Logstash Forwa

CVE-2016-10363 HIGH
7.5 Jun 16

Logstash versions prior to 2.3.3, when using the Netflow Codec plugin, a remote attacker crafting malicious Netflow v5,

CVE-2016-1000222 HIGH
7.5 Jun 16

Logstash prior to version 2.1.2, the CSV output can be attacked via engineered input that will create malicious formulas

CVE-2019-7620 HIGH
7.5 Oct 30

Logstash versions before 7.4.1 and 6.8.4 contain a denial of service flaw in the Logstash Beats input plugin. Rated high

CVE-2015-4152 MEDIUM
6.4 Jun 15

Directory traversal vulnerability in the file output plugin in Elasticsearch Logstash before 1.4.3 allows remote attacke

CVE-2018-3817 MEDIUM
6.5 Mar 30

When logging warnings regarding deprecated settings, Logstash before 5.6.6 and 6.x before 6.1.2 could inadvertently log

CVE-2015-5619 MEDIUM
5.9 Aug 09

Logstash 1.4.x before 1.4.5 and 1.5.x before 1.5.4 with Lumberjack output or the Logstash forwarder does not validate SS

CVE-2023-46672 MEDIUM
5.5 Nov 15

An issue was identified by Elastic whereby sensitive information is recorded in Logstash logs under specific circumstanc

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy