Skip to content
Heist/ feed
Back to feed
High

lmdeploy vulnerable to Arbitrary Code Execution via Insecure Deserialization in torch.load()

Type: advisorySources: OSV

LMDeploy is a toolkit for compressing, deploying, and serving LLMs. Prior to version 0.11.1, an insecure deserialization vulnerability exists in lmdeploy where torch.load() is called without the weights_only=True parameter when loading model checkpoint files. This allows an attacker to execute arbitrary code on the victim's machine when they load a malicious .bin or .pt model file. This issue has been patched in version 0.11.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-67729
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:34 UTC · Revision 1

Source evidence

lmdeploy vulnerable to Arbitrary Code Execution via Insecure Deserialization in torch.load()

core-osv · Original source

Published 26 Dec 2025, 21:54 UTC

LMDeploy is a toolkit for compressing, deploying, and serving LLMs. Prior to version 0.11.1, an insecure deserialization vulnerability exists in lmdeploy where torch.load() is called without the weights_only=True parameter when loading model checkpoint files. This allows an attacker to execute arbitrary code on the victim's machine when they load a malicious .bin or .pt model file. This issue has been patched in version 0.11.1.

osv:CVE-2025-67729
Complete source record
{
  "id": "4f8174839bcfcc772ef1b81f8de241895e6f3233c2bff1846468408397864e17",
  "url": "https://osv.dev/vulnerability/CVE-2025-67729",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "lmdeploy vulnerable to Arbitrary Code Execution via Insecure Deserialization in torch.load()",
    "summary": "LMDeploy is a toolkit for compressing, deploying, and serving LLMs. Prior to version 0.11.1, an insecure deserialization vulnerability exists in lmdeploy where torch.load() is called without the weights_only=True parameter when loading model checkpoint files. This allows an attacker to execute arbitrary code on the victim's machine when they load a malicious .bin or .pt model file. This issue has been patched in version 0.11.1.",
    "evidence": "osv:CVE-2025-67729",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-67729",
      "aliases": [
        "CVE-2025-67729",
        "GHSA-9pf3-7rrr-x5jh",
        "PYSEC-2026-1578"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/internlm/lmdeploy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cdff7691d134abb36a148b4c64cb590485fc5ef2"
                },
                {
                  "fixed": "eb04b4281c5784a5cff5ea639c8f96b33b3ae5ee"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "eb04b4281c5784a5cff5ea639c8f96b33b3ae5ee"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.11.0",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.2.post1",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0.post3",
            "v0.7.0.post2",
            "v0.7.0.post1",
            "v0.7.0",
            "0.6.5",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.6.0a0",
            "v0.5.3",
            "v0.5.2.post1",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0",
            "v0.1.0a2",
            "v0.1.0a1",
            "v0.1.0a0",
            "v0.0.14",
            "v0.0.13",
            "v0.0.12",
            "v0.0.11",
            "v0.0.10",
            "v0.0.9",
            "v0.0.8",
            "v0.0.7",
            "v0.0.6",
            "v0.0.5",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67729.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.429973039Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67729.json",
        "https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9pf3-7rrr-x5jh",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-67729",
        "https://github.com/InternLM/lmdeploy/commit/eb04b4281c5784a5cff5ea639c8f96b33b3ae5ee"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67729.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-67729",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489920,
  "published_at": "2025-12-26T21:54:10.137+00:00"
}