Rust advisories / pingora-cache
Vulnerability HighRUSTSEC-2026-0035 · pingora-cache
RUSTSEC-2026-0035: Cache poisoning via insecure-by-default cache key
Short answerA security vulnerability in the pingora-cache crate: Cache poisoning via insecure-by-default cache key. GitHub rates it High. Fixed in 0.8.0: update to a fixed version.
| Crate | pingora-cache |
|---|---|
| Type | Vulnerability |
| Affected versions | Before 0.8.0. |
| Fixed in | 0.8.0 |
| Severity | High (GitHub rating) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N |
| Published | 2026-03-04 |
| Last changed | 2026-03-09 |
| Also known as | CVE-2026-2836, GHSA-f93w-pcj3-rggc |
What to do
- See which version you have:
cargo tree -i pingora-cache(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p pingora-cache. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplepingora-cache = "0.8.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
Pingora versions prior to 0.8.0 generated cache keys using only the URI path, excluding critical factors such as the host header. This allows an attacker to poison the cache and serve cross-origin responses to users.
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, or serve malicious content to legitimate users by poisoning shared cache entries.
This flaw was corrected in commit 257b59ada28ed6cac039f67d0b71f414efa0ab6e by removing the insecure default cache key implementation. Users must now explicitly implement their own callback that includes appropriate factors such as Host header and origin server HTTP scheme. We strongly recommend that users upgrade to Pingora >= 0.8.0.
Note: Cloudflare customers and Cloudflare's CDN infrastructure were 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.
References
- Package: crates.io/crates/pingora-cache
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0035.html
- Web: blog.cloudflare.com/pingora-oss-smuggling-vulnerabilities/
- Web: nvd.nist.gov/vuln/detail/CVE-2026-2836
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?