GO-2026-6225

Source
https://pkg.go.dev/vuln/GO-2026-6225
Import Source
https://vuln.go.dev/ID/GO-2026-6225.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6225
Downstream
Related
Published
2026-08-18T18:05:09Z
Modified
2026-08-19T09:41:58.925915759Z
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6225"
}
References

Affected packages

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

Package

Name
github.com/chrismellard/docker-credential-acr-env
View open source insights on deps.dev
Purl
pkg:golang/github.com/chrismellard/docker-credential-acr-env

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/chrismellard/docker-credential-acr-env/pkg/credhelper",
            "symbols": [
                "ACRCredHelper.Get",
                "isACRRegistry"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6225.json"