{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.16.8"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1131535716e8a31c9a437f8695e25ac98f203a24"
            }
          ],
          "repo": "https://github.com/letta-ai/letta",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1188"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77936.json"
  },
  "details": "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.",
  "id": "CVE-2026-77936",
  "modified": "2026-10-20T10:30:58.970135746Z",
  "published": "2026-10-20T00:46:14.144Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77936.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/letta-ai/letta"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/compose.yaml#L17"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/letta/server/rest_api/app.py#L799"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77936"
    },
    {
      "type": "WEB",
      "url": "https://pypi.org"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.lasso.security/vulnerability-database/cve-2026-77936"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/letta-through-0.16.8-insecure-default-configuration-unauthenticated-api-and-postgresql-access"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Letta through 0.16.8 Insecure Default Configuration Unauthenticated API and PostgreSQL Access"
}