CVE-2026-77936
9.8 CRITICALpublic exploit availablePublished 2026-10-20 · Updated 2026-10-20
AI risk analysis
- Summary
- Letta API server allows unauthenticated access to all routes due to missing secure mode configuration, enabling remote code execution and database access with default credentials.
- Exploitability
- Very easy to exploit with no prerequisites - attackers can immediately execute arbitrary Python code, run OS commands, and manage admin users through exposed API endpoints.
- Blast radius
- High impact across all installations using the default compose.yaml configuration, potentially allowing full system compromise and data exfiltration.
- Detection
- Monitor for unauthorized API access attempts to /v1/tools/run, /v1/admin endpoints, and observe PostgreSQL connection attempts from external IPs using default credentials.
- Prioritized remediation
- Upgrade to Letta version 0.16.9 or later which includes the fix for secure mode configuration.
rceauth-bypassapidatabase
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1188
Public exploit & PoC references
References
- https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/compose.yaml#L17
- https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/letta/server/rest_api/app.py#L799
- https://www.lasso.security/vulnerability-database/cve-2026-77936
- https://www.vulncheck.com/advisories/letta-through-0.16.8-insecure-default-configuration-unauthenticated-api-and-postgresql-access
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.