CVE-2025-51482
HIGH EXPLOITED NUCLEIletta 0.7.12 - Remote Code Execution via /v1/tools/run Endpoint
Title source: llmExploitation Summary
CVE-2025-51482 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including Kai-One001. A Nuclei detection template is also available.
AI-analyzed exploit summary The repository contains a functional Python exploit for CVE-2025-51482, demonstrating remote command execution (RCE) via an API endpoint that unsafely executes user-provided Python code. The exploit sends a crafted JSON payload to the '/v1/tools/run' endpoint, leveraging insecure use of exec() and exposed environment variables.
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.
Exploits (1)
The repository contains a functional Python exploit for CVE-2025-51482, demonstrating remote command execution (RCE) via an API endpoint that unsafely executes user-provided Python code. The exploit sends a crafted JSON payload to the '/v1/tools/run' endpoint, leveraging insecure use of exec() and exposed environment variables.
Nuclei Templates (1)
title="Letta"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H