Skip to main content
VulnerabilityPublished Updated

CVE-2025-6101: letta · Eval Injection

Affects lettaSource CVE Database V5

0

Public exploit available · CVSS 5.1 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIletta-ai/lettapkg:pypi/letta-ai/lettaOther threatsAffected
  • =0.4.0
  • =0.4.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediate mitigation should focus on restricting access to the letta-ai letta service to trusted network segments only, minimizing exposure to adjacent network attackers.
  2. 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.
  3. Employ runtime application self-protection (RASP) or similar monitoring tools to detect anomalous code execution patterns indicative of exploitation attempts.
  4. If possible, disable or limit dynamic code evaluation features in letta until a patched version is available.
  5. Monitor vendor communications closely for official patches or updates addressing this vulnerability and apply them promptly.
  6. Conduct internal audits of AI-related workflows using letta to identify and isolate critical data or processes that could be targeted.
  7. Enhance network segmentation and implement strict access controls to reduce the risk of lateral movement by attackers exploiting this vulnerability.
  8. 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.

References

Community reviews

Loading reviews…