CVE-2025-51482 is a remote code execution vulnerability in letta-ai Letta 0.7.12. According to the provided content, the flaw is in letta.server.rest_api.routers.v1.tools.run_tool_from_source and can be triggered via crafted payloads sent to the /v1/tools/run endpoint. The issue allows remote attackers to execute arbitrary Python code and system commands, indicating that untrusted input is being processed in a way that bypasses the endpoint's intended sandbox restrictions.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a working exploit for CVE-2025-51482, targeting a remote code execution (RCE) vulnerability in a Letta product. The exploit is implemented in a single Python script (RCE.py) that sends a crafted POST request to the /v1/tools/run endpoint of a vulnerable server. The payload leverages the lack of input validation and unsafe code execution on the server, injecting Python code that executes arbitrary system commands via os.popen. The script allows the attacker to specify the target URL and the command to execute, and prints the output of the command if successful. The README.md provides a detailed vulnerability analysis, including the root causes (lack of code safety checks, unsafe exec usage, environment variable exposure, and sandbox bypasses) and usage examples. The exploit is operational and can be used to gain remote shell access or execute arbitrary commands on affected systems. The only fingerprintable endpoint is the /v1/tools/run API path, which is the target of the exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.