{"id":"GO-2026-6225","aliases":["GO-2026-6225"],"related":["CGA-rvv4-gfj5-24qv"],"kind":"vulnerability","state":"published","title":"Credential leakage to untrusted hosts in github.com/chrismellard/docker-credential-acr-env","summary":"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.","summaryFormat":"markdown","summarySource":"go","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"go"}],"published":"2026-08-18T18:05:09.000Z","modified":"2026-08-26T01:20:18.685Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/chrismellard/docker-credential-acr-env","purl":"pkg:golang/github.com/chrismellard/docker-credential-acr-env","source":"go"}],"references":[{"url":"https://github.com/chrismellard/docker-credential-acr-env/issues/21","tags":["report"],"sources":["go"]},{"url":"https://github.com/osscontainertools/docker-credential-acr","tags":["web"],"sources":["go"]}],"credits":["Martin Zihlmann"],"sources":[{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6225","url":"https://pkg.go.dev/vuln/GO-2026-6225","licence":"CC-BY-4.0","modified":"2026-08-26T01:20:18.685Z"}],"updatedAt":"2026-11-25T22:56:25.276Z"}