{"id":"GO-2026-6225","revision":"bec879393c3844ac85d02eea18410a72","records":[{"revision":"bec879393c3844ac85d02eea18410a72","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6225","aliases":[],"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.","state":0,"publishedAt":"2026-08-18T18:05:09+00:00","modifiedAt":"2026-08-26T01:20:18.6853707+00:00","affected":[{"ecosystem":"Go","name":"github.com/chrismellard/docker-credential-acr-env","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/chrismellard/docker-credential-acr-env/issues/21","https://github.com/osscontainertools/docker-credential-acr"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6225","license":"OSV · upstream source license applies","key":"osv:GO-2026-6225","identifiers":["GO-2026-6225"]},"retained":false,"historicalAffected":[]}],"coverage":[]}