letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping
CVE-2026-138207Published 29 Nov 2026, 08:15 UTC
Real-world risk
1.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulDB)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| letta-codeNiche | = 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 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.1% chance of exploitation in 30 days (percentile 4), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.5 × threat 0.951.425
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 29 Nov 2026 Published
- 2 Dec 2026 Reference tagged as exploit first seen
- 2 Dec 2026 CISA SSVC: proof of concept first seen
- 2 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-705
References
- https://vuldb.com/vuln/445076technical-description, vdb-entry
- https://vuldb.com/vuln/445076/ctipermissions-required, signature
- https://vuldb.com/cve/CVE-2026-138207third-party-advisory
- https://vuldb.com/submit/1070489third-party-advisory
- https://github.com/letta-ai/letta-code/issues/5462exploit, issue-tracking
- https://github.com/letta-ai/letta-code/pull/5489issue-tracking, patch
- https://github.com/letta-ai/letta-code/product
- CVE-2026-138207 on CVE.org