Vulnerability Report: GO-2026-6225
- Affects: github.com/chrismellard/docker-credential-acr-env
- Published: Aug 18, 2026
- Modified: Aug 25, 2026
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 Packages
-
PathGo VersionsSymbols
-
all versions, no known fixed
References
- https://github.com/chrismellard/docker-credential-acr-env/issues/21
- https://github.com/osscontainertools/docker-credential-acr
- https://vuln.go.dev/ID/GO-2026-6225.json
Credits
- Martin Zihlmann
Feedback
See anything missing or incorrect?
Suggest an edit to this report.