Description
Letta through 0.16.8 contains an information disclosure vulnerability that allows users running tools to read server secrets because LocalSandbox subprocesses inherit the full server environment. Attackers can run code via POST /v1/tools/run or custom tools to read LETTA_PG_URI, POSTGRES_PASSWORD, and provider API keys, then access cross-tenant database data.
Published: 2026-10-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Credential Exposure
Action: Apply Patch
AI Analysis

Impact

Letta versions through 0.16.8 contain an information disclosure vulnerability that allows attackers to read sensitive server configuration values. The bug arises because the LocalSandbox subprocesses launched to run user‑supplied tools inherit the complete server environment, exposing environment variables such as LETTA_PG_URI, POSTGRES_PASSWORD, and provider API keys. An attacker who can submit code via the POST /v1/tools/run endpoint or by creating a custom tool can thus obtain credentials that enable direct database access and potentially cross‑tenant data theft.

Affected Systems

This vulnerability is present in all releases of Letta from the earliest publicly available package up to version 0.16.8 inclusive. No later versions are known to be affected. The product is distributed by letta‑ai under the name letta and can be identified by its cpe string.

Risk and Exploitability

The CVSS base score of 7.1 indicates high impact on confidentiality, while the EPSS score is not available and KEV is not listed. The attack vector is remote, requiring only that the attacker can issue a request to the /v1/tools/run API, which is typically exposed on the network. An attacker could exploit this without needing elevated privileges on the host, making it highly actionable for malicious actors.

Generated by OpenCVE AI on October 20, 2026 at 12:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor’s latest patch or update to Letta to fix the environment variable inheritance bug.
  • If an upgrade cannot be applied immediately, modify the server configuration so that sensitive environment variables are unset or removed before they are passed to tool sandbox processes.
  • Restrict or disable the POST /v1/tools/run endpoint, limiting its use to trusted personnel or removing it from production deployments.
  • Monitor authentication logs for unusual calls to /v1/tools/run and review database access patterns for indicators of unauthorized credential usage.

Generated by OpenCVE AI on October 20, 2026 at 12:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Letta-ai
Letta-ai letta
Vendors & Products Letta-ai
Letta-ai letta

Tue, 20 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
Description Letta through 0.16.8 contains an information disclosure vulnerability that allows users running tools to read server secrets because LocalSandbox subprocesses inherit the full server environment. Attackers can run code via POST /v1/tools/run or custom tools to read LETTA_PG_URI, POSTGRES_PASSWORD, and provider API keys, then access cross-tenant database data.
Title Letta through 0.16.8 Credential Exposure via Tool Sandbox Environment Inheritance
First Time appeared Letta
Letta letta
Weaknesses CWE-526
CPEs cpe:2.3:a:letta:letta:*:*:*:*:*:*:*:*
Vendors & Products Letta
Letta letta
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T13:47:53.481Z

Reserved: 2026-08-21T17:52:36.080Z

Link: CVE-2026-77938

cve-icon Vulnrichment

Updated: 2026-10-20T13:47:49.059Z

cve-icon NVD

Status : Deferred

Published: 2026-10-20T01:17:20.410

Modified: 2026-10-20T20:11:29.833

Link: CVE-2026-77938

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T16:46:44Z

Weaknesses
  • CWE-526

    Cleartext Storage of Sensitive Information in an Environment Variable