Letta - RCE (CVE-2025-51482)
Description
Remote Code Execution in letta.server.rest_api.routers.v1.tools.run_tool_from_source in letta-ai Letta 0.7.12 allows remote attackers to execute arbitrary Python code and system commands via crafted payloads to the /v1/tools/run endpoint, bypassing intended sandbox restrictions.
psychologyCrowdSec Analysis
CVE-2025-51482 is a remote code execution vulnerability in letta-ai Letta 0.7.12, specifically within the /v1/tools/run endpoint, that allows attackers to execute arbitrary Python code and system commands by sending crafted payloads. This flaw enables threat actors to bypass intended sandbox restrictions, potentially leading to full system compromise and unauthorized access to sensitive data.
CrowdSec has been tracking this vulnerability and its exploits since 10th of September 2025.
Insights from the CrowdSec network reveal that the attackers trying to exploit CVE-2025-51482 are composed of a fairly even mix of opportunistic and targeted actors. Some attackers employ preliminary reconnaissance, while others use indiscriminate scanning. In addition, according to the CrowdSec network, attack volume against CVE-2025-51482 has dipped slightly compared to the previous week. Although still commonly targeted, the decline suggests a cooling-off period. Long-term relevance remains, but attention is waning.
Attackers exploit this vulnerability by sending crafted POST requests to the /v1/tools/run endpoint with a JSON payload containing malicious Python code in the source_code field, enabling remote command execution on the target server.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-07-22 |
| Rule Released | 2025-09-10 |
| CrowdSec First Seen | 2025-10-29 |