letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 29, 2026
- Updated
- Nov 29, 2026
- Reserved
- Nov 28, 2026
Description
A flaw has been found in letta-ai letta-code up to 0.34.71. This issue affects the function loadPermissions of the file src/permissions/loader.ts of the component Permission Loader. This manipulation causes incorrect control flow scoping. The attack needs to be launched locally. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.
| Product | Versions |
|---|---|
| letta-code letta-ai | 0.34.0 Affected0.34.1 Affected0.34.2 Affected0.34.3 Affected0.34.4 Affected0.34.5 Affected0.34.6 Affected0.34.7 Affected0.34.8 Affected0.34.9 Affected0.34.10 Affected0.34.11 Affected0.34.12 Affected0.34.13 Affected0.34.14 Affected0.34.15 Affected0.34.16 Affected0.34.17 Affected0.34.18 Affected0.34.19 Affected0.34.20 Affected0.34.21 Affected0.34.22 Affected0.34.23 Affected0.34.24 Affectedand 47 more versions |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulDB | |
| 3.1 | 3.3 Low | VulDB | |
| 3.0 | 3.3 Low | VulDB | |
| 2.0 | 1.7 Low | VulDB |
Weaknesses
- CWE-705 Incorrect Control Flow Scoping
References
- VDB-445076 | letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scopingVulnerability DatabaseTechnical Details
- VDB-445076 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-138207 | CVE Analysis and ReportThird-Party Advisory
- Submit #1070489 | Letta Letta Code 0.34.38 Improper AuthorizationThird-Party Advisory
- https://github.com/letta-ai/letta-code/issues/5462ExploitIssue Tracker
- https://github.com/letta-ai/letta-code/pull/5489Issue TrackerPatch
- https://github.com/letta-ai/letta-code/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.