LowGO-2026-4942BIT-distribution-2026-35172CVE-2026-35172GHSA-f2g3-hh2r-cwgc

Stale blob descriptor cache invalidation in github.com/distribution/distribution

Published 18 Aug 2026 · Updated 18 Aug 2026

Is your project on an affected github.com/distribution/distribution?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
All versions
Fixed in
No fix released
Affected
<3.1.0
Fixed in
3.1.0
Update to the fixed version for your release line, for example:go get github.com/distribution/distribution/v3@v3.1.0

Details

In github.com/distribution/distribution and github.com/distribution/distribution/v3 before 3.1.0, when storage.cache.blobdescriptor is configured with redis and storage.delete.enabled is true, deleting a blob in one repository clears the shared digest descriptor in Redis but leaves stale repository-scoped membership behind. If another repository subsequently requests or stats the same digest, the shared descriptor is repopulated and the deleted blob becomes accessible again in the first repository.

Is GO-2026-4942 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/distribution/distribution, and gives you the command that fixes it.

More advisories for github.com/distribution/distribution

  • LowCVE-2026-85747Distribution: Client does not verify returned content against requested digest in github.com/distribution/distribution · 5 Nov 2026
  • LowCVE-2026-41888Distribution's tag deletion bypasses `storage.delete.enabled` configuration in github.com/distribution/distribution · 25 Jun 2026
  • LowCVE-2026-33540Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm in github.com/distribution/distribution · 25 Jun 2026
  • MediumCVE-2026-41888Distribution's tag deletion bypasses `storage.delete.enabled` configuration · 4 May 2026
  • HighCVE-2026-33540Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm · 6 Apr 2026
  • LowCVE-2025-24976Distribution's token authentication allows attacker to inject an untrusted signing key in a JWT in github.com/distribution/distribution · 3 Mar 2025
All 8 advisories for github.com/distribution/distribution

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.