GHSA-wfqx-gjrf-g28rCritical· 9.0▾ MidnightCrossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 49.5 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
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:
Installing packages by image digest rather than using tags avoids this issue.
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.
The Crossplane maintainers are not planning to backport the fix for this advisory to the 1.20 branch, for two reasons:
This issue was reported, independently, by @bugbunny-research and @tonghuaroot.
github.com/crossplane/crossplane/v2 >= 2.3.0-rc.0, < 2.3.3github.com/crossplane/crossplane/v2 < 2.2.3github.com/crossplane/crossplane <= 1.21.0-rc.0Upgrade to a patched release:
github.com/crossplane/crossplane/v2 2.3.3github.com/crossplane/crossplane/v2 2.2.3Connected by shared product, vendor, weakness, or advisory.
GHSA-mf7q-r4rv-jv94HighCrossplane's TOCTOU between cosign verification and image fetch in xpkg.CachedClient allows tag-based package install to bypass signature…
CVE-2026-105163Medium· 5.3A vulnerability was detected in crossplane crossplane-runtime up to 2.2.2/2.3.2
CVE-2023-37900Low· 3.4Denial of service from large image
GHSA-7h65-4p22-39j6Critical· 9.8github.com/crossplane/crossplane: Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses
GO-2026-6302NoneSignature verification TOCTOU allows installing unverified package content in github.com/crossplane/crossplane-runtime/v2
GO-2024-3219Nonegithub.com/crossplane/crossplane: Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses