Skip to main content

Zellij CVE-2026-138334

| EUVDEUVD-2026-137897 LOW
Path Traversal (CWE-22)
2026-11-29 VulDB GHSA-rp25-89cj-8jm4
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Craft session_name with ../ traversal sequences
  2. Delivery
    Victim runs crafted plugin invoking delete_dead_session
  3. Exploit
    Unvalidated name passed to delete path
  4. Execution
    remove_dir_all escapes ZELLIJ_SESSION_INFO_CACHE_DIR
  5. Impact
    Arbitrary 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).

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

zellij 0.45.1
zellij 0.45.0

Affected Packages

euvd zellij 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

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 30, 2026 - 00:22 NVD
MEDIUM LOW
CVSS changed
Nov 30, 2026 - 00:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Nov 29, 2026 - 23:30 cve.org
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.7%
Top 52% exploitable
Prevalence
Low
niche open-source terminal multiplexer, developer tooling, limited production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +10
PoC: +20
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.

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