CVE-2026-77936: Initialization of a Resource with an Insecure Default in letta-ai letta
Description
CVE-2026-77936 affects letta-ai letta versions up to 0.16.8, where the default configuration does not enable LETTA_SERVER_SECURE. This omission disables password middleware, leaving all API routes unauthenticated and exposing a superuser PostgreSQL port with default credentials. As a result, remote attackers can execute arbitrary Python code, manage administrative users, or run operating system commands via exposed API endpoints.
CVSS v4.0
Score 9.3critical
Affected software
letta-ai
letta
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in letta-ai letta (<=0.16.8) arises from an insecure default configuration in the compose.yaml file that fails to enable LETTA_SERVER_SECURE. This leads to the absence of password middleware, allowing unauthenticated access to all API routes. Additionally, a superuser PostgreSQL port is exposed with default credentials. Attackers can exploit this to execute arbitrary Python code through the POST /v1/tools/run endpoint, manage users via /v1/admin, or execute OS commands using COPY PROGRAM functionality.
Potential Impact
Remote attackers can gain unauthorized access to all API routes without authentication, execute arbitrary Python code, manage administrative users, and run operating system commands. This results in full compromise of the affected system, posing a critical security risk.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should manually enable LETTA_SERVER_SECURE in the compose.yaml configuration to ensure password middleware is active and change default PostgreSQL credentials to secure values.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-21T17:52:36.080Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad6c1992cdf04f656e49579
Added to database: 10/20/2026, 01:19:21 UTC
Last enriched: 10/20/2026, 01:33:18 UTC
Last updated: 10/20/2026, 01:34:17 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.