CVE-2026-142485 — letta-ai letta-code — CWE-22
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.
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-142485
CVSS 4.3/10 · MEDIUM · 03.12.2026
CWE: CWE-22
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Path Traversal / LFI
Summary: 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.
⚡ ATTACK VECTOR
Network / Remote (AV:N) · low-privilege account (PR:L) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L).
🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Use realpath() canonicalization, implement allowlists.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]