{"id":"CVE-2026-77936","revision":"61b415da673b4b6aa942063649bc6f2d","records":[{"revision":"61b415da673b4b6aa942063649bc6f2d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-77936","aliases":[],"title":"Letta through 0.16.8 Insecure Default Configuration Unauthenticated API and PostgreSQL Access","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.","state":0,"publishedAt":"2026-10-20T00:46:14.144+00:00","modifiedAt":"2026-10-20T16:07:28.161+00:00","affected":[{"ecosystem":"https://pypi.org","name":"letta","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"letta-ai\",\n                    \"product\": \"letta\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.16.8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:pypi/letta\",\n                    \"collectionURL\": \"https://pypi.org\",\n                    \"repo\": \"https://github.com/letta-ai/letta\"\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://www.lasso.security/vulnerability-database/cve-2026-77936","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.vulncheck.com/advisories/letta-through-0.16.8-insecure-default-configuration-unauthenticated-api-and-postgresql-access"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-77936","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-77936","identifiers":["CVE-2026-77936"]},"retained":false,"historicalAffected":[]}],"coverage":[]}