CVE-2026-77936 letta-ai · letta
9.8 Critical
AI summary
Letta through 0.16.8 ships a compose.yaml without LETTA_SERVER_SECURE, leaving all API routes unauthenticated and exposing a superuser PostgreSQL port with default credentials. Remote attackers can run arbitrary Python or OS commands and manage admin users. Critical (CVSS 9.8); enable LETTA_SERVER_SECURE and restrict the PostgreSQL port.
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.
- Published
- 2026-10-20 01:17 UTC
- Modified
- 2026-10-20 20:06 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 0.81% (percentile 54)
- ENISA EUVD
- EUVD-2026-104692
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-1188
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/compose.yaml#L17 - github.com
https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/letta/server/rest_api/app.py#L799 - www.lasso.security
https://www.lasso.security/vulnerability-database/cve-2026-77936 - www.vulncheck.com
https://www.vulncheck.com/advisories/letta-through-0.16.8-insecure-default-configuration-unauthenticated-api-and-postgresql-access