CVE-2026-77936 Letta through 0.16.8 Insecure Default Configuration Unauthenticated API and PostgreSQL Access
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-77936?
CVE-2026-77936 is a critical vulnerability in letta-ai letta, published on 20 Oct 2026.
Official description
Letta through 0.16.8 ships a compose.yaml that does not enable LETTA_SERVER_SECURE, so the password middleware is never added and all API routes are unauthenticated, and it exposes a superuser PostgreSQL port with default credentials. Remote attackers can execute arbitrary Python via POST /v1/tools/run, manage /v1/admin users, or run OS commands via COPY PROGRAM.
Weakness: CWE-1188
Which versions are affected by CVE-2026-77936?
How do I fix CVE-2026-77936?
No fix has been published for CVE-2026-77936 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-77936 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77936 exists.
Sources
Also known as GHSA-g524-hhf9-5x95.