Skip to main content

claude-sesh CVE-2026-19327

| EUVDEUVD-2026-54858 LOW
Path Traversal (CWE-22)
2026-08-09 VulDB GHSA-rm8c-j3vq-fv9j
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege host access
  2. Delivery
    Craft sessionId with ../ traversal sequences
  3. Exploit
    Invoke getEnrichedData or enrichSession
  4. Execution
    path.join resolves path outside ENRICHED_DIR
  5. Impact
    Read 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, ${sessionId}.json), the resolved path escapes ENRICHED_DIR and points to arbitrary files readable or writable by the Node.js process. A proof-of-concept is indicated by the E:P threat metric in the provided CVSS 4.0 vector.

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

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

Alert me

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

claude-sesh 1.0.0

Affected Packages

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

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

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

Local access and low privileges required to invoke the function; no scope change; file read/write impact bounded by process user permissions.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
Aug 09, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Aug 09, 2026 - 03:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
obscure personal GitHub project, minimal enterprise footprint
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 No
EPSS 0.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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