Advisory

GO-2026-6225

Also known as: None

Summary

Credential leakage to untrusted hosts in github.com/chrismellard/docker-credential-acr-env

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-18 18:05 UTC
Modified
2026-08-26 01:20 UTC

Affected packages and fixes

github.com/chrismellard/docker-credential-acr-env

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences