CVE-2026-77936
Letta through 0.16.8 ships a compose.yaml that does not enable LETTA_SERVER_SECURE, so the password…
- Risk score
- 72/100
- CVSS
- 9.8 v3.1
- Exploit chance (30 days)
- 0.5%
- Published
- 20 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Letta through 0.16.8 has a security flaw that makes all API routes unauthenticated and exposes a superuser PostgreSQL port with default credentials. This allows remote attackers to execute arbitrary Python code, manage users, or run OS commands.
- Affected
- {'products': ['Letta'], 'packages': [], 'versions': ['0.16.8']}
- Fix
- Check the linked advisory for the concrete fix, but as a general mitigation, it is recommended to upgrade to a fixed version.
- Exploitation
- No known exploitation
Why it is Amber
- CVSS 9.8 critical
- Remotely exploitable without logging in
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
Original 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.
Last activity 20 Oct 2026. Patch Forecast updates every hour.