CVE-2026-77938 Letta through 0.16.8 Credential Exposure via Tool Sandbox Environment Inheritance
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-77938?
CVE-2026-77938 is a high-severity vulnerability in letta-ai letta, published on 20 Oct 2026.
Official 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-526
Which versions are affected by CVE-2026-77938?
How do I fix CVE-2026-77938?
No fix has been published for CVE-2026-77938 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-77938 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77938 exists.
Sources
Also known as GHSA-jxmg-qw9j-hxj9.