gbhackers.comยท21 september 2026

New Cache Key Injection Attack Lets Hackers Bypass Access Controls and Poison Nginx Caches

Image for the article: New Cache Key Injection Attack Lets Hackers Bypass Access Controls and Poison Nginx Caches
Image via gbhackers.com

Security researchers revealed a cache poisoning technique called cache key injection that can bypass access controls, expose sensitive cached pages, and trigger denial-of-service conditions in vulnerable Nginx deployments. The flaw occurs when web caches concatenate multiple variable request values without separators, creating identical cache keys for distinct requests. Attackers can exploit this to retrieve sensitive content or induce errors. Researchers also demonstrated potential stored cross-site scripting (XSS) vulnerabilities and bypassing Cloudflare's edge-cache under certain conditions. Defenders are advised to use separators or structured encoding in cache keys and validate Host headers.