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.
Published: 2026-10-20
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Letta versions up to 0.16.8 ship a default compose configuration that omits the LETTA_SERVER_SECURE setting, leaving the password middleware disabled. All API routes are therefore unauthenticated, and the service exposes a PostgreSQL instance with superuser access using the default credentials. A remote attacker can exploit the exposed API endpoints to run arbitrary Python code via POST /v1/tools/run, manipulate admin users through /v1/admin endpoints, or execute operating‑system commands via the COPY PROGRAM command of PostgreSQL. This vulnerability is a severe flaw in internal authentication control (CWE‑1188) and provides full remote code execution capability.

Affected Systems

The product impacted is Letta (letta-ai). Versions 0.16.8 and earlier are affected; any deployment using these releases without disabling the default PostgreSQL privileged account is vulnerable.

Risk and Exploitability

The CVSS score is 9.3, indicating critical severity, while no EPSS score is currently available. The vulnerability is not listed in the CISA KEV catalog. The attack vector is remote, exploiting exposed API routes over the network and the PostgreSQL port, enabling attackers to run arbitrary code on the host unless mitigated.

Generated by OpenCVE AI on October 20, 2026 at 11:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version newer than 0.16.8 that includes the security fix for the missing LETTA_SERVER_SECURE setting.
  • If upgrading is not possible, modify the compose file (or corresponding environment) to enable LETTA_SERVER_SECURE so that the password middleware is applied and all API routes require authentication.
  • Change or disable the default PostgreSQL superuser credentials and limit network exposure of the PostgreSQL port – restrict access to trusted hosts or internal networks only.

Generated by OpenCVE AI on October 20, 2026 at 11:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 01:15:00 +0000

Type Values Removed Values Added
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.
Title Letta through 0.16.8 Insecure Default Configuration Unauthenticated API and PostgreSQL Access
First Time appeared Letta
Letta letta
Weaknesses CWE-1188
CPEs cpe:2.3:a:letta:letta:*:*:*:*:*:*:*:*
Vendors & Products Letta
Letta letta
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T16:07:28.161Z

Reserved: 2026-08-21T17:52:36.080Z

Link: CVE-2026-77936

cve-icon Vulnrichment

Updated: 2026-10-20T16:04:33.628Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T01:17:20.107

Modified: 2026-10-20T20:06:37.150

Link: CVE-2026-77936

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T11:45:14Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default