GHSA-mf7q-r4rv-jv94: Go/github.com/crossplane/crossplane-runtime/v2 vulnerability

Published Aug 27, 2026
·
Updated

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:

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 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.

Affected Software

2 affected componentsFixes available
go/github.com/crossplane/crossplane-runtime/v2>=2.3.0<=2.3.2
2.3.3
go/github.com/crossplane/crossplane-runtime/v2=2.4.0-rc.0
2.4.0-rc.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/crossplane/crossplane-runtime/v2 to a version that resolves this vulnerability.

    Fixed in 2.3.3
  2. Upgrade

    Upgrade go/github.com/crossplane/crossplane-runtime/v2 to a version that resolves this vulnerability.

    Fixed in 2.4.0-rc.1
  3. Upgrade

    Upgrade crossplane/crossplane to a version that resolves this vulnerability.

    Fixed in v2.3.3
  4. Upgrade

    Upgrade crossplane/crossplane to a version that resolves this vulnerability.

    Fixed in v2.2.3
  5. Configuration

    Configure Crossplane package signature verification via the ImageConfig mechanism so the package manager verifies packages before pulling and installing them (cosign-based verification as described).

    Crossplane package manager (ImageConfig) ImageConfig (package signature verification) = Enable signature verification for packages
  6. Compensating control

    Install packages from registries Crossplane does not control (i.e., avoid using OCI registries you do not control) to reduce the risk that a registry could serve a correctly signed image for verification and then an unsigned image for installation when tag references are used.

  7. Compensating control

    Install packages using tag references rather than digests, because installing by image digest rather than using tags avoids this issue (per the described mitigation).

Event History

Aug 27, 2026
Advisory Published
via GitHub·05:25 PM
Data Sourced
via GitHub·05:25 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Only users who have configured package signature verification, install packages by tag rather than digest, and obtain packages from registries they do not control are affected. Deployments that do not meet all three conditions are not described as vulnerable.

2

What must an attacker be able to do?

An attacker needs control of, or the ability to maliciously influence, an OCI registry serving a tagged package. The registry must be able to return a correctly signed image during verification and then return different unsigned content when Crossplane fetches the package.

3

What can be done before an update is available?

Install packages using immutable image digests instead of tag references. This avoids separate tag resolution for signature verification and package retrieval.

4

How does the fix prevent the substitution?

The updated package manager resolves a tag reference once and uses the resulting digest for both signature verification and image fetching. This ensures the fetched package is the same content whose signature was verified.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203