Skip to main content

Letta Code CVE-2026-138207

| EUVDEUVD-2026-137713 LOW
Incorrect Control Flow Scoping (CWE-705)
2026-11-29 VulDB GHSA-75v4-33m7-v829
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged access
  2. Exploit
    Supply malformed permissions settings file
  3. Execution
    Loader silently skips file and drops its rules
  4. Impact
    Permission scope weakened

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Requires local access as a low-privileged user (AV:L/PR:L, no network path and no user interaction) plus the ability to influence a permissions settings file read by getPermissionSourcePaths/loadPermissions. The specific trigger per the fix diff: the pre-patch loader catches all read/parse errors and 'silently skips files that can't be parsed', so a settings file containing invalid JSON - or one that throws on read - has its entire permissions block (allow/deny/ask/alwaysAsk/additionalDirectories/mode) discarded rather than enforced. Limiting factors that reduce realistic risk: no remote vector, local privilege already needed, impact confined to integrity of permission scoping (VC:N/VA:N), and no evidence of automated or active exploitation.

Impact

This is a genuinely low-priority, low-severity local integrity issue, not a high-CVSS alarm. The VulDB CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) scores 4.8 (Medium) and is internally consistent with the mechanism shown in the fix: exploitation requires local, low-privileged access, not network reach. The single impact metric is VI:L (integrity), with VC:N and VA:N - so the real-world effect is weakened permission enforcement, not data theft or outage. EPSS is not provided in the input and the CVE is NOT in CISA KEV, so there is no evidence of active or widespread exploitation; the E:P (Proof-of-Concept) exploit maturity and the 'this_month' decision label both point to routine, non-emergency remediation. Note a conflict to resolve: the input Tags label this 'Information Disclosure', but the official vector sets VC:N (no confidentiality impact) and VI:L, so the flaw is a permission/control-flow integrity bug (CWE-705), not disclosure - verify classification with the vendor. Also note a patch-status conflict: the intelligence says 'Patch: Available from vendor' while the description says the fixing pull request 'awaits acceptance', so a merged/released fixed version is not confirmed.

Exploit ScenarioDerived

A local, low-privileged user places or edits a permissions settings file (one of the paths loadPermissions reads) so that it contains invalid JSON or otherwise fails to read. The pre-patch loadPermissions wraps the read/parse in a try/catch that silently skips unparseable files, so that file's intended allow/deny/ask rules are dropped and never enforced, degrading the effective permission scope. A public PoC reference exists (GitHub issue #5462); it is not verified as working exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

Permission scoping in Letta Code through 0.34.71 breaks when a permission settings file cannot be read or parsed: the pre-patch loader swallows the error and silently drops the entire permissions block (allow, deny, ask, alwaysAsk, additionalDirectories and mode), so rules the user believed were enforced are never applied. The issue is local-only, needs a low-privileged local user who can influence a settings file that loadPermissions reads, and is confined to integrity of permission enforcement (no confidentiality or availability impact). A public PoC reference exists; it is not verified as working exploit code, there is no KEV listing, and the upstream fix is a pull request that has not yet been accepted, so a released patched version is not confirmed.

RemediationAI

No released fixed version is identified in the available data; the fix is upstream pull request https://github.com/letta-ai/letta-code/pull/5489, which the source notes await acceptance, so track that PR and upgrade to the first release that includes it (any release after 0.34.71 carrying the restructured loader) once it ships. Until then, compensating controls that match the actual failure mode: ensure every permission settings file that Letta Code reads is syntactically valid JSON of the expected shape (permissions as an object, allow/deny/ask/alwaysAsk/additionalDirectories as string arrays, mode a recognized value) and fail your own pre-flight check if not, because the current loader will otherwise discard all rules from that file; restrict write access to those settings paths to trusted accounts so a low-privileged local user cannot plant a file that suppresses the deny list - the trade-off is added configuration management overhead. Note that the fix makes invalid settings throw instead of being skipped, so after upgrading, sessions with malformed settings files will error out and must be corrected before the agent will start; that is a deliberate side effect of the fail-loud design and should be communicated to users before rollout.

