GO-2026-6225
not scored yetCredential leakage to untrusted hosts in github.com/chrismellard/docker-credential-acr-env
In github.com/chrismellard/docker-credential-acr-env/pkg/credhelper, the regular expression used by isACRRegistry to validate Azure Container Registry hostnames is unanchored. As a result, arbitrary hostnames containing the substring ".azurecr.io" (such as evil.azurecr.io.attacker.com) are treated as valid ACR registries, causing ACRCredHelper.Get to send the Azure Active Directory (AAD) access token to attacker-controlled hosts.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/chrismellard/docker-credential-acr-env | all versions |
References
- https://github.com/chrismellard/docker-credential-acr-env/issues/21 · REPORT
- https://github.com/osscontainertools/docker-credential-acr · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)