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

Not scored Published

An attacker can steal Azure AD access tokens by registering a malicious hostname containing .azurecr.io, exploiting an unanchored regex in the credential helper.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is GO-2026-6225?

GO-2026-6225 is a vulnerability in github.com/chrismellard/docker-credential-acr-env, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by GO-2026-6225?

1 open source package ship an affected version, including github.com/chrismellard/docker-credential-acr-env.

PackageAffectedFixed in
github.com/chrismellard/docker-credential-acr-env GoAll versionsNone

How do I fix GO-2026-6225?

No fix has been published for GO-2026-6225 yet. Limit exposure of the affected software until one is available.

Is GO-2026-6225 being exploited?

There is no known exploitation of GO-2026-6225 in the wild and no public exploit code.

Sources

Is GO-2026-6225 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free