Security Resilience

CVE-2026-77938

letta

Public PoC
Published
20 October 2026
Modified
20 October 2026
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0044 31th percentile
Risk Priority 36 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-77938 is a high-severity Cleartext Storage of Sensitive Information in an Environment Variable (CWE-526) vulnerability in letta (named in the CVE record; NVD lists no product yet). Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Steal Application Access Token (T1528); ranked at the 31th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SC-13 (Cryptographic Protection) and SC-28 (Protection of Information at Rest) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Letta through 0.16.8 contains an information disclosure vulnerability that allows users running tools to read server secrets because LocalSandbox subprocesses inherit the full server environment. Attackers can run code via POST /v1/tools/run or custom tools to read LETTA_PG_URI, POSTGRES_PASSWORD, and…

more

provider API keys, then access cross-tenant database data.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1528 Steal Application Access Token Credential Access
Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1589.001 Credentials Reconnaissance
Adversaries may gather credentials that can be used during targeting.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1213.003 Code Repositories Collection
Adversaries may leverage code repositories to collect valuable information.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-11736Shared CWE-526
CVE-2023-47615Shared CWE-526
CVE-2025-0985Shared CWE-526
CVE-2026-40153Shared CWE-526
CVE-2025-28381Shared CWE-526
CVE-2023-35931Shared CWE-526
CVE-2025-36017Shared CWE-526
CVE-2026-45370Shared CWE-526
CVE-2024-4369Shared CWE-526
CVE-2023-43029Shared CWE-526

Affected Assets

letta-ai
letta
named in the CVE record; NVD lists no product yet

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates use of cryptography to protect sensitive information, preventing its unencrypted storage in environment variables.

Requires confidentiality protection (typically encryption) for information at rest, directly stopping cleartext storage of sensitive data in environment variables.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.DS-01 mostly match
blocks

Encryption and related protections for data-at-rest directly prevent cleartext env-var storage of secrets.

PR.PS-01 partial match
blocks

Hardened configuration baselines and management practices reduce the chance of secrets being left in environment variables.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

A.8.24 mandates cryptography to protect sensitive information according to its classification, and CWE-526 is the specific case of cleartext (unencrypted) sensitive data stored in an environment variable; implementing the clause encrypts that data and the 'unencrypted sensitive information in an environment variable' weakness no longer exists, consistent with the owner's full grade for A.8.24 vs CWE-311 and CWE-312.

finds

A.8.29's SOURCE reach (code review, static analysis) catches most instances where sensitive data is assigned to environment variables in first-party code, and RUNTIME reach (penetration testing) catches cases where env var contents leak through debug output or logs; the bounded remainder is env vars set dynamically at deployment/runtime or in binary-only third-party components, which neither static analysis nor code review sees.

prevents

A.5.17's password management system requires authentication information to be stored and transmitted in protected form (item h) and encrypted/hashed per approved cryptographic techniques, which prevents the weakness when the environment variable holds credentials; but CWE-526 covers all sensitive information in environment variables (API keys, tokens, personal data), not just authentication information, leaving a nameable remainder the clause does not reach.

prevents

Training helps developers understand that environment variables are not secure storage and that sensitive data should be encrypted or held in a vault, but the practice is fallible and developers under time pressure still choose env vars for convenience, so only a minority of instances are prevented.

A.8.11 Data masking partial match
removes

A.8.11 mandates data masking (including encryption) for sensitive data, so where applied to environment variables holding sensitive data the cleartext weakness is removed; however, the clause is a general data-masking control not specifically scoped to environment variables, and organizations commonly apply it to databases and files while leaving environment-variable handling to other practices, leaving a nameable remainder.

prevents

Secure coding standards typically prohibit storing sensitive information in cleartext environment variables.

References