{"id":"GO-2026-6225","aliases":[],"status":"published","title":"Credential leakage to untrusted hosts in github.com/chrismellard/docker-credential-acr-env","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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2026-08-18T18:05:09Z","modified":"2026-08-26T01:20:18Z","affected":[{"source":"osv","ecosystem":"Go","package":"github.com/chrismellard/docker-credential-acr-env","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://github.com/chrismellard/docker-credential-acr-env/issues/21","tags":["report"]},{"url":"https://github.com/osscontainertools/docker-credential-acr","tags":["web"]}],"sources":{"osv":[{"id":"GO-2026-6225","title":"Credential leakage to untrusted hosts in github.com/chrismellard/docker-credential-acr-env","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.","status":"published","published":"2026-08-18T18:05:09Z","modified":"2026-08-26T01:20:18.685370674Z","updated_at":"2026-11-02T15:47:03.11707Z"}]}}
