CVE-2023-26054: medium-severity vulnerability in moby buildkit
Credentials inlined to Git URLs could end up in provenance attestation in BuildKit
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
BuildKit can accidentally expose Git credentials (usernames and passwords) in build records called provenance attestations. This happens when you build software from a Git repository that has credentials embedded in its URL, making those secrets visible to anyone who can access the build records.
When BuildKit v0.11.0+ creates provenance attestations for builds initiated via Git URLs containing embedded credentials, or when VCS info hints are populated from .git/config, the credentials remain unmasked in the attestation metadata. An attacker with access to provenance records can extract these credentials. The vulnerability affects builds where credentials are passed directly in the Git URL or inherited from local repository configuration; mitigation includes upgrading to v0.11.4+ or disabling VCS hints via BUILDX_GIT_INFO=0.
In the same product, most dangerous first.