Summary
CVE-2026-77936 is an insecure-default configuration vulnerability (CWE-1188) in Letta through version 0.16.8. The shipped compose.yaml does not enable LETTA_SERVER_SECURE, so the server runs without authentication. It also exposes a PostgreSQL port with default superuser credentials. The CVE record rates it CRITICAL (CVSS v4.0 base score 9.3).
Technical details
- Root cause: Letta’s
compose.yamldoes not setLETTA_SERVER_SECURE, so the password middleware is never added and all API routes are unauthenticated. The same file exposes a superuser PostgreSQL port with default credentials. - Trigger conditions: A Letta deployment that uses the shipped compose configuration and is reachable over the network.
- Attack vector: Network. The attack needs no privileges and no user interaction.
- Impact: A remote attacker can use the unauthenticated API and the exposed database. Public reporting describes execution of arbitrary Python via
POST /v1/tools/run, management of users under/v1/admin, and OS command execution through PostgreSQLCOPY PROGRAM. That reporting describes the result as full host takeover or severe data compromise. - No public PoC and no KEV listing were found in the sources reviewed.
Affected software
- Letta (letta-ai) versions up to and including 0.16.8.
Severity
- CVSS v4.0 base score: 9.3 (Critical). 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 - The CVE record also lists a CVSS v3.1 base score of 9.8. Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The CVE record names no fixed version. Check the vendor’s releases for a version later than 0.16.8 and the VulnCheck advisory for remediation status.
- Workarounds (general hardening, not stated as official vendor guidance):
- Enable
LETTA_SERVER_SECUREand set a strong password. - Do not expose the Letta API or PostgreSQL ports to untrusted networks, and restrict them with firewall rules or network segmentation.
- Replace the default database credentials.
- Review the server, its database and its users for signs of unauthorized access.
- Enable

