CVE-2026-105163
JSON

6.9medium

crossplane crossplane-runtime ImageConfig client.go Get toctou

Severity
6.9medium CVSS:4.0 by VulDB
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-mf7q-r4rv-jv94GO-2026-6302

Description

A vulnerability was detected in crossplane crossplane-runtime up to 2.2.2/2.3.2. This vulnerability affects the function Get of the file pkg/xpkg/client.go of the component ImageConfig. The manipulation results in time-of-check time-of-use. The attack may be launched remotely. Upgrading to version 2.2.3, 2.3.3 and 2.4.0-rc.1 is able to resolve this issue. The patch is identified as bee99c6cd6ca81878acca2940a2f0a02169fc208. You should upgrade the affected component.

Affected

Product or packageVersionsReported by
crossplane crossplane-runtime2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2
Not affected: 2.2.3, 2.3.3, 2.4.0-rc.1
CVE List
github.com/crossplane/crossplane-runtime/v2 (Go)from 2.4.0-rc.0 before 2.4.0-rc.1, from 2.3.0 before 2.3.3GitHub Advisory Database, Go Vulnerability Database

All scores

VulDB6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C
VulDB5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-345CWE-362CWE-367

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

A vulnerability was detected in crossplane crossplane-runtime up to 2.2.2/2.3.2. This vulnerability affects the function Get of the file pkg/xpkg/client.go of the component ImageConfig. The manipulation results in time-of-check time-of-use. The attack may be launched remotely. Upgrading to version 2.2.3, 2.3.3 and 2.4.0-rc.1 is able to resolve this issue. The patch is identified as bee99c6cd6ca81878acca2940a2f0a02169fc208. You should upgrade the affected component.

GitHub Advisory Database

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.

Go Vulnerability Database

Signature verification TOCTOU allows installing unverified package content in github.com/crossplane/crossplane-runtime/v2

References

Sources

SourceRecordLicence
CVE ListCVE-2026-105163 changed 2026-10-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-mf7q-r4rv-jv94 changed 2026-10-05CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6302 changed 2026-10-05CC-BY-4.0
NVDCVE-2026-105163 changed 2026-10-06Public domain