# CVE-2026-138207: letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-29T08:15:16.340Z
- Modified: 2026-11-29T09:16:56.223Z
- Weaknesses: CWE-705
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- 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; and 60 more

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C`

## References

- <https://github.com/letta-ai/letta-code/issues/5462> (exploit, issue-tracking)
- <https://vuldb.com/vuln/445076> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/445076/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-138207> (third-party-advisory)
- <https://vuldb.com/submit/1070489> (third-party-advisory)
- <https://github.com/letta-ai/letta-code/pull/5489> (issue-tracking, patch)
- <https://github.com/letta-ai/letta-code/> (product)

## Sources

- CVE List: [CVE-2026-138207](https://www.cve.org/CVERecord?id=CVE-2026-138207), CVE Terms of Use, modified 2026-11-29
- NVD: [CVE-2026-138207](https://nvd.nist.gov/vuln/detail/CVE-2026-138207), Public domain, modified 2026-11-29

---

Page: https://cve.day/CVE-2026-138207 · Whole record: https://cve.day/CVE-2026-138207.json · Rebuilt by cve.day 2026-11-29T09:17:32.902Z
