High
LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization
Type: advisorySources: OSV
LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, LMDeploy is vulnerable to arbitrary code execution through hardcoded "trust_remote_code=True" in multiple HuggingFace model-loading call sites. At time of publication, there are no publicly available patches.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-46432
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:34 UTC · Revision 1
Source evidence
LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization
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, LMDeploy is vulnerable to arbitrary code execution through hardcoded "trust_remote_code=True" in multiple HuggingFace model-loading call sites. At time of publication, there are no publicly available patches.
osv:CVE-2026-46432
Complete source record
{
"id": "4ae7983a9c407113c43596a23c336aaec7bba0dacb260e2d3f4fcb3f4538e28e",
"url": "https://osv.dev/vulnerability/CVE-2026-46432",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LMDeploy: Arbitrary code execution via hardcoded trust_remote_code=True in lmdeploy model initialization",
"summary": "LMDeploy is a toolkit for compressing, deploying, and serving large language models. In versions 0.12.3 and prior, LMDeploy is vulnerable to arbitrary code execution through hardcoded \"trust_remote_code=True\" in multiple HuggingFace model-loading call sites. At time of publication, there are no publicly available patches.",
"evidence": "osv:CVE-2026-46432",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-46432",
"aliases": [
"CVE-2026-46432",
"GHSA-m549-qq94-fvhg",
"PYSEC-2026-2609"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/internlm/lmdeploy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "8ea459f49ed9cd943481073011424919e31e3e3b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.12.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.12.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"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-46432.json"
}
}
],
"modified": "2026-10-28T02:30:27.268162753Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46432.json",
"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-m549-qq94-fvhg",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46432"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46432.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46432",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493859,
"published_at": "2026-06-09T23:05:38.876+00:00"
}