Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege host access
-
DeliveryCraft sessionId with ../ traversal sequences
-
ExploitInvoke getEnrichedData or enrichSession
-
Executionpath.join resolves path outside ENRICHED_DIR
-
ImpactRead or overwrite arbitrary process-accessible files
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 that the attacker already hold local system access and low-privilege execution rights on the host running claude-sesh (AV:L, PR:L confirmed by CVSS 4.0 vector). The attacker must be able to invoke the getEnrichedData or enrichSession functions in src/services/enricher.ts, whether through direct code execution or a locally exposed interface. No non-default configuration is required - the flaw exists in the default path-construction logic for all uses of the enricher service in version 1.0.0. Exploitation is bounded by the OS permissions of the user account running the claude-sesh Node.js process; the attacker cannot access files outside those permissions. Remote exploitation is not possible given AV:L. No user interaction is required (UI:N per CVSS 4.0). |
| Impact | Real-world risk is low. The CVSS 4.0 base score of 1.9 accurately reflects the local attack vector (AV:L), low privilege requirement (PR:L), and constrained impact (VC:L/VI:L/VA:L with no scope change to subsequent systems). An attacker must already hold local system access before exploitation is possible, which substantially limits the exposure surface. No EPSS score is available in the provided data, and the CVE is not listed in CISA KEV. The E:P threat modifier in the CVSS 4.0 vector signals that proof-of-concept code exists, marginally elevating urgency over a purely theoretical finding. Given the obscure deployment footprint of this tool, the requirement for prior local access, and the bounded impact limited to process-level file permissions, this vulnerability does not constitute a priority remediation item for most security teams - patching is advisable but not urgent. |
| Exploit ScenarioDerived | A local user with low-privilege access on the host running claude-sesh invokes the getEnrichedData or enrichSession function - directly in code or via a locally exposed API - supplying a sessionId such as '../../etc/passwd' or '../../home/user/.ssh/id_rsa'. Because the original code passes this value unsanitized to path.join(ENRICHED_DIR, |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 09, 2026
Path traversal in claude-sesh 1.0.0 allows a local attacker with low privileges to escape the intended enrichment directory by supplying a crafted sessionId containing directory traversal sequences to the getEnrichedData or enrichSession functions in src/services/enricher.ts. The unvalidated sessionId is passed directly to path.join(), permitting reads and writes to arbitrary files accessible by the process user account. A proof-of-concept is indicated by the E:P threat metric in the provided CVSS 4.0 vector; no active exploitation or CISA KEV listing is confirmed.
RemediationAI
Apply the upstream fix via commit 786c9d74800e6d0858b65778f31beb71b3983a50, available at https://github.com/abracadabra50/claude-sesh/commit/786c9d74800e6d0858b65778f31beb71b3983a50. The commit replaces all raw path.join() calls in src/services/enricher.ts with the new enrichedPathFor() helper, which enforces an alphanumeric-plus-hyphen allowlist and a path.resolve() boundary check. Note that no tagged release version incorporating this fix has been independently confirmed - the fix exists as a commit only, so users should pin to or cherry-pick this commit directly. As a compensating control prior to patching, restrict OS-level permissions on ENRICHED_DIR so the Node.js process user cannot read or write to sensitive paths outside it, and limit local shell access to the host running claude-sesh to trusted operators only. Disabling or firewalling whatever local interface exposes the enrichSession endpoint is also advisable if operationally feasible, with the trade-off of disabling session enrichment functionality.
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
claude-sesh (CPE: cpe:2.3:a:abracadabra50:claude-sesh:*:*:*:*:*:*:*:*) is a TypeScript/Node.js session enrichment tool for Claude Code, previously using the Hono web framework (removed in the patching commit). The enricher service stores JSON blobs in a designated ENRICHED_DIR and constructed file paths via path.join(ENRICHED_DIR, ${sessionId}.json) without any sanitization. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) applies directly: Node.js path.join() does not strip traversal sequences, so a sessionId of '../../etc/shadow' resolves cleanly outside ENRICHED_DIR. The patch introduces a SAFE_SESSION_ID allowlist regex (/^[A-Za-z0-9_-]+$/) and a secondary path.resolve() plus dirname comparison in a new enrichedPathFor() helper, replacing all three raw path.join() call sites in the file.
Know when Claude Sesh 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:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Local access and low privileges required to invoke the function; no scope change; file read/write impact bounded by process user permissions.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in abracadabra50 claude-sesh 1.0.0. This issue affects the function getEnrichedData/enrichSession of the file src/services/enricher.ts. Executing a manipulation of the argument sessionId can lead to path traversal. The attack needs to be launched locally. This patch is called 786c9d74800e6d0858b65778f31beb71b3983a50. Applying a patch is advised to resolve this issue.
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-54858
GHSA-rm8c-j3vq-fv9j
NVD
CVE.org
EPSS
VulDB
Exploit-DB