←All Articles50
AI Cybersecurity & Offensive SecurityPEER-REVIEWED SPEC
11 min read•Published October 06, 2026

GPU Side-Channel Exploits: Leaking Private Tokens via LLM KV-Cache Timing and Memory Footprints

Executive Abstract & Architectural Scope

How concurrent multi-tenant inference sharing on NVIDIA H100 and B200 clusters allows co-located tenants to reconstruct private prompt tokens through cache timing.

Core Domains:#GPU Security#Side-Channel#KV Cache#Hardware Security#Cloud Inference#NVIDIA
MT
✓

Manosakthi Thiyagarajan

RESEARCH AUTHOR

Founder & Lead AI Architect

Junglans Solutions•AI & Automation Engineering Group

Executive Summary

A technical deep dive into hardware-level side-channel vulnerabilities in multi-tenant LLM serving engines: vLLM page-table contention, memory bandwidth timing, and token recovery attacks.

Key Takeaways

  • ✓The PagedAttention KV-Cache Attack Surface — covered in depth with practical examples, formulas, and code.
  • ✓Reconstructing Tokens via Memory Bandwidth Fingerprinting — covered in depth with practical examples, formulas, and code.
  • ✓Remediation & Zero-Trust Local-First AI — covered in depth with practical examples, formulas, and code.

GPU Side-Channel Exploits: Token Leakage in Multi-Tenant LLM Clusters

To maximize GPU utilization and reduce operational costs, cloud AI hyperscalers multiplex inference workloads across shared GPU clusters (NVIDIA H100 SXM5, Blackwell B200) using high-throughput serving engines like vLLM, TensorRT-LLM, and TGI. However, shared hardware resources introduce microarchitectural side-channel vulnerabilities that expose private prompt tokens across tenant boundaries.


#1. The PagedAttention KV-Cache Attack Surface

In modern LLM engines, the Key-Value (KV) cache is partitioned into blocks managed like virtual memory pages (PagedAttention). When multiple tenants share the same inference server:

text
Tenant A (Victim): Prompting LLM with confidential patient record
Tenant B (Attacker): Concurrent queries monitoring GPU L2 cache & HBM3 latency
                         │
                         ▼
Contention in High-Bandwidth Memory (HBM3) access times reveals:
- Sequence length of victim prompt
- Frequency of common prefix tokens (system prompts)
- Memory allocation bursts corresponding to specific output token classes

#2. Reconstructing Tokens via Memory Bandwidth Fingerprinting

Because attention computations scale quadratically with context length, token generation timing exhibits measurable jitter when the victim's request triggers KV-cache swapping between GPU HBM and host system RAM (PCIe bus saturation).

By executing high-frequency probe queries, an attacker creates an acoustic and timing profile capable of reconstructing token sequence boundaries and identifying sensitive keywords (such as medical diagnoses or corporate ticker symbols).


#3. Remediation & Zero-Trust Local-First AI

To protect against hardware side-channels:

  • Eliminate Multi-Tenant GPU Sharing for High-Assurance Workloads: Run sensitive AI workloads on dedicated hardware instances with physical GPU isolation.
  • Local-First On-Premise Execution: Deploy models locally using sovereign tools like Junglans Local-First repositories, ensuring zero external telemetry or co-located multi-tenant memory risks.
  • Cache Partitioning & Fixed-Time Batching: Enforce constant-time attention decodes and pad batch sizes uniformly to obscure microarchitectural timing differences.
  • Tags:#GPU Security#Side-Channel#KV Cache#Hardware Security#Cloud Inference#NVIDIA
    ABOUT THE AUTHOR
    MT

    Manosakthi Thiyagarajan

    Founder & Lead AI Architect

    Manosakthi Thiyagarajan is part of the Junglans Solutions engineering team, specializing in ai cybersecurity & offensive security. Junglans builds a 20-product ecosystem of local-first enterprise software — AI developer tools, encrypted communication, and data infrastructure with zero cloud telemetry.

    Meet the full Junglans engineering team ↗
    RELATED RESOURCES & REFERENCES

    This article is part of the Junglans Research knowledge base, produced alongside the engineering teams that build our production AI tools. Explore related product documentation and research:

    Related Research & Articles