Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.4

Pingora HTTP Proxy Cache Key Construction Flaw Exposes User Data

GHSA-2m8c-2374-465f
Summary

Pingora's HTTP proxy caching feature has a weakness that allows attackers to steal data from other users or serve malicious content to legitimate users. To fix this, update to Pingora version 0.8.0 or higher and implement a custom cache key construction method.

What to do
  • Update pingora-cache to version 0.8.0.
Affected software
VendorProductAffected versionsFix available
pingora-cache <= 0.8.0 0.8.0
Original title
Duplicate Advisory: Cache poisoning via insecure-by-default cache key
Original description
### Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f93w-pcj3-rggc. This link is maintained to preserve external references.

### Original Description
A cache poisoning vulnerability has been found in the Pingora HTTP proxy framework’s default cache key construction. The issue occurs because the default HTTP cache key implementation generates cache keys using only the URI path, excluding critical factors such as the host header (authority). Operators relying on the default are vulnerable to cache poisoning, and cross-origin responses may be improperly served to users.


Impact

This vulnerability affects users of Pingora's alpha proxy caching feature who relied on the default CacheKey implementation. An attacker could exploit this for:

* Cross-tenant data leakage: In multi-tenant deployments, poison the cache so that users from one tenant receive cached responses from another tenant


* Cache poisoning attacks: Serve malicious content to legitimate users by poisoning shared cache entries




Cloudflare's CDN infrastructure was not affected by this vulnerability, as Cloudflare's default cache key implementation uses multiple factors to prevent cache key poisoning and never made use of the previously provided default.


Mitigation:

We strongly recommend Pingora users to upgrade to Pingora v0.8.0 or higher, which removes the insecure default cache key implementation. Users must now explicitly implement their own callback that includes appropriate factors such as Host header, origin server HTTP scheme, and other attributes their cache should vary on.


Pingora users on previous versions may also remove any of their default CacheKey usage and implement their own that should at minimum include the host header / authority and upstream peer’s HTTP scheme.
ghsa CVSS4.0 8.4
Published: 5 Mar 2026 · Updated: 7 Mar 2026 · First seen: 6 Mar 2026