Email me

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.

Cratepingora-cache
TypeVulnerability
Affected versionsBefore 0.8.0.
Fixed in0.8.0
SeverityHigh (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
Published2026-03-04
Last changed2026-03-09
Also known asCVE-2026-2836, GHSA-f93w-pcj3-rggc

What to do

  1. See which version you have: cargo tree -i pingora-cache (it also shows which of your dependencies pulls it in).
  2. 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 example pingora-cache = "0.8.0") or update the dependency that pulls it in.
  3. 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

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 →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