{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.5.5"
              },
              {
                "fixed": "0.5.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "05a013b29da78cf2321b9b46ec5039dde2fb0bb0"
            }
          ],
          "repo": "https://github.com/lmcache/lmcache",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107204.json"
  },
  "details": "LMCache through 0.5.5 contains an unauthenticated remote code execution vulnerability that allows remote attackers to execute Python code by posting scripts to the /run_script endpoint. Attackers can recover real builtins through the injected FastAPI app object, bypassing the guarded __import__, to import os and run operating system commands as the LMCache process.",
  "id": "CVE-2026-107204",
  "modified": "2026-10-09T02:30:34.707969121Z",
  "published": "2026-10-07T15:24:03.214Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107204.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-107204"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/LMCache/LMCache/issues/5510"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/LMCache/LMCache"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internal_api_server/common/run_script_api.py#L54-L76"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/http_apis/common_api.py#L41-L46"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LMCache through 0.5.5 Unauthenticated RCE via /run_script Endpoint"
}