RCE in Letta

CVE-2025-51482

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.019 (77.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Letta — versions 0.7.12
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-51482?
CVE-2025-51482 is a high-severity vulnerability in Letta, classified under Code Injection. CVSS score: 8.8/10. Published 2025-07-22.
How severe is CVE-2025-51482?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2025-51482 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.