GO-2026-6225
Not scored
Credential leakage to untrusted hosts in github.com/chrismellard/docker-credential-acr-env
- Severity
- Not scored
- Published
- Last changed
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/chrismellard/docker-credential-acr-env (Go) | all versions | Go Vulnerability Database |
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| Go Vulnerability Database | GO-2026-6225 changed 2026-08-26 | CC-BY-4.0 |