github.com/crossplane/crossplane-runtime/v2
Affected
- introduced
2.4.0-rc.0, fixed2.4.0-rc.1(semver)
Fixed versions
2.4.0-rc.1
Fix
- Fixed version
2.4.0-rc.1go get github.com/crossplane/crossplane-runtime/[email protected]
Advisory
Also known as: CVE-2026-105163, GO-2026-6302
Crossplane's TOCTOU between cosign verification and image fetch in xpkg.CachedClient allows tag-based package install to bypass signature check
Summary
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:
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 signature verification and image fetching. This ensures that Crossplane pulls the same content that had its signature verified. The fix has been applied to Crossplane's main branch and backported to the v2.3 and v2.2 release branches; it will be released in v2.3.3 and v2.2.3.
Credits
This issue was reported, independently, by @bugbunny-research and @tonghuaroot.
High Basis: The source's own band: HIGH
2.4.0-rc.0, fixed 2.4.0-rc.1 (semver)2.4.0-rc.1
2.4.0-rc.1go get github.com/crossplane/crossplane-runtime/[email protected]2.3.0, fixed 2.3.3 (semver)2.3.3
2.3.3go get github.com/crossplane/crossplane-runtime/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0