CVE-2026-142485: letta-ai letta-code Permission Checker checker.ts isWithinAllowedDirectories path traversal
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 filepath 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
letta-ai letta-code versions up to 0.34.77 are identified as affected. The issue is in the Permission Checker's isWithinAllowedDirectories function in src/permissions/checker.ts.
What access does an attacker need?
The supplied vector is network-based with low attack complexity, and exploitation requires low privileges. No user interaction is required.
What is the likely impact of successful exploitation?
The reported impact is limited to confidentiality, with low confidentiality impact and no stated integrity or availability impact. The vulnerability involves manipulating the file_path argument to traverse paths outside allowed directories.
Is a vendor fix or mitigation available?
The provided information does not identify a fixed version, workaround, or mitigation. It states that the vendor was contacted but did not respond.