# CVE-2026-77938: Letta through 0.16.8 Credential Exposure via Tool Sandbox Environment Inheritance

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T00:46:15.564Z
- Modified: 2026-10-20T20:11:29.833Z
- Weaknesses: CWE-526
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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 provider API keys, then access cross-tenant database data.

(As written by CVE List.)

## Affected

- letta-ai letta: up to 0.16.8

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://www.lasso.security/vulnerability-database/cve-2026-77938> (exploit, technical-description)
- <https://github.com/letta-ai/letta/blob/1131535716e8a31c9a437f8695e25ac98f203a24/letta/services/tool_sandbox/base.py#L487> (technical-description)
- <https://www.vulncheck.com/advisories/letta-through-0.16.8-credential-exposure-via-tool-sandbox-environment-inheritance> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-77938](https://www.cve.org/CVERecord?id=CVE-2026-77938), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-77938](https://nvd.nist.gov/vuln/detail/CVE-2026-77938), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-77938 · Whole record: https://cve.day/CVE-2026-77938.json · Rebuilt by cve.day 2026-11-25T22:59:45.978Z
