Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-27893

vLLM has Hardcoded Trust Override in Model Files Enables RCE Despite Explicit User Opt-Out
Back to all
CVE

CVE-2026-27893

vLLM has Hardcoded Trust Override in Model Files Enables RCE Despite Explicit User Opt-Out

Summary

  Two model implementation files hardcode trustremotecode=True when loading sub-components, bypassing the user's explicit --trust-remote-code=False security opt-out. This enables remote code execution via malicious model

  repositories even when the user has explicitly disabled remote code trust.

  ### Details

  Affected files (latest main branch):

  1. vllm/modelexecutor/models/nemotronvl.py:430

  ```python

  visionmodel = AutoModel.fromconfig(config.visionconfig, trustremote_code=True)

  2. vllm/model_executor/models/kimi_k25.py:177
 

  cachedgetimageprocessor(self.ctx.modelconfig.model, trustremotecode=True)

```

  Both pass a hardcoded trustremotecode=True to HuggingFace API calls, overriding the user's global --trust-remote-code=False setting.

  Relation to prior CVEs:

  • CVE-2025-66448 fixed automap resolution in vllm/transformersutils/config.py (config loading path)
  • CVE-2026-22807 fixed broader auto_map at startup
  • Both fixes are present in the current code. These hardcoded instances in model files survived both patches — different code paths.

Impact

  Remote code execution. An attacker can craft a malicious model repository that executes arbitrary Python code when loaded by vLLM, even when the user has explicitly set --trust-remote-code=False. This undermines the security guarantee

  that trustremotecode=False is intended to provide.

  Remediation: Replace hardcoded trustremotecode=True with self.config.modelconfig.trustremote_code in both files. Raise a clear error if the model component requires remote code but the user hasn't opted in.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
C
H
U
8.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/vllm-project/vllm/security/advisories/GHSA-7972-pg2x-xr59, https://nvd.nist.gov/vuln/detail/CVE-2026-27893, https://github.com/vllm-project/vllm/pull/36192, https://github.com/vllm-project/vllm/commit/00bd08edeee5dd4d4c13277c0114a464011acf72, https://github.com/vllm-project/vllm

Severity

8.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8.8
EPSS Probability
0.00046%
EPSS Percentile
0.14752%
Introduced Version
0.10.1,0.15.0,0.11.1,0.10.0,0
Fix Available
0.18.0,0.18.1-r0,25.11-r7,0.19.0-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading