GO-2026-4942

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

At a glance

Published
Updated
CVE
CVE-2026-35172
Aliases
BIT-distribution-2026-35172, GHSA-f2g3-hh2r-cwgc

Description

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.

Affected packages

PackageVersions
Go · github.com/distribution/distributionintroduced 0
Go · github.com/distribution/distribution/v3introduced 0, fixed 3.1.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database