CVE-2026-134059 in Elastic
Summary
by MITRE • 11/23/2026
A relative path traversal vulnerability in Kibana Fleet and Elastic Agent allows an authenticated user with both Fleet Integrations: All and Agent policies: All privileges to distribute a malicious integration policy to managed Elastic Agents. A vulnerable Elastic Agent processing that policy for a component that runs in an isolated unit can modify or delete files outside the component's intended runtime directory with the privileges of the Elastic Agent process. This can cause loss of files or persistent denial of service on affected hosts.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified involves a relative path traversal flaw within the Kibana Fleet and Elastic Agent architecture, specifically affecting how integration policies are processed by managed agents. An authenticated user possessing both Fleet Integrations: All and Agent policies: All privileges can exploit this weakness to distribute a maliciously crafted integration policy. When an affected Elastic Agent processes this policy for a component operating in an isolated unit, the flawed path resolution logic allows the agent to access file system locations outside its designated runtime directory. This breakdown in isolation boundaries enables the attacker to modify or delete arbitrary files on the host machine with the elevated privileges of the Elastic Agent process itself.
From a technical perspective, this issue represents a classic relative path traversal vulnerability where insufficient validation of user-supplied input allows navigation up the directory tree using sequences such as dot-dot-slash. In the context of Kibana Fleet, components are intended to run in isolated environments to limit the blast radius of potential compromises. However, the failure to properly canonicalize or validate paths before file system operations means that an attacker can bypass these containment measures. The vulnerability is particularly severe because it leverages the high-privilege nature of the Elastic Agent service, which typically runs with significant access rights necessary for monitoring and security data collection tasks.
The operational impact of this flaw is substantial, leading to potential loss of critical system files or persistent denial of service conditions on affected hosts. By deleting essential configuration files, binaries, or logs, an attacker can disrupt the functionality of the host machine or the Elastic Agent itself. Furthermore, if the agent runs with administrative privileges, which is common in many enterprise deployments for comprehensive visibility, this vulnerability could potentially be chained with other local privilege escalation techniques to gain full control over the underlying operating system. The ability to write malicious files into trusted directories may also facilitate persistence mechanisms, allowing an attacker to maintain access even after initial detection or remediation attempts.
This vulnerability aligns with CWE-22: Improper Limitation of a Pathname to a Restricted Directory and falls under MITRE ATT&CK technique T1083: File and Directory Discovery when used for reconnaissance, or more critically T1485: Data Destruction if the intent is to delete files. It also relates to CWE-732: Incorrect Permission Assignment for Critical Resource due to the improper restriction of file access permissions relative to the component's intended scope. The attack vector involves Network Access with Privileges Required, indicating that remote exploitation is possible provided the attacker has valid credentials and sufficient privileges within the Kibana Fleet interface.
Mitigation strategies should prioritize immediate patching to the latest version of Elastic Agent and Kibana where this path traversal logic has been corrected through stricter input validation and canonicalization checks. Organizations must also enforce strict least-privilege principles for users managing fleet integrations, ensuring that only trusted administrators have access to create or modify agent policies. Additionally, running Elastic Agents with minimal required permissions can reduce the impact of such vulnerabilities by limiting the scope of files an attacker can target even if they successfully exploit the path traversal flaw. Regular auditing of integration policies and monitoring for unusual file system activity in directories associated with isolated components can further enhance detection capabilities against this type of exploitation attempt.