# CVE-2025-51482: Remote Code Execution in letta.server.restapi.routers.v1.tools.runtoolfromsource in letta-ai Letta 0.7.12 allows remote attackers to execut…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.09%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-22T00:00:00.000Z
- Modified: 2026-06-17T09:35:37.930Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- letta letta: 0.7.12

## References

- <https://github.com/letta-ai/letta/pull/2630> (exploit, issue-tracking, patch, vendor-advisory)
- <https://www.gecko.security/blog/cve-2025-51482> (exploit, third-party-advisory)
- <https://github.com/letta-ai/letta> (product)

## Sources

- CVE List: [CVE-2025-51482](https://www.cve.org/CVERecord?id=CVE-2025-51482), CVE Terms of Use, modified 2025-07-22
- NVD: [CVE-2025-51482](https://nvd.nist.gov/vuln/detail/CVE-2025-51482), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-51482 · Whole record: https://cve.day/CVE-2025-51482.json · Rebuilt by cve.day 2026-11-25T22:59:01.577Z
