
Cloud Vulnerability DB
A community-led vulnerabilities database
Multiprocess LMCache can reuse LoRA-specific KV cache across different adapters and the base model, allowing one tenant to influence another tenant’s model output.
In multiprocess (MP) mode, the vLLM LMCacheMPConnector built cache keys from token IDs, cache_salt, and model name only. The LoRA adapter was not part of the key. Requests with the same token prefix under different adapters, or under an adapter and the base model, therefore read each other's KV cache. The in-process connector is outside the scope of this report. Patch: #5713 adds the adapter to the cache identity through the lmcache.tag.lora matching tag (tag support: #6104, #5843, #6199). The tag is a 128-bit BLAKE2b digest of lora_name and lora_path. A client-supplied lmcache.tag.lora is discarded. The patch also preserves request tags when lazy offload coalesces stores; otherwise tags are lost under lmcache.mp.lazy_offload. Upgrade to LMCache 0.5.8 or later, the first release containing #5713. Clear L2 tiers written by a multi-adapter deployment before the upgrade, because entries stored before the fix have no adapter tag and can still be served to base-model requests. Workarounds: serve each LoRA adapter from a separate engine, disable LMCache for LoRA requests, or set a distinct cache_salt per adapter on every request. References: https://github.com/LMCache/LMCache/pull/5713 ; https://github.com/BoJiang03/LMCache/tree/9a5cfe2d0879e9b650b370cde9a9612bb152a7da/dev/lora_isolation_e2e Credits: Reported by @BoJiang03. Fixed by @7konigsberg.
Use Qwen2.5-1.5B-Instruct with two rank-8 adapters, one vLLM engine with --enable-lora and LMCacheMPConnector. Reset the vLLM prefix cache between requests. Send the same 4096-token prompt in order: lora-a, base, lora-b, lora-a. Tokens loaded from LMCache:
| Build | lora-a | base | lora-b | lora-a again |
|---|---|---|---|---|
| Before fix | 0 | 4095* | 4095 | 4095 |
| After fix | 0 | 0 | 0 | 4095 |
| After fix, lazy offload | 0 | 0 | 0 | 4095 |
| * The base-model output differs from a reference engine without LMCache. Reproduction scripts: https://github.com/BoJiang03/LMCache/tree/9a5cfe2d0879e9b650b370cde9a9612bb152a7da/dev/lora_isolation_e2e |
The KV cache of a LoRA request depends on its adapter weights. Reusing KV computed under a different adapter produces incorrect data and can change model output. On a shared multi-adapter engine, a user able to run requests under one adapter, including one they supplied, can store KV for a common prefix that later requests under another adapter or the base model load. This lets one tenant influence another tenant's outputs. L2 tiers such as disk or remote storage can persist mixed entries across engine restarts. Suggested severity: Moderate (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N; 5.3), subject to maintainer review.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."