Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft session_name with ../ traversal sequences
-
DeliveryVictim runs crafted plugin invoking delete_dead_session
-
ExploitUnvalidated name passed to delete path
-
Executionremove_dir_all escapes ZELLIJ_SESSION_INFO_CACHE_DIR
-
ImpactArbitrary directory deletion (integrity/availability loss)
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 | Exploitation requires reaching the delete_dead_session / delete_dead_session_and_reply functions in zellij's WASM Plugin Host with an attacker-controlled session_name argument, and the CVSS vector's UI:P means a passive user interaction is required - typically the victim running or loading a crafted/malicious plugin that drives the dead-session deletion path. The concrete prerequisite is that the session_name value flows unvalidated into std::fs::remove_dir_all(ZELLIJ_SESSION_INFO_CACHE_DIR.join(&id)), so an unsanitized name containing '..' or absolute/separator components causes the removal to escape the session cache directory. Limiting factors: this is not remote-unauthenticated exploitation of a default network service - it depends on the plugin-host code path and the required user interaction (UI:P) - and it is fully remediated only by upgrading to zellij 0.46.0, which adds validate_session_folder_name(). |
| Impact | This is a medium-severity path traversal (CWE-22) in zellij's WASM Plugin Host, scored CVSS 4.0 5.3 with vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - meaning low integrity and availability impact and no confidentiality impact, with passive user interaction required (UI:P). The signals are internally consistent and point to a real but non-critical issue: VulDB's priority is 'this_month' (not act_now/emergency), it is NOT listed in CISA KEV, and the exploit maturity is E:P (proof-of-concept), matching the intelligence that the PoC is a reference (PR #5725) rather than verified working exploit code. The source-code evidence corroborates the mechanism: the fix introduces validate_session_folder_name() to reject names containing path separators or '..' before std::fs::remove_dir_all(ZELLIJ_SESSION_INFO_CACHE_DIR.join(&id)) runs, so the impact is unauthorized directory deletion outside the session cache, not code execution or data disclosure. No EPSS score was supplied in the input, so widespread-exploitation probability cannot be quantified. Net: a legitimate maintenance-priority fix for a developer tool, not an urgent emergency - the UI:P requirement and plugin-host trigger surface limit real-world mass exploitation. |
| Exploit ScenarioDerived | An attacker supplies a crafted session_name containing directory-traversal sequences (e.g. '../../../../poc') that reaches the delete_dead_session / delete_dead_session_and_reply export in the WASM plugin host; because the name is passed unvalidated into remove_dir_all over ZELLIJ_SESSION_INFO_CACHE_DIR.join(id), the deletion escapes the session cache directory. A public PoC reference exists (PR #5725) but it is not verified as working exploit code, and UI:P indicates the victim must perform a passive interaction (such as running a crafted/malicious plugin that invokes the delete path). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Path traversal in Zellij through 0.45.1 lets a crafted session_name reach the WASM Plugin Host's dead-session deletion routines, where it is joined onto the session info cache directory and passed to a recursive directory removal, allowing deletion of files outside that cache; impact is limited to low integrity and availability with no confidentiality effect (CVSS 4.0 5.3, E:P; assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L). Exploitation is not confirmed in the wild, but a public pull request (zellij-org/zellij#5725, referenced as exploit material) describes the flaw and the fix, and it is not verified as working exploit code; passive user interaction - loading or running a plugin that drives the dead-session deletion path - is required. Version 0.46.0 resolves the issue via commit a655b438ac495eb5d14bcbfd48874f3b1deae1a8, adding a folder-name validator before the filesystem removal.
RemediationAI
Vendor-released patch: upgrade to zellij 0.46.0 (release https://github.com/zellij-org/zellij/releases/tag/v0.46.0), which contains commit a655b438ac495eb5d14bcbfd48874f3b1deae1a8 adding validate_session_folder_name() before the remove_dir_all call in delete_dead_session and delete_dead_session_and_reply, plus Windows backslash rejection in validate_session_name; no patched version below 0.46.0 is identified, so pinning to a 0.45.x build does not remove the flaw. The available sources document updating as the fix and describe no separate configuration switch or vendor-supplied workaround, so there is no confirmed toggle to disable the affected host functions; as a stop-gap consistent with the plugin-host reachability described in the advisory material, operators can avoid loading plugins from untrusted sources until the upgrade is applied, at the cost of losing any plugin functionality those plugins provide, and can restrict write access to the user's session cache directory tree to limit the blast radius of a recursive delete - neither is a complete substitute for 0.46.0. Verify the deployed build reports 0.46.0 or later before considering the issue closed.
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
Zellij is a Rust terminal multiplexer with a WebAssembly plugin host: plugins running inside zellij-server call host functions exported from zellij-server/src/plugins/zellij_exports.rs, including delete_dead_session and delete_dead_session_and_reply. The original code built a path with ZELLIJ_SESSION_INFO_CACHE_DIR.join(&id) and passed it to std::fs::remove_dir_all without validating that the supplied session name was a single, plain path component - the classic CWE-22 precondition. Any name containing '..', a separator, or an absolute prefix therefore escaped the intended cache directory and the recursive delete operated on an attacker-chosen location. The upstream patch adds validate_session_folder_name() in zellij-utils/src/sessions.rs, which splits the input with Path::components() and accepts it only when there is exactly one Component::Normal whose OsStr equals the whole input, rejecting '', '.', '..', '../x', 'a/b', '/abs', './a' and, on Windows, backslash and drive/UNC forms; the same commit also rejects '\\' in validate_session_name on Windows, moves validation into screen.rs session handling and zellij-utils kill_session, and removes the now-redundant client-side name check in src/commands.rs. The affected configuration is thus the plugin-host code path that accepts an externally supplied session_name; the trigger for how a plugin obtains or forwards that value is not described in the available sources.
Know when Zellij 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Traversal reaches a plugin-host path but needs user interaction (UI:R) to run the crafted plugin; it deletes directories giving limited integrity/availability impact and no confidentiality (C:N).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in zellij-org zellij up to 0.45.1. This impacts the function delete_dead_session/delete_dead_session_and_reply of the file zellij-server/src/plugins/zellij_exports.rs of the component WASM Plugin Host. The manipulation of the argument session_name results in path traversal. The attack can be executed remotely. The exploit is now public and may be used. Upgrading to version 0.46.0 will fix this issue. The patch is identified as a655b438ac495eb5d14bcbfd48874f3b1deae1a8. You should upgrade the affected component.
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.
EUVD-2026-137897
GHSA-rp25-89cj-8jm4
NVD
CVE.org
EPSS
VulDB
Exploit-DB