CVE-2026-77938 Details
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.
A vulnerability in Letta versions through 0.16.8 allows information disclosure by letting users running tools access sensitive server secrets. This occurs because the LocalSandbox subprocesses inherit the entire server environment. Attackers can exploit this by executing code through the API endpoint POST /v1/tools/run or by using custom tools, to read environment variables such as LETTA_PG_URI, POSTGRES_PASSWORD, and provider API keys. With the database credentials, they can access cross-tenant data in the database.
It is recommended to avoid passing the full server environment to LocalSandbox subprocesses. Instead, limit the child process environment to only what is necessary for the tool execution. For multi-tenant or production deployments, use sandbox implementations that provide isolation, such as E2B or Modal, and document that LocalSandbox is not safe for multi-tenant use.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 20, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-526 | Cleartext Storage of Sensitive Information in an Environment Variable | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Letta | <= 0.16.8 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 20, 2026 | New CVE Received | [email protected] |
Volerion