Skip to content

letta-code

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?

ProductAffected 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

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.500
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.5 × threat 0.951.425
  4. Rounded to one decimal between 0.1 and 101.4

How the score works

Exploitation and evidence timeline

  1. 29 Nov 2026 Published
  2. 2 Dec 2026 Reference tagged as exploit first seen
  3. 2 Dec 2026 CISA SSVC: proof of concept first seen
  4. 2 Dec 2026 Risk 1.4 (cvss fallback)

Weakness

CWE-705

References

Get alerts for letta-code

Free email or text alerts when a vulnerability in letta-code reaches risk 8 or higher. Nothing else.