CVE-2025-6101: letta · Eval Injection
Affects lettaSource CVE Database V5
Public exploit available · CVSS 5.1 Medium.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 16 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIletta-ai/lettapkg:pypi/letta-ai/lettaOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate mitigation should focus on restricting access to the letta-ai letta service to trusted network segments only, minimizing exposure to adjacent network attackers.
- Implement strict input validation and sanitization on all inputs to the function_message function, especially function_name and function_args, to neutralize any potentially malicious directives before dynamic evaluation.
- Employ runtime application self-protection (RASP) or similar monitoring tools to detect anomalous code execution patterns indicative of exploitation attempts.
- If possible, disable or limit dynamic code evaluation features in letta until a patched version is available.
- Monitor vendor communications closely for official patches or updates addressing this vulnerability and apply them promptly.
- Conduct internal audits of AI-related workflows using letta to identify and isolate critical data or processes that could be targeted.
- Enhance network segmentation and implement strict access controls to reduce the risk of lateral movement by attackers exploiting this vulnerability.
- Educate development and operations teams about the risks of dynamic code evaluation and enforce secure coding practices to prevent similar issues in future releases.
Description
A vulnerability classified as critical has been found in letta-ai letta up to 0.4.1. Affected is the function function_message of the file letta/letta/interface.py. The manipulation of the argument function_name/function_args leads to improper neutralization of directives in dynamically evaluated code. The exploit has been disclosed to the public and may be used.