Incorrect control flow scoping in letta-code Permission Loader
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
letta-ai letta-code versions 0.34.0 through 0.34.71 are affected. The loadPermissions function in src/permissions/loader.ts uses incorrect control flow scoping (CWE-705). A local attacker with low privileges can exploit it to affect integrity, and a public exploit has been published.
Written with Claude Haiku 5.5 from the sources below · 2026-11-29
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| letta-ai | letta-code | 0.34.0; 0.34.1; 0.34.2; 0.34.3; 0.34.4; 0.34.5; 0.34.6; 0.34.7; 0.34.8; 0.34.9; 0.34.10; 0.34.11; 0.34.12; 0.34.13; 0.34.14; 0.34.15; 0.34.16; 0.34.17; 0.34.18; 0.34.19; 0.34.20; 0.34.21; 0.34.22; 0.34.23; 0.34.24; 0.34.25; 0.34.26; 0.34.27; 0.34.28; 0.34.29; 0.34.30; 0.34.31; 0.34.32; 0.34.33; 0.34.34; 0.34.35; 0.34.36; 0.34.37; 0.34.38; 0.34.39; 0.34.40; 0.34.41; 0.34.42; 0.34.43; 0.34.44; 0.34.45; 0.34.46; 0.34.47; 0.34.48; 0.34.49; 0.34.50; 0.34.51; 0.34.52; 0.34.53; 0.34.54; 0.34.55; 0.34.56; 0.34.57; 0.34.58; 0.34.59; 0.34.60; 0.34.61; 0.34.62; 0.34.63; 0.34.64; 0.34.65; 0.34.66; 0.34.67; 0.34.68; 0.34.69; 0.34.70; 0.34.71 | — | No fix listed | CNA |
- letta-code Vendorletta-ai Affected 0.34.0; 0.34.1; 0.34.2; 0.34.3; 0.34.4; 0.34.5; 0.34.6; 0.34.7; 0.34.8; 0.34.9; 0.34.10; 0.34.11; 0.34.12; 0.34.13; 0.34.14; 0.34.15; 0.34.16; 0.34.17; 0.34.18; 0.34.19; 0.34.20; 0.34.21; 0.34.22; 0.34.23; 0.34.24; 0.34.25; 0.34.26; 0.34.27; 0.34.28; 0.34.29; 0.34.30; 0.34.31; 0.34.32; 0.34.33; 0.34.34; 0.34.35; 0.34.36; 0.34.37; 0.34.38; 0.34.39; 0.34.40; 0.34.41; 0.34.42; 0.34.43; 0.34.44; 0.34.45; 0.34.46; 0.34.47; 0.34.48; 0.34.49; 0.34.50; 0.34.51; 0.34.52; 0.34.53; 0.34.54; 0.34.55; 0.34.56; 0.34.57; 0.34.58; 0.34.59; 0.34.60; 0.34.61; 0.34.62; 0.34.63; 0.34.64; 0.34.65; 0.34.66; 0.34.67; 0.34.68; 0.34.69; 0.34.70; 0.34.71 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:letta-ai:letta-code:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:letta-ai:letta-code:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
The sources list no fixed version for letta-code. A pull request that fixes this issue awaits acceptance.
Written with Claude Haiku 5.5 from the sources below · 2026-11-29
Timeline
- 2026-11-29 Threatist record created from CVE-2026-138207
- 2026-11-29 Alias added: GHSA-75v4-33m7-v829
References
More letta-ai vulnerabilities
- TI-2026-76666 Insecure default configuration in Letta exposes API and PostgreSQL CVSS 4.0CRITICAL 9.3
- TI-2026-76667 Letta lets API callers impersonate other users via user_id header CVSS 4.0HIGH 8.6
- TI-2026-15517 letta-ai LettaBot API Status Route server.ts missing authentication CVSS 4.0MEDIUM 6.9
- TI-2026-76668 Letta tool sandbox exposes server secrets to tool users CVSS 4.0HIGH 7.1
- TI-2025-05511 letta-ai letta interface.py function_message eval injection CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-138207 · CVE Program
- CVE-2026-138207 · NVD
- FIRST EPSS
- GHSA-75v4-33m7-v829 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences