GHSA-wfqx-gjrf-g28r: Crossplane Signature Verification TOCTOU Allows Installing Vulnerability
CRITICALGHSA-wfqx-gjrf-g28r is a CRITICAL (CVSS 9.0) signature verification toctou allows installing vulnerability (CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition) affecting Crossplane libraries in the Go ecosystem. The issue involves signature verification toctou allows installing unverified package content via mutable tag. Remediation is available by upgrading affected packages to version 2.3.3, 2.2.3.
GHSA-wfqx-gjrf-g28r at a Glance
Security Impact
CVSS: 9.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H).
How to Fix GHSA-wfqx-gjrf-g28r
To remediate this vulnerability, upgrade all affected Crossplane dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/crossplane/crossplane/v2 to 2.3.3
Upgrade github.com/crossplane/crossplane/v2 to 2.2.3
Upgrade github.com/crossplane/crossplane to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/crossplane/crossplane/v2
How to Check if You Are Affected
To determine whether your application is affected by GHSA-wfqx-gjrf-g28r, inspect your project dependencies for Crossplane:
inspect dependencies for github.com/crossplane/crossplane/v2
Analyze the terminal output to locate any version of Crossplane in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition, where the product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. In Crossplane, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-wfqx-gjrf-g28r Affected Crossplane Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/crossplane/crossplane/v2
|
Go |
≥ 2.3.0-rc.0
< 2.3.3
|
2.3.3
|
|
github.com/crossplane/crossplane/v2
|
Go |
< 2.2.3
|
2.2.3
|
|
github.com/crossplane/crossplane
|
Go |
≤ 1.21.0-rc.0
|
|
References
Frequently Asked Questions
What is GHSA-wfqx-gjrf-g28r?
Which Crossplane versions are affected?
What version fixes GHSA-wfqx-gjrf-g28r?
Is github.com/crossplane/crossplane/v2 affected?
Is github.com/crossplane/crossplane affected?
What is the CVSS score of GHSA-wfqx-gjrf-g28r?
What CWE is associated with GHSA-wfqx-gjrf-g28r?
How can I check Go dependencies for GHSA-wfqx-gjrf-g28r?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wfqx-gjrf-g28r",
"modified" : "2026-09-29T21:17:31Z",
"published" : "2026-06-19T20:47:55Z",
"aliases" : [ ],
"summary" : "Crossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag",
"details" : "## Summary\n\nCrossplane 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.\n\nWhen 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.\n\nThis vulnerability is relevant only for users who do all three of the following:\n\n1. Configure signature verification for packages,\n2. Install packages using tag references rather than digests, and\n3. Install packages from registries they do not control.\n\n## Mitigation\n\nInstalling packages by image digest rather than using tags avoids this issue.\n\n## Fix\n\nThe 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.\n\n## Note on Fixed Versions\n\nThe Crossplane maintainers are *not* planning to backport the fix for this advisory to the 1.20 branch, for two reasons:\n\n1. The advisory is relevant only when an alpha feature is enabled and configured, and has a reasonable mitigation that is already a security best practice.\n2. Doing so would require a major refactor of package manager internals to match the refactor that shipped in Crossplane v2.2. Such a refactor would be an unnecessary risk given the policy that v1.20 receives only critical fixes and that this advisory affects only users of an alpha feature.\n\n## Credits\n\nThis issue was reported, independently, by @bugbunny-research and @tonghuaroot.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.0-rc.0"
}, {
"fixed" : "2.3.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.3.2"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.2.2"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/crossplane/crossplane"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.21.0-rc.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/crossplane/crossplane/security/advisories/GHSA-wfqx-gjrf-g28r"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/crossplane/crossplane"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345", "CWE-367" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T20:47:55Z",
"nvd_published_at" : null
}
}