6.5Medium
CVE-2026-77938Letta through 0.16.8 Credential Exposure via Tool Sandbox Environment Inheritance
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.
Weakness (CWE):
CWE-526
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- Lasso.security Advisory technical-descriptionexploit
- https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/letta/services/tool_sandbox/b… technical-description
- VulnCheck Advisory: Letta through 0.16.8 Credential Exposure via Tool Sandbox Environment Inheritance third-party-advisory