CVE-2026-138207

letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping

Published Nov 29, 2026 CVSS 4.0 · 4.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw occurs in the Permission Loader's loadPermissions function, causing incorrect control flow scoping that can allow a local attacker to modify or bypass permission checks. This could enable unauthorized access to resources or operations within the application.

Affected Systems

Vulnerable versions of letta-ai letta-code up to 0.34.71 on systems that use the Permission Loader component. The issue is present in every release before the pending patch that will be delivered by a future merge of the pull request cited in the advisory.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity, and the exploit has already been published and demonstrated in the wild. The attack vector is local, meaning the threat is limited to users who can execute code on the same machine. While the Vulnerability Exploit Prediction System score is not available, the vulnerability is not listed in CISA's KEV catalog. Given the local nature of the attack and pending fix, the overall risk remains moderate until a patch or version upgrade is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest patched release of letta-code once the pull request is merged and the new version is available.
  • Enforce least‑privilege permissions for local accounts, restricting the ability to modify or execute the Permission Loader code.
  • Monitor system logs for anomalous permission changes or unexpected privilege escalations to detect exploitation attempts early.

Generated by OpenCVE AI on November 29, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping
First Time appeared Letta-ai
Letta-ai letta-code
Weaknesses CWE-705
CPEs cpe:2.3:a:letta-ai:letta-code:*:*:*:*:*:*:*:*
Vendors & Products Letta-ai
Letta-ai letta-code
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': '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'}

cvssV3_1

{'score': 3.3, 'vector': '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'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses
  • CWE-705

    Incorrect Control Flow Scoping

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 29, 2026, 8:15 AM
Reserved
Nov 28, 2026, 7:27 AM
Status
Deferred
Published
Nov 29, 2026, 9:16 AM
Modified
Nov 29, 2026, 9:16 AM