GO-2026-6225

    Dashboard / Vulnerabilities / GO-2026-6225

    GO-2026-6225

    Published: 18 Aug 2026Last Modified: 26 Aug 2026

    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.

    Affected packages

    Package

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

    Purl: pkg:golang/github.com/chrismellard/docker-credential-acr-env

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High