Affected VersionsENISA

letta-code 0.34.34
letta-code 0.34.67
letta-code 0.34.2
letta-code 0.34.59
letta-code 0.34.10
letta-code 0.34.69
letta-code 0.34.48
letta-code 0.34.47
letta-code 0.34.36
letta-code 0.34.12
letta-code 0.34.63
letta-code 0.34.23
letta-code 0.34.25
letta-code 0.34.7
letta-code 0.34.43
letta-code 0.34.8
letta-code 0.34.16
letta-code 0.34.55
letta-code 0.34.4
letta-code 0.34.21
letta-code 0.34.51
letta-code 0.34.30
letta-code 0.34.66
letta-code 0.34.56
letta-code 0.34.42
letta-code 0.34.0
letta-code 0.34.32
letta-code 0.34.38
letta-code 0.34.13
letta-code 0.34.35
letta-code 0.34.19
letta-code 0.34.33
letta-code 0.34.50
letta-code 0.34.29
letta-code 0.34.15
letta-code 0.34.52
letta-code 0.34.70
letta-code 0.34.20
letta-code 0.34.40
letta-code 0.34.6
letta-code 0.34.1
letta-code 0.34.60
letta-code 0.34.53
letta-code 0.34.44
letta-code 0.34.41
letta-code 0.34.64
letta-code 0.34.58
letta-code 0.34.26
letta-code 0.34.71
letta-code 0.34.61
letta-code 0.34.22
letta-code 0.34.11
letta-code 0.34.49
letta-code 0.34.37
letta-code 0.34.62
letta-code 0.34.14
letta-code 0.34.28
letta-code 0.34.3
letta-code 0.34.54
letta-code 0.34.24
letta-code 0.34.31
letta-code 0.34.9
letta-code 0.34.17
letta-code 0.34.65
letta-code 0.34.18
letta-code 0.34.46
letta-code 0.34.68
letta-code 0.34.39
letta-code 0.34.57
letta-code 0.34.27
letta-code 0.34.45
letta-code 0.34.5

Affected Packages

euvd letta_code no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Letta Code is a Node.js/TypeScript coding agent whose permission model is loaded from layered settings files resolved by getPermissionSourcePaths() and merged in loadPermissions() (src/permissions/loader.ts). The root cause class is CWE-705, Incorrect Control Flow Scoping: the pre-patch loop wrapped existence check, readFile and JSON.parse in a single try/catch whose catch branch contained only a comment ('Silently skip files that can't be parsed'), so any thrown error - malformed JSON, a non-file path, or a read failure - escaped the merge step for that source and left the merged policy missing every rule that file would have contributed. The fix in PR 5489 restructures control flow: statSync now runs separately and throws a descriptive error for non-file paths, readSettingsFile distinguishes ENOENT (returns null) from other I/O errors (throws createSettingsReadError), and the new parseSettingsFile validates that the document is an object, that permissions is an object, that allow/deny/ask/alwaysAsk/additionalDirectories are arrays of strings, and that permissions.mode is a recognized mode via migratePermissionMode. The accompanying test change flips an existing case from 'handles invalid JSON gracefully' to 'rejects invalid JSON with its settings path', confirming the intended behaviour is now fail-loud rather than silent skip. The trigger is a locally crafted or corrupted settings file; no network path is involved.

Know when Letta Code gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 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
vuln.today AI 3.3 LOW

Exploitation needs local low-privileged access to a permissions file (AV:L, PR:L, AC:L); impact is integrity only as deny/ask rules are silently dropped (I:L), with no confidentiality or availability effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 29, 2026 - 09:22 NVD
MEDIUM LOW
CVSS changed
Nov 29, 2026 - 09:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
CVE Published
Nov 29, 2026 - 08:15 cve.org
MEDIUM 4.8

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche AI coding-agent CLI, limited real-world production footprint
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy