Vulnerability  ·  2026-12-04

letta-ai letta-code Permission Checker path traversal (file_path)

VulnerabilityMedium impactGlobalCVE-2026-142485
CVE-2026-142485 is a path traversal in letta-code's permission checker (isWithinAllowedDirectories), where an attacker-controlled file_path can escape the allowed directories. This is the same component family as previously disclosed letta-code permission flaws (CVE-2026-138207, etc.).
letta-code runs commands/files on the agent's behalf. A path-traversal gap in the permission checker lets a crafted file reference bypass the sandbox boundary and access files the agent should not read or write.
The isWithinAllowedDirectories check in the Permission Checker is vulnerable to path traversal via the file_path argument, allowing a caller to read/write outside the permitted directory set.
letta-ai letta-code up to 0.34.77 (src/permissions/checker.ts)
Upgrade to a letta-code release that hardens isWithinAllowedDirectories; normalize/realpath paths before containment checks.
NVD — CVE-2026-142485VulDB — CVE-2026-142485
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →