Skip to content

Researchers disclose the Cooldown Landmines cross-tenant interference attack on the LiteLLM gatewayCooldown Landmines

Paper Tracker· arXiv:2610.05089· Yudong Gao, Linghan Chen, Wenhan Wu, Quan Shi, Xutao Mao, Mia Zhou, Junjian Li, Xiaolong Liu, Jiyao Wang, Mingyu Guo, Honglong Chen·Indexed by this site · 2026-10-06· Originally publishedSelected AttacksSelectedAttention39

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The authors propose a cross-tenant interference attack against gateways such as LiteLLM that exploits shared cooling records, and design a tenant isolation mechanism to eliminate residual exclusion.

Threat modelA tenant holding a valid key controls the timing and content of its own requests and cannot modify gateway configuration or directly write to the cache; by exploiting a known target deployment ID or shared quota exhaustion, it induces the gateway's shared cooldown state to exclude healthy backends, forcing other tenants to suffer denial of service, policy violations, or decision tampering.

Questions
LLM gateways enforce independent quotas for different tenants while sharing backend deployments and their cooldown records. A request failure from one tenant updates shared cooldown state, causing other compliant tenants to be incorrectly excluded from that available deployment, leading to cross-tenant denial of service, degraded fallback, or compliance policy violations.
Methods
The authors propose two mitigations: adding a server-side flag to API Key RPM rejection anomalies inside the gateway to prevent them from writing deployment failure state; and scoping eligible 429 cooldown records by authenticated tenant, while non-429 backend hard failures retain global shared cooldown. Tenant-isolated cooldown is implemented through a combination of Redis and local caching.
Experiments and results
Successfully triggered both attack types on LiteLLM. Across 5 paired runs with 4 workers, tenant-isolated cooldown reduced victim fallback counts after recovery from 54/60 to 0/60; passive health checks in Kong 3.6 also reproduced cross-tenant exclusion. In multi-tenant concurrent 429 tests, tenant-isolated cooldown increased median upstream requests from 15 to 209.
Limitations and future work
Limitations and future directions (Section 7, Appendix A.3, Section 6.6): The attacker's preparation cost for discovering backend deployment IDs was not measured; sustained interference in production environments, precise RPM accounting across multiple workers, and attribution of provider quotas were not tested. Experimental coverage: the tested gateway was primarily LiteLLM v1.99.0, compared with Kong 3.6; the models were Qwen1.5-MoE-A2.7B-Chat and DeepSeek-MoE-16B-Chat.
Experimental setupLiteLLM Python Router testbed、LiteLLM HTTP proxy multi-worker testbed et al. · Victim fallback count、Denial count et al.
Benchmarks
LiteLLM Python Router testbedLiteLLM HTTP proxy multi-worker testbedvLLM multi-agent voting workflowKong 3.6 containerized testbed
Metrics
Victim fallback countDenial countUpstream HTTP POST requestsLatency (p50, p99)Redis memory (KiB)
AI summaryand selection rationaleThe paper reveals cross-tenant interference attack vulnerabilities in LLM gateways under multi-tenant quota isolation, caused by shared model deployments and failure cooldown records. Using LiteLLM as an example, an attacker can exploit rejected requests that hit the API key requests-per-minute (RPM) limit to directly trigger backend failure handling; just 2 rejected requests can force other tenants to fall back to a fallback backup deployment with zero upstream calls. A second attack uses allowed traffic to create persistent cooldown records. The research designs a source-checking mechanism to block deployment updates triggered by RPM rejections and introduces tenant-scoped cooldown. In tests with an authenticated proxy and a self-hosted vLLM environment, tenant-scoped cooldown reduced mis-degradations for victim tenants after capacity recovery from 54/60 to 0/60, effectively fixing the cross-tenant isolation gap in gateway failure handling.

The paper reveals cross-tenant interference attack vulnerabilities in LLM gateways under multi-tenant quota isolation, caused by shared model deployments and failure cooldown records. Using LiteLLM as an example, an attacker can exploit rejected requests that hit the API key requests-per-minute (RPM) limit to directly trigger backend failure handling; just 2 rejected requests can force other tenants to fall back to a fallback backup deployment with zero upstream calls. A second attack uses allowed traffic to create persistent cooldown records. The research designs a source-checking mechanism to block deployment updates triggered by RPM rejections and introduces tenant-scoped cooldown. In tests with an authenticated proxy and a self-hosted vLLM environment, tenant-scoped cooldown reduced mis-degradations for victim tenants after capacity recovery from 54/60 to 0/60, effectively fixing the cross-tenant isolation gap in gateway failure handling.

Why it was selectedThe paper discloses that LiteLLM shared cooldown records can be exploited across tenants, and provides two attack paths with corresponding mitigations; teams deploying LLM gateways can use this to check tenant isolation.

Related events and news

1 events · 1 news mentions

  • This event's paper

    LLM网关跨租户干扰研究

    研究者披露 LiteLLM 网关跨租户干扰攻击,2 次被拒请求即可迫使其他租户降级至 fallback。

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Shared deployment cooldown records in LLM gateways introduce a cross-tenant interference attack surface.

    Shared cooldown state in LLM gateways can be exploited by attackers to launch cross-tenant interference attacks.

    • Scenario and importance: LLM gateways (e.g., LiteLLM) typically allow multiple tenants to use independent authentication keys and usage quotas while sharing the underlying model deployments. To improve reliability, the gateway shares deployment failure records and enters a cooldown period after triggering, avoiding subsequent requests repeatedly hitting the failed node.

    • Deficiencies of existing mechanisms: The gateway's request admission control is decoupled from backend failure handling. Rejections triggered by a tenant's own quota exhaustion may be incorrectly counted into the backend deployment's failure records; in addition, cooldown records caused by transient quota exhaustion persist after capacity recovery.

    • Core observation and hypothesis: The authors observed that cooldown records have a duration independent of actual capacity recovery, and the gateway lacks strict attribution verification of the failure source. Attackers can exploit this state dependency to block other legitimate tenants' access to available backends.

    • Main contributions: The authors identified two attack paths exploiting local admission rejections and residual cooldown from allowed traffic, and designed defense mechanisms including origin-check markers and tenant-scoped isolation of 429 cooldown records.

    • Threat model:

      • Attacker goal: Exclude available backends from the victim tenant's routing, forcing the victim to suffer denial of service, non-compliant degraded fallback, or tampering with downstream voting aggregation decisions.
      • Attacker knowledge: The attacker holds an ordinary valid tenant key, does not possess victim credentials, cannot modify gateway configuration, and cannot directly write to the cooldown cache; in the local rejection attack, the attacker is assumed to know the target registered deployment ID.
      • Attacker capability: Controls the timing and content of its own requests, keeps prompts benign, and is limited by or explicitly limited to its own quota budget.
      • Victim system: Victim tenant B shares at least one model deployment and the cooldown cache with attacker A, and B's requests all comply with its own authentication and quota limits.
  2. What related research exists?

    Covers cloud tenant isolation, LLM routing attacks, cache DoS, and gateway fault tolerance.

    Tenant isolation and fault handling mechanisms

    • Resource isolation and rate limiting: AWS (2020) discusses resource isolation in multi-tenant environments; Popa et al. (2012) study network bandwidth allocation in FairCloud. RFC 8084 (Fairhurst, 2017) specifies protection of feedback authenticity and integrity in network transport circuit breakers; AWS (n.d.) adaptive rate limiter shares rate-limiting feedback within the client. The authors note that this paper's defense explicitly decouples fault sources from tenants that inherit cooldowns.

    Routing attacks and cache poisoning

    • Model routing security: RouteLLM (Ong et al., 2025) studies preference-data-based model routing; Shafran et al. (2025), Lin et al. (2025), and Tang et al. (2026) study adversarial input manipulation of LLM routers, and RerouteGuard (Zhang et al., 2026) proposes a defense. The authors note that this paper studies deployment eligibility, not content-driven model selection.
    • Cache security and denial of service: CPDoS (Nguyen et al., 2019) studies attackers inducing error responses that are cached in CDNs, causing denial of service; PROMPTPEEK (Wu et al., 2025) and KVGov (Addagada, 2026) study privacy leakage and isolation of KV caches in multi-tenant inference. The authors note that this paper focuses on the impact of gateway-layer cooldown state on subsequent tenant routing.

    Persistence and service impact

    • State transitions and failover anomalies: ContinuityBench (Pandey & Singh, 2026) reports races and retry rate limiting in stateful failover across multi-provider routing; Shrew (Kuzmanovic & Knightly, 2003) studies low-rate denial-of-service attacks; Bronson et al. (2021) and Huang et al. (2022) analyze metastable failures in distributed systems. ComplianceGate (Dey, 2026) studies classification-based tiered routing in regulated environments.

    Comparison baselines and benchmarks

    • The paper compares against unmodified native LiteLLM v1.99.0 (Stock Cooldown), fully disabled cooldown (Disabled Cooldown), skipping 429 cooldown (Skip 429 Cooldown), and shortened cooldown (Short Cooldown). Extended evaluations also examine AWS example configurations (LiteLLM 1.89.1), Kong 3.6, and Portkey.
    • The authors position this work as identifying the lack of tenant isolation in LLM gateways between request admission and shared backend availability handling, and propose mitigations that balance fault isolation with backpressure.
  3. How does the paper address this problem?

    The design adds an origin check to block local updates and isolates the 429 cooling per tenant.

    To address the flaws in shared cooldown state, the authors proposed two mitigation mechanisms: origin-check markers and tenant-scoped isolation.

    Problem setup and formalization

    Let D be the set of deployments, and C(d) be the shared cooldown record for deployment d ∈ D. In native processing, an attacker triggers a local 429 exception by forging metadata containing the target deployment ID, and the upstream call count satisfies:

    N(e) = 0, C+(d̂(e)) = re

    causing a deployment without upstream calls to enter cooldown. For allowed traffic, the quota clear time τclear(d) and the cooldown expiry time τexpire(d) are independent, causing residual exclusion within the time interval Id = [τclear(d), τexpire(d)). The victim's available routing set is reduced to:

    RB(τ) = HB(τ) ∖ K(τ)

    where HB(τ) is the set of healthy deployments meeting compliance conditions, and K(τ) is the set of deployments in active cooldown. When HB(τ) ⊆ K(τ), RB(τ) = ∅, causing complete denial of service or cross-region fallback violations.

    Blocking deployment updates from local quota rejections (M1 Origin Check)

    • Server-side exception marker: Before generating failure metadata, the gateway attaches a server-side enumerated marker to exceptions caused by tenant API Key RPM limit exceedance.
    • Object identity verification: The gateway checks this marker in multiple callbacks via object identity, which clients cannot forge through the request body.
    • Guarded state updates: If the exception carries the marker, the state update directly remains unchanged, preventing it from updating the deployment failure counter, RPM statistics, and cooldown records; unmarked exceptions still execute the original state update logic.

    Isolating HTTP 429 cooldown by authenticated tenant (M2 Tenant Scoping)

    • Decoupling tenant records from global records: Cooldown records are split into global failure records G(d) and tenant-specific records Q(d, t). When the error status code is 429, only the triggering tenant's Q(d, t) is updated; non-429 errors (e.g., 5xx failures) are written to the global record G(d).
    • Combined state reading: When routing checks whether a deployment is excluded, it computes Ct(d, τ) = live(G(d), τ) ∨ live(Q(d, t), τ), taking the later expiry time of the two as the exclusion basis.
    • Preserving independent retries and backpressure: This design allows attacker A to maintain backpressure fallback while ensuring CB+(d, τ) = CB(d, τ) (for any A ≠ B), allowing other tenants to independently attempt to use the recovered backend capacity.

    Identity propagation and cache implementation

    • Tenant identity extraction: The authentication hook extracts the registered key alias (key_alias), user_id, or the default namespace GLOBAL from the request context by priority, and propagates it through Python ContextVar in the asynchronous flow.
    • Cache key design and batch reads: Tenant record keys include the deployment ID and tenant ID, while global records contain only the deployment ID. The asynchronous implementation batch-reads the two keys in a single candidate query, avoiding cross-tenant state confusion.
  4. What experiments did the paper conduct?

    Tenant isolation reduced post-recovery victim fallbacks from 54/60 to 0/60.

    Experimental Setup

    • Systems and Models Under Test: LiteLLM v1.99.0 (Python Router and HTTP proxy), Kong 3.6; real inference models use Qwen1.5-MoE-A2.7B-Chat and DeepSeek-MoE-16B-Chat (both deployed on vLLM 0.28.0, running on 2 NVIDIA H800 GPUs).
    • Evaluation Environment and Storage: OpenAI API controlled quota simulation backend, PostgreSQL for key storage, Redis for sharing cooldown state across 4 workers, Apple M4 macOS (16 GiB memory) host testing.
    • Baseline Methods: Native LiteLLM v1.99.0 (Stock), fully disabled cooldown (Disabled), skip 429 cooldown (Skip 429), 1-second ultra-short cooldown (Short).
    • Primary Metrics: Victim fallback count, denial-of-service count, direct probe status codes (HTTP 200/429/500/503), upstream backend HTTP POST request count, Healthy request latency (p50/p99), Redis memory usage.
    • Evaluation Method and Sample Size: Status code and log comparison, multi-process log event validation; main comparison experiments use 5 paired repeated runs (each run with 12 or 8 probe requests), multi-tenant tests include 4, 16, 64 tenants.

    Main Results

    The table below shows the number of times victim requests were redirected to fallback deployments after backend capacity recovery across 4 workers and 5 independent paired runs (12 requests per round, totaling 60 requests):

    Swipe horizontally to read the table

    RunNative LiteLLM (Stock)Tenant Scoped CooldownSource
    Run 1110Table 2
    Run 2100Table 2
    Run 3120Table 2
    Run 4120Table 2
    Run 590Table 2
    Total54/600/60Table 2
    • The authors note that in native LiteLLM, Redis cooldown records shared across workers caused 54/60 victim requests to be incorrectly downgraded to fallback deployments even after backend capacity recovered.
    • The authors note that with tenant-scoped isolation, all 60 victim requests across 5 runs were successfully routed to the recovered primary deployment (0/60 fallbacks).
    • The authors state that under the native configuration, due to the 10-second batch re-read interval enforced by DualCache, differences in when each worker reads Redis led to alternating primary/fallback routing (Appendix B.7).

    Attack Impact and Recovery Exclusion Verification

    • Local Denial Attack and Origin Check: Under native LiteLLM, 2 local rejected requests carrying registered deployment IDs (0 upstream calls) directly forced victim routing from Primary to Fallback; after introducing the origin check, victims remained on Primary (Table 1).
    • Real Inference and Vote Tampering: In a 5-node multi-agent voting task with DeepSeek-MoE-16B-Chat, an attacker blocked the other 4 nodes (0 upstream requests) using local rejected requests with forged IDs, altering all 8/8 non-A majority decisions to A, and changing all 5/5 originally correct decisions to incorrect; under a 3/5 arbitration mechanism, this produced 9/9 abstentions (Table 7).
    • Compliance Policy Violation: In regional policy tests, after cooling all compliant nodes, enabling fallback caused 20/20 cross-region policy violations, while disabling fallback caused 20/20 denial of service (Table 6).

    Operational Cost and Overhead Analysis

    • Upstream Retry Load: In a 64-tenant concurrent 429 scenario, tenant isolation increased the median upstream requests from 15 to 209 (Table 12), recovering 40/40 victim probes (native was 0/40).
    • Healthy Request Latency: Under 16-tenant concurrency, median latency p50 increased from 19.35 ms to 25.10 ms (Table 13).
    • Redis Memory Overhead: With 2 deployments and a 300-second TTL, 1024 tenants retained 2048 entries, using 368 KiB of memory (native used 2 entries occupying 368 bytes, Fig. 4d).

    Additional Ablations and Analysis

    • Under a 5-second cooldown, the average denial/attack time amplification factor was 12×, rising to 98× with a 40-second cooldown (§6.2, Fig. 3c).
    • Under periodic pulses with 13-second and 25-second intervals, attackers caused 137/212 and 148/219 victim probe denials within 90 seconds at 1.5%–4% duty cycles (Fig. 7).
    • Under continuous overload scheduling, tenant isolation had a denial rate of 61%, while native LiteLLM had 67% (Appendix B.9).
    • In probes after recovery from 500 real failures across 4 tenants, native LiteLLM responded successfully 35/40 times, while tenant isolation responded only 13/40 times; the authors state the specific cause has not yet been identified (§6.4, Table 12).
  5. What are some points that can be further explored?

    The authors note that deployment ID discovery costs and production characteristics were not measured, and some recovery differences remain unexplained.

    Limitations and future directions noted by the authors

    • Deployment ID discovery cost not measured: The local rejection attack relies on the attacker knowing the registered target deployment ID; although response headers may leak the ID, the authors note that target discovery and its preparation cost were not measured in the paper (§3.2, Appendix A.3).
    • Production environment characteristics require further study: The authors note that the sequential recovery and simulated concurrent load used in the evaluation differ from actual production, and future work should study sustained interference, precise cross-worker RPM accounting, provider quota attribution, dynamic credentials, patch propagation, and concurrent retries in production environments (§6.6).
    • Quota attribution lacks a trust mapping: HTTP 429 itself cannot identify the owner of the quota; coordinating backpressure requires a trusted mapping mechanism from tenants to provider quota owners, and the strategies proposed in the paper can only uniformly scope isolation by tenant (§5.2).
    • Unresolved discrepancy in real failure recovery: In the 4-tenant 500-error test, tenant isolation served only 13/40 probes after recovery (native: 35/40), and the authors explicitly state that the specific cause of this recovery discrepancy has not been identified (§6.4, Appendix B.10).

    Experimental coverage

    • Tested system versions: The main experiments were based on LiteLLM v1.99.0, configuration analysis included LiteLLM 1.89.1 from AWS examples, and the extended gateway test covered Kong 3.6; the paper notes that Portkey's target compliance policy enforcement was not verified (§6.5, Appendix C.3).
    • Tested models: Real inference experiments used Qwen1.5-MoE-A2.7B-Chat and DeepSeek-MoE-16B-Chat, each deployed on 2 NVIDIA H800 GPUs.
    • Concurrency and scale limits: Multi-tenant concurrency tests covered 4, 16, and 64 tenants, Redis memory tests were extrapolated to 1024 tenants; the multi-worker proxy test was fixed at 4 workers.
    • Unreported information: The paper does not report the time and success rate for an attacker blindly discovering internal registered deployment IDs in an actual black-box gateway.
  6. Summarize the main content of the paper

    Reveals a gateway shared-cooling vulnerability and proposes source checking and tenant isolation defenses.
    • Paper Positioning: The paper studies cross-tenant interference attacks and denial-of-service risks in multi-tenant LLM gateways caused by shared backend failures and cooldown states.
    • Core Problem: LLM gateways share cooldown records for backend deployments when enforcing independent tenant quotas, causing one tenant's request failures to pollute shared state, leading to legitimate tenants being incorrectly excluded from healthy deployments.
    • Method Design: Reveals two attack paths: local API Key RPM rejection and residual cooldown from allowed traffic; proposes an Origin Check that tags key anomalies within the gateway to block deployment state updates, and Tenant Scoping that isolates 429 cooldown records per tenant.
    • Key Results: In 5 paired runs across 4 workers, tenant isolation reduced post-recovery victim fallbacks from 54/60 to 0/60 (Table 2); in a multi-agent voting task, an attacker altered 8/8 majority decisions to their own results using local rejections with 0 upstream calls (Table 7); under 64-tenant concurrent 429 failures, tenant isolation increased median upstream requests from 15 to 209 (Table 12).
    • Conclusion and Implications: The authors argue that gateway tenant isolation design must not stop at request admission and quota layers, but must also cover fault handling and cooldown states that manage backend availability.
Read originalarxiv.org