CVE-2026-77936
Awaiting Analysis Awaiting Analysis - Queue

Letta API Unauthenticated Remote Code Execution via Default PostgreSQL

Vulnerability report for CVE-2026-77936, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-20

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-20
Generated
2026-11-09
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-07
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
letta-ai letta 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1188 The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-77936 affects Letta versions up to 0.16.8 due to an insecure default configuration in compose.yaml. The LETTA_SERVER_SECURE setting is disabled, disabling password middleware and exposing all API routes without authentication. Additionally, the PostgreSQL port is exposed with default credentials. Attackers can exploit this to run arbitrary Python code, manage admin users, or execute OS commands via specific API endpoints.

Detection Guidance

Check if Letta is running with the insecure compose.yaml configuration by inspecting the Docker Compose file for exposed PostgreSQL port 5432 and unauthenticated API endpoints. Verify if LETTA_SERVER_SECURE is disabled in environment variables.

Impact Analysis

This vulnerability allows remote attackers to gain full control over the Letta server and PostgreSQL database. They can execute arbitrary Python code, manipulate user accounts, or run operating system commands. Unauthorized access to sensitive data stored in the database is also possible, leading to potential data breaches or system compromise.

Compliance Impact

This vulnerability likely violates compliance requirements for GDPR and HIPAA due to unauthorized data access and potential data breaches. GDPR mandates strict data protection and breach notification, while HIPAA requires safeguards for protected health information. The lack of authentication and exposed database credentials directly contravene these standards.

Mitigation Strategies

Update Letta to a version beyond 0.16.8 where LETTA_SERVER_SECURE is enabled by default. Ensure PostgreSQL is not exposed externally and change default credentials. Restrict API access to trusted networks only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-77936. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...