CVE-2026-4965: letta · Eval Injection
Affects lettaSource CVE Database V5
Mentioned vulnerabilities
Public exploit available · CVSS 6.9 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| letta-ailetta | Affected
| Fixed in– |
PyPIletta-ai/lettapkg:pypi/letta-ai/lettaOther threats | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:letta:letta:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately restrict network exposure of systems running letta 0.16.4 to trusted internal networks only, preventing remote access from untrusted sources.
- Conduct thorough code reviews focusing on dynamic code evaluation areas, especially the resolve_type function, to implement additional sanitization and validation of directives before evaluation.
- Employ runtime application self-protection (RASP) or behavior monitoring tools to detect anomalous code execution patterns indicative of exploitation attempts.
- Isolate AI development and deployment environments using containerization or sandboxing to limit potential damage from exploitation.
- Monitor public vulnerability databases and letta-ai project repositories for updates or patches addressing this issue, and apply them promptly once available.
- Consider temporary mitigation by disabling or limiting features that rely on dynamic code evaluation if feasible.
- Implement strict input validation and use allowlists for any user-supplied data that could influence code evaluation.
- Educate development teams about the risks of dynamic code evaluation and encourage secure coding practices to prevent similar issues in future versions.
Description
A vulnerability was detected in letta-ai letta 0.16.4. This issue affects the function resolve_type of the file letta/functions/ast_parsers.py of the component Incomplete Fix CVE-2025-6101. Performing a manipulation results in improper neutralization of directives in dynamically evaluated code. The attack can be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.