CVE-2026-47155: vLLM's Artifact Pin Decay allows pinned deployments to load unpinned code, weights, and processors
In vLLM before 0.22.0, setting --revision or --code-revision does not pin every artifact a model loads. Dynamic code, GGUF files, image processors and side weights can still come from the default branch of the repository. A deployment you believe is pinned can serve unreviewed files. Upgrade to 0.22.0.
Published Jun 10, 2026 · Updated Jul 17, 2026 · Analysis Oct 26, 2026
What an attacker can do
Operators pin a Hugging Face revision so they serve exactly the artifacts they reviewed. In affected versions, several load paths dropped that pin.
- registry.py: dynamic module imports for external auto_map classes forwarded revision but not code_revision, so --code-revision was ignored there.
- gguf_loader.py: the repo/file.gguf form called hf_hub_download without a revision.
- roberta.py: BGE-M3 sparse and ColBERT side weights used revision=None.
- kimi_k25.py: the image processor was loaded without the model revision.
- kimi_audio.py: the whisper-large-v3 config and weights came from an unpinned revision. This is the strongest example, since the main Kimi-Audio weights stayed pinned.
The attacker is whoever can change the unpinned ref of the model repository, such as a compromised upstream account or a later malicious commit. They need no access to the vLLM host. Their change reaches the server on the next load, and it can alter behavior without any change to the operator's config. The reporter says this is not a trust_remote_code=False bypass and not a claim of RCE or real compromise. It breaks review, rollback and audit guarantees. The CVSS vector rates integrity high and attack complexity high.
Who is affected
pip package vllm before 0.22.0, where an operator sets --revision or --code-revision and uses one of these paths: external auto_map dynamic code, GGUF in repo/file.gguf form, BGE-M3 embedding, Kimi-K2.5, or Kimi-Audio. Deployments that do not pin a revision were never pinned, so the issue adds nothing for them.
Check the version:
pip show vllmAlso check the launch command or config for --revision and --code-revision.
vllm
- Ecosystem
- PyPI
- Affected
- < 0.22.0
- Fixed in
- 0.22.0
- Check
pip show vllm
How to fix it
Upgrade to vllm 0.22.0:
pip install -U "vllm>=0.22.0"The fix, in pull request 42616, passes the operator's revision and code_revision to the six affected load paths. Test that your model still loads after the upgrade, since formerly unpinned artifacts now resolve at your pinned revision. The sources give no separate workaround. Until you upgrade, mirror the reviewed artifacts locally and load the model from a local directory.
How to tell if you were hit
Compare the files in your Hugging Face cache (by default under ~/.cache/huggingface/hub) with the revision you reviewed. Look for snapshot directories at commit hashes other than your pin, especially for Whisper subfolders, GGUF files, processors and dynamic module code. Check server startup logs for downloads from the model repository after your pinned snapshot was cached. Diff any dynamic Python modules against the reviewed code revision.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
vLLM's revision pinning controls do not consistently apply to all artifacts loaded for a model. A deployment that supplies --revision or --code-revision can still load dynamic code, GGUF files, image processors, retrieval side weights, or same-repository subfolder weights/config from an unpinned/default revision.
This is a supply-chain integrity issue for pinned vLLM deployments. Operators can believe they are serving a reviewed model revision while vLLM resolves behavior-affecting nested or sibling artifacts outside that reviewed revision.
Details
The expected invariant is:
When a vLLM operator supplies a model or code revision pin, every code, config, processor, weight file, side weight, and same-repository subfolder artifact loaded as part of that model should resolve under that pin unless vLLM exposes and enforces a separate explicit pin for that artifact.
Current main was verified affected at commit 3795d7acf431980e62e738493f437ae2a51549da.
Affected source boundaries:
vllm/model_executor/models/registry.py:1045-1051and:1058-1064_try_resolve_transformers()passesrevision=model_config.revisionandtrust_remote_code=model_config.trust_remote_code, but omitscode_revision=model_config.code_revisionfor externalauto_mapdynamic module imports.vllm/model_executor/model_loader/gguf_loader.py:58-60- The direct-file GGUF form
repo/file.ggufcallshf_hub_download(repo_id=repo_id, filename=filename)without passingrevision. vllm/model_executor/models/roberta.py:203-209- BGE-M3 secondary sparse and ColBERT side weights are declared with
revision=None. vllm/model_executor/models/kimi_k25.py:111-114- Kimi-K2.5 calls
cached_get_image_processor()without passingmodel_config.revision. vllm/model_executor/models/kimi_audio.py:92-95- Kimi-Audio loads Whisper config from the
whisper-large-v3subfolder without arevisionargument. vllm/model_executor/models/kimi_audio.py:425-430- Kimi-Audio declares same-repository
whisper-large-v3secondary weights withrevision=None. vllm/model_executor/model_loader/default_loader.py:287-301- The default loader preserves
model_config.revisionfor the primary source, then consumes model-supplied secondary sources as declared.
The strongest example is Kimi-Audio: the primary moonshotai/Kimi-Audio-7B-Instruct weights preserve the configured model revision, but the same-repository whisper-large-v3 audio tower config/weights do not. A pinned Kimi-Audio deployment can therefore load the Whisper subfolder outside the audited revision.
This report does not claim a trust_remote_code=False bypass, unauthenticated RCE, or real artifact compromise. The issue is improper propagation of explicit artifact pins across supported loader paths.
Impact
Affected users are operators who pin vLLM model deployments to a reviewed Hugging Face revision for safety review, provenance, rollback, or reproducibility. The impact is that the pin does not reliably describe the full set of artifacts vLLM serves. Even when the operator selects an audited revision, vLLM can resolve behavior-affecting secondary artifacts from the repository default branch or another mutable ref.
Depending on the model path, the unpinned artifact can be dynamic model code, a GGUF file, an image processor, retrieval side weights, or the same-repository Kimi-Audio Whisper subfolder weights/config.
This breaks the operational guarantee of a pinned deployment: "serve the exact artifact set I reviewed." A later change to an unpinned secondary artifact can alter model behavior without changing the operator's configured revision, making review, rollback, incident response, and audit records unreliable.
Occurrences
vllm/model_executor/models/kimi_k25.pyL111-L114 — Kimi-K2.5 loads its image processor withcached_get_image_processor()but does not passself.ctx.model_config.revision. The processor can therefore resolve from the default repository revision even when the model deployment is pinned.vllm/model_executor/models/kimi_audio.pyL425-L430 — Kimi-Audio declares same-repositorywhisper-large-v3secondary weights withrevision=None. A pinned Kimi-Audio deployment can therefore load the Whisper audio tower weights from an unpinned/default revision.vllm/model_executor/models/kimi_audio.pyL92-L95 — Kimi-Audio loads Whisper config from the same repository'swhisper-large-v3subfolder without passing the top-level model revision. The config for this behavior-affecting subcomponent can be resolved outside the audited model revision.vllm/model_executor/models/registry.pyL1058-L1064 — The later dynamic model-class resolution repeats the same pin-decay pattern: it forwardsrevisionandtrust_remote_code, but omitscode_revision. This means an operator-provided code pin is not enforced at the dynamic module loader boundary.vllm/model_executor/model_loader/gguf_loader.pyL58-L60 — The direct GGUF formrepo/file.ggufcallshf_hub_download(repo_id=repo_id, filename=filename)without passingmodel_config.revision. A deployment that pins the model revision can therefore resolve this GGUF file from the repository default revision.vllm/model_executor/models/registry.pyL1045-L1051 —try_get_class_from_dynamic_module()is called for externalauto_mapconfig/model classes withrevision=model_config.revision, but without forwardingmodel_config.code_revision. When--code-revisionis set, this dynamic module resolution can still fall back to the default code revision instead of the audited code revision.vllm/model_executor/models/roberta.pyL203-L209 —BgeM3EmbeddingModelcreates same-repository secondary sparse/ColBERT weight sources withrevision=None. The primary model revision is not propagated to these side weights, so they can be downloaded outside the operator-selected model revision.
Fixes
This was fixed in: https://github.com/vllm-project/vllm/pull/42616
___
Originally filed via huntr: https://huntr.com/bounties/3f1e24c0-87d2-4f6c-a705-820f380879ac.
The vLLM maintainer (Russell Bryant) redirected the report to the private GHSA channel. Offline proof bundle (vllm_artifact_pin_decay_bundle_verify.py + bundle-verification-20260430T143506Z.json) is available upon request.
Credited to addcontent, russellb, jperezdealgaba.
Questions
- Does CVE-2026-47155 allow remote code execution?
The reporter explicitly does not claim a trust_remote_code=False bypass or unauthenticated RCE. The flaw is that pins do not apply to every artifact, which is a supply-chain integrity issue.
- Which vLLM version fixes CVE-2026-47155?
0.22.0. Earlier versions are listed as vulnerable.
- Am I affected if I do not set --revision?
The flaw is about pins that are not honored. Without a pin you were already loading the default revision.
- Which models are named in the advisory?
Kimi-Audio, Kimi-K2.5 and BGE-M3 are named, plus GGUF files in repo/file.gguf form and external auto_map dynamic code.
References
Read for this analysis:
- https://github.com/vllm-project/vllm/pull/42616
- https://github.com/vllm-project/vllm/security/advisories/GHSA-3ww4-5jv9-j5gm
- https://nvd.nist.gov/vuln/detail/CVE-2026-47155
- https://github.com/vllm-project/vllm/commit/d26a28ab033697f55a1414b5b0435de7cd6045b6
- https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2026-2301.yaml
- https://huntr.com/bounties/3f1e24c0-87d2-4f6c-a705-820f380879ac
- https://github.com/advisories/GHSA-3ww4-5jv9-j5gm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More vLLM vulnerabilities
All vLLM entriesCVE-2026-115911
vLLM: DoS via unbounded chat_template Jinja2 rendering exhausts the renderer thread pool
medium6.5Oct 28, 2026CVE-2026-115912
vLLM: Public multimodal SHM handle forgery reaches worker-side `pickle.loads()` with insecure serialization disabled
high7.5Oct 28, 2026CVE-2026-115913
vLLM: Phi-4 multimodal audio encoder materializes and retains full attention matrices: a single max-length audio OOM-crashes the vLLM engine
medium6.5Oct 28, 2026CVE-2026-115914
vLLM DeepSeek-OCR image processing vulnerable to denial of service
medium6.5Oct 28, 2026CVE-2026-115915
vLLM: Untrusted EPS inputs can trigger denial of service or Ghostscript RCE
high8.1Oct 28, 2026CVE-2026-115916
vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)
medium6.5Oct 28, 2026
