High
LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
Type: advisorySources: OSV
LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, hardcoded "trust_remote_code=True" enables HF supply-chain RCE without user opt-in. Version 0.13.0 patches the issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-46517
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 03:51 UTC · Revision 1
Source evidence
LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out
core-osv · Original sourcePublished 9 Jun 2026, 23:05 UTC
LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, hardcoded "trust_remote_code=True" enables HF supply-chain RCE without user opt-in. Version 0.13.0 patches the issue.
osv:CVE-2026-46517
Complete source record
{
"id": "b06747c42c0cbfdfc00fcf107bacadc823a8dbf1e4330b43862abb2233bd107d",
"url": "https://osv.dev/vulnerability/CVE-2026-46517",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LMDeploy: Hardcoded trust_remote_code=True is an implicit unsafe remote-code load path with no user opt-out",
"summary": "LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, hardcoded \"trust_remote_code=True\" enables HF supply-chain RCE without user opt-in. Version 0.13.0 patches the issue.",
"evidence": "osv:CVE-2026-46517",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-46517",
"aliases": [
"CVE-2026-46517",
"GHSA-9xq9-36w5-q796",
"PYSEC-2026-2608"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/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": "81be52961aa324fd5cd3cacebffba1ba051bc107"
},
{
"fixed": "e6948c110e568511795e427234ce98d73bc2cd1d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.12.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "81be52961aa324fd5cd3cacebffba1ba051bc107"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e6948c110e568511795e427234ce98d73bc2cd1d"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.13.0"
}
]
}
}
],
"versions": [
"v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.1",
"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-2026-46517.json"
}
}
],
"modified": "2026-10-28T02:30:42.129274841Z",
"provider": "osv",
"references": [
"https://github.com/InternLM/lmdeploy/blob/v0.13.0/lmdeploy/version.py",
"https://github.com/InternLM/lmdeploy/releases/tag/v0.13.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46517.json",
"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9xq9-36w5-q796",
"https://github.com/pypa/advisory-database/tree/main/vulns/lmdeploy/PYSEC-2026-2608.yaml",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46517",
"https://github.com/InternLM/lmdeploy/commit/81be52961aa324fd5cd3cacebffba1ba051bc107",
"https://github.com/github/advisory-database/pull/4511"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1188",
"CWE-915",
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46517.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46517",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509977,
"published_at": "2026-06-09T23:05:43.966+00:00"
}