CVE-2025-6101 letta-ai letta interface.py function_message eval injection
Attackers can execute arbitrary code via improper neutralization in the function_message interface of the letta-ai library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6101?
CVE-2025-6101 is a medium-severity code injection vulnerability in letta-ai letta, published on 16 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-6101?
How do I fix CVE-2025-6101?
No fix has been published for CVE-2025-6101 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-6101 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6101 exists.
Sources
Also known as GHSA-f28h-v254-c2wx.