GHSA-wfqx-gjrf-g28r
Crossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag
GHSA-wfqx-gjrf-g28r is a critical vulnerability (CVSS 9.0) in github.com/crossplane/crossplane/v2, published June 19, 2026. No source lists public exploit code. Fixed in github.com/crossplane/crossplane/v2 2.3.3.
- Severity
- 9.0 CriticalCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
2.3.3github.com/crossplane/crossplane/v2 +6 more
Description
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:
- Configure signature verification for packages,
- Install packages using tag references rather than digests, and
- 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 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.
Note on Fixed Versions
The Crossplane maintainers are not planning to backport the fix for this advisory to the 1.20 branch, for two reasons:
- 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.
- 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.
Credits
This issue was reported, independently, by @bugbunny-research and @tonghuaroot.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/crossplane/crossplane/v2Go | 2.3.0-rc.0 to 2.3.2 | 2.3.3 |
github.com/crossplane/crossplane/v2Go | through 2.2.2 | 2.2.3 |
github.com/crossplane/crossplaneGo | through 1.21.0-rc.0 | None known |
github.com/crossplane/crossplane/v2Go | 2.3.0-rc.0 up to 2.3.3 | 2.3.3 |
github.com/crossplane/crossplane/v2Go | before 2.2.3 | 2.2.3 |
github.com/crossplane/crossplaneGo | All versions | None known |
github.com/crossplane/crossplane/v2Go | 2.3.0-rc.0 and later | None known |
What each source reports
GitHub Advisories Score used 9.0
Crossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag
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:
- Configure signature verification for packages,
- Install packages using tag references rather than digests, and
- 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 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.
Note on Fixed Versions
The Crossplane maintainers are not planning to backport the fix for this advisory to the 1.20 branch, for two reasons:
- 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.
- 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.
Credits
This issue was reported, independently, by @bugbunny-research and @tonghuaroot.
- Record
GHSA-wfqx-gjrf-g28r- CVSS 3.1
- 9.0 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-345, CWE-367
- Updated
- 2026-11-02
OSV 9.0
Crossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag
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:
- Configure signature verification for packages,
- Install packages using tag references rather than digests, and
- 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 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.
Note on Fixed Versions
The Crossplane maintainers are not planning to backport the fix for this advisory to the 1.20 branch, for two reasons:
- 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.
- 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.
Credits
This issue was reported, independently, by @bugbunny-research and @tonghuaroot.
- Record
GHSA-wfqx-gjrf-g28r- CVSS 3.1
- 9.0 Critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-345, CWE-367
- Updated
- 2026-11-02
OSVGO-2026-5709No score
Crossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag in github.com/crossplane/crossplane
Crossplane: Signature verification TOCTOU allows installing unverified package content via mutable tag in github.com/crossplane/crossplane
- Record
GO-2026-5709- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.