Skip to main content

Letta Code CVE-2026-142485

| EUVDEUVD-2026-142015 MEDIUM
Path Traversal (CWE-22)
2026-12-03 VulDB GHSA-v735-g2r5-rr85
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to letta-code with low privileges
  2. Exploit
    Submit file_path with traversal sequences
  3. Execution
    Bypass isWithinAllowedDirectories check
  4. Impact
    Read files outside allowed directories

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 authenticated, low-privilege access to letta-code (CVSS PR:L) and the ability to supply the file_path argument to an operation that runs through the Permission Checker; the attacker manipulates file_path so that isWithinAllowedDirectories fails to keep the resolved path within the configured allowed directories, enabling access outside them. Limiting factors: it is not an unauthenticated flaw (some privilege is needed), impact is confined to low confidentiality disclosure (no integrity or availability impact per the vector), and only versions up to and including 0.34.77 are stated as affected. No special non-default feature is named in the sources as a prerequisite; the trigger beyond manipulating file_path is not described in the available sources.

Impact

This is a moderate, not urgent, issue. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) scores 5.3 and describes a network-reachable path-traversal flaw that requires low privileges (PR:L, i.e. an authenticated actor), has low attack complexity, needs no user interaction, and yields only low confidentiality impact with no integrity or availability impact. The vuln.today Decision label is 'this_month' - a routine remediation priority, not act_now or emergency. There is no CISA KEV listing, no EPSS probability supplied, and no confirmed public exploit code; all four references are VulDB database/submission pages from a single reporting source (VulDB), not independent vendor confirmation or working exploit artifacts. Signals are therefore consistent and point to a low-to-moderate real-world risk: a genuine access-control bypass that is gated behind authentication and limited to information disclosure. Key caveat: this is single-sourced to VulDB and the vendor (letta-ai) did not respond to disclosure, so affected-version scope and the absence of a fix are not independently corroborated. EPSS is missing, so widespread-exploitation likelihood cannot be quantified from the data.

Exploit ScenarioDerived

An authenticated user of letta-code supplies a crafted file_path containing directory-traversal sequences to an operation guarded by the Permission Checker. Because isWithinAllowedDirectories in src/permissions/checker.ts fails to properly confine the path, the request resolves outside the permitted directories, letting the actor read files the agent should not expose. Exploitation is network-reachable with low complexity but requires low-level privileges (PR:L); no confirmed public exploit code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 03, 2026

Path traversal in the Letta Code Permission Checker (src/permissions/checker.ts) through version 0.34.77 allows an authenticated, low-privilege user to read files outside the configured allowed directories by manipulating the file_path argument passed to isWithinAllowedDirectories. The weakness is confidentiality-only and low impact per the assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N); no integrity or availability effect is described. No public exploit is identified at time of analysis and there is no KEV listing, but the vendor was contacted about the disclosure and did not respond, so no vendor-released patch is identified in the available sources.

RemediationAI

No vendor-released patch is identified at time of analysis: per the disclosure the vendor was contacted early and did not respond, and no fixed version is listed in the available sources, so there is no exact version to upgrade to yet. Until a fix appears, the practical compensating control follows directly from the exploitation prerequisites: exploitation requires authenticated low-privilege access plus the ability to supply the file_path argument to an operation that routes through the Permission Checker, so restrict who may invoke those file and tool operations (for example, limit Letta Code usage to trusted operators and keep untrusted or multi-tenant users off instances configured with broad allowed directories). The trade-off is reduced functionality and collaboration for those users. Because the impact is limited to low confidentiality disclosure, no network-level block or service shutdown is indicated; track the VulDB entries (https://vuldb.com/vuln/447951 and https://vuldb.com/cve/CVE-2026-142485) for a fixed release and re-check the upstream repository for a patch that tightens isWithinAllowedDirectories path resolution.

Affected VersionsENISA

letta-code 0.34.42
letta-code 0.34.16
letta-code 0.34.63
letta-code 0.34.54
letta-code 0.34.30
letta-code 0.34.67
letta-code 0.34.11
letta-code 0.34.39
letta-code 0.34.68
letta-code 0.34.43
letta-code 0.34.44
letta-code 0.34.4
letta-code 0.34.29
letta-code 0.34.61
letta-code 0.34.6
letta-code 0.34.32
letta-code 0.34.24
letta-code 0.34.57
letta-code 0.34.8
letta-code 0.34.2
letta-code 0.34.49
letta-code 0.34.55
letta-code 0.34.9
letta-code 0.34.27
letta-code 0.34.71
letta-code 0.34.40
letta-code 0.34.56
letta-code 0.34.69
letta-code 0.34.7
letta-code 0.34.77
letta-code 0.34.19
letta-code 0.34.47
letta-code 0.34.65
letta-code 0.34.72
letta-code 0.34.31
letta-code 0.34.58
letta-code 0.34.50
letta-code 0.34.0
letta-code 0.34.28
letta-code 0.34.13
letta-code 0.34.3
letta-code 0.34.37
letta-code 0.34.21
letta-code 0.34.70
letta-code 0.34.17
letta-code 0.34.48
letta-code 0.34.52
letta-code 0.34.14
letta-code 0.34.15
letta-code 0.34.35
letta-code 0.34.26
letta-code 0.34.64
letta-code 0.34.38
letta-code 0.34.62
letta-code 0.34.1
letta-code 0.34.23
letta-code 0.34.45
letta-code 0.34.74
letta-code 0.34.76
letta-code 0.34.34
letta-code 0.34.12
letta-code 0.34.46
letta-code 0.34.5
letta-code 0.34.41
letta-code 0.34.33
letta-code 0.34.10
letta-code 0.34.73
letta-code 0.34.75
letta-code 0.34.36
letta-code 0.34.22
letta-code 0.34.60
letta-code 0.34.59
letta-code 0.34.20
letta-code 0.34.25
letta-code 0.34.66
letta-code 0.34.53
letta-code 0.34.51
letta-code 0.34.18

Affected Packages

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

Letta Code is a TypeScript codebase (the affected logic lives in src/permissions/checker.ts) whose Permission Checker enforces directory sandboxing: isWithinAllowedDirectories is intended to decide whether a caller-supplied file_path resolves inside a configured set of allowed directories. The flaw is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), i.e. the path-confinement check can be bypassed by a crafted file_path, so the resolved path escapes the allowed roots and file operations reach locations the policy should have blocked. The sources do not state which canonicalization step is missing (relative-segment resolution, absolute-path substitution, symlink handling), so the precise trigger beyond manipulating file_path is not described in the available sources. The CPE cpe:2.3:a:letta-ai:letta-code:*:*:*:*:*:*:*:* applies to releases up to and including 0.34.77; later versions are not stated as affected or fixed.

Know when Letta Code 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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network-reachable (AV:N) with low complexity, but the permission check sits behind authenticated agent access so PR:L; impact is limited to reading files outside allowed directories, hence C:L and I/A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was identified in letta-ai letta-code up to 0.34.77. This affects the function isWithinAllowedDirectories of the file src/permissions/checker.ts of the component Permission Checker. Such manipulation of the argument file_path leads to path traversal. It is possible to launch the attack remotely. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Low
niche open-source AI agent coding tool, limited production deployment
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
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