Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessServe malicious archive to Logstash update endpoint
-
ExploitArchive extraction bypasses path validation
-
ExecutionWrite arbitrary files via relative path traversal
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionNVD
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
A sensitive data disclosure flaw was found in the way Logstash versions before 5.6.15 and 6.6.1 logs malformed URLs. Rat
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
Elasticsearch Logstash 1.0.14 through 1.4.x before 1.4.2 allows remote attackers to execute arbitrary commands via a cra
Logstash prior to version 2.3.4, Elasticsearch Output plugin would log to file HTTP authorization headers which could co
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
Logstash versions prior to 2.3.3, when using the Netflow Codec plugin, a remote attacker crafting malicious Netflow v5,
Logstash prior to version 2.1.2, the CSV output can be attacked via engineered input that will create malicious formulas
Logstash versions before 7.4.1 and 6.8.4 contain a denial of service flaw in the Logstash Beats input plugin. Rated high
Directory traversal vulnerability in the file output plugin in Elasticsearch Logstash before 1.4.3 allows remote attacke
When logging warnings regarding deprecated settings, Logstash before 5.6.6 and 6.x before 6.1.2 could inadvertently log
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
An issue was identified by Elastic whereby sensitive information is recorded in Logstash logs under specific circumstanc
EUVD-2026-20526
GHSA-w3rv-2cr7-p2wh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB