PoC Monitor
← All CVEs
CVE-2025-51482published 22 Jul 2025 00:00 UTCData: JSON · API

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.

First public PoC 9.3 daysafter publication · 31 Jul 2025
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CISA ADP · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10CVE published22 Jul 2025 · t = 0First public PoC31 Jul 2025 · t+9.3d

First public PoC 9.3 days after publication; not in CISA KEV. First PoC: Kai-One001/Letta-CVE-2025-51482-RCE (created 31 Jul 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs · 1 not a PoC

PoCs 1
RepositoryCreatedStarsAssessment
Kai-One001/Letta-CVE-2025-51482-RCE 31 Jul 2025 +9.3 d 1 PoC
Not a PoC 1
RepositoryCreatedStarsAssessment
c0gnit00/CVE-2024-51482 10 Jul 2026 +353 d 0 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Letta Letta 0.7.12 - Remote Code Execution29 Oct 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /v1/tools/run

Body markers
"source_code" "args" "json_schema" "env_vars" "name":"test" in application/json
Ports
8000, 8283
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.50 Safari/537.36
Seen in
1 repo: Kai-One001/Letta-CVE-2025-51482-RCE
Evidence
Kai-One001/Letta-CVE-2025-51482-RCE/RCE.py:49

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /v1/tools/run
(?i)^/v1/tools/run(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /v1/tools/run
alert http any any -> $HOME_NET [8000,8283] (msg:"GG PoC-Monitor CVE-2025-51482 CVE-2025-51482 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/v1/tools/run"; http.request_body; content:"|22|source_code|22|"; http.request_body; content:"|22|args|22|"; http.request_body; content:"|22|json_schema|22|"; http.request_body; content:"|22|env_vars|22|"; http.request_body; content:"|22|name|22|:|22|test|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-51482; classtype:web-application-attack; sid:9013332; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /v1/tools/run
title: CVE-2025-51482 exploit attempt (CVE-2025-51482)
id: gg-pocmon-cve-2025-51482-9013332
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-51482. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-51482
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/v1/tools/run'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.51482