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 Postgr…
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 0.59%
- Published
- Oct 20, 2026
- In the news
- Not yet
What to do
A critical security flaw in Letta that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Letta
- Through 0.16.8
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-77936 published (CVSS 9.8) (Oct 19, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Oct 20, 2026
- CVECVE-2026-77936 published (CVSS 9.8)CVE Program · 01:17 UTC
References 4
- github.com /letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/compose.yaml#L17
- github.com /letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/letta/server/rest_api/app.py#L799
- www.lasso.security /vulnerability-database/cve-2026-77936
- www.vulncheck.com /advisories/letta-through-0.16.8-insecure-default-configuration-unauthenticated-api-and-postgresql-…