High, CVSS 8.2GoAmendedPublished
Crossplane's TOCTOU between cosign verification and image fetch in xpkg.CachedClient allows tag-based package install to bypass signature check
CVE-2026-105163 · GHSA-mf7q-r4rv-jv94
- Affected
- Go github.com/crossplane/crossplane-runtime/v2 >= 2.4.0-rc.0, <= 2.4.0-rc.0; >= 2.3.0, <= 2.3.2
- Fixed in
- 2.3.32.4.0-rc.1· Vendor fix available
- Issue
- Crossplane allows package signature verification to be configured via the ImageConfig mechanism. When enabled, the package manager uses cosign to verify that packages are correctly signed before pulling and installing them. When a package is installed using a tag reference (e.g., a semantic version), a malicious OCI registry could serve a correctly signed image for verification, then subsequently serve an unsigned image for installation. This is possible because Crossplane resolves the tag reference separately for each step. This vulnerability is relevant only for users who do all three of the following: 1. Configure signature verification for packages, 2. Install packages using tag references rather than digests, and 3. Install packages from registries they do not control. Mitigation Installing packages by image digest rather than using tags avoids this issue. Fix The package manager has been updated to resolve tag references once and use the resulting digest for both…
Recommended action: Upgrade to 2.4.0-rc.1 (pre-release) or 2.3.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.