CVE-2026-77936letta-ai letta
Insecure Default Configuration in Letta: Unauthenticated API and PostgreSQL Acc…
Critical 9.3 No auth needed
Follow: this CVE · letta-ai · letta-ai letta We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 20, 2026
- Updated
- Oct 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1188
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Letta through version 0.16.8 ships a compose.yaml that does not enable LETTA_SERVER_SECURE, leaving all API routes unauthenticated and exposing PostgreSQL with default credentials. A remote attacker can execute arbitrary Python code, manage administrative users, or run OS commands without authentication.
Show the original NVD text
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.
What to do
No patch data
Update Letta to a version after 0.16.8 and enable LETTA_SERVER_SECURE in the compose.yaml file. Restrict access to PostgreSQL and change default credentials.
- Apply the vendor's security update for letta.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- letta-ai · letta
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.