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 package | Versions | Reported by |
|---|---|---|
| crossplane crossplane-runtime | 2.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.3 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| VulDB | 6.9medium CVSS:4.0 | CVSS: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 |
| VulDB | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C |
| VulDB | 5.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C |
| VulDB | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N/E:ND/RL:OF/RC:C |
| GitHub | high CVSS:4.0 | CVSS: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
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:
- 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.
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
| https://vuldb.com/vuln/413395 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/413395/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-105163 | third-party-advisory | |
| https://github.com/advisories/GHSA-mf7q-r4rv-jv94 | issue-tracking | |
| https://github.com/crossplane/crossplane-runtime/pull/1038 | fix, issue-tracking, patch | |
| https://github.com/crossplane/crossplane-runtime/commit/bee99c6cd6ca81878acca2940a2f0a02169fc208 | fix, patch | |
| https://github.com/crossplane/crossplane-runtime/releases/tag/v2.2.3 | patch | |
| https://github.com/crossplane/crossplane-runtime/ | product | |
| https://github.com/crossplane/crossplane-runtime/security/advisories/GHSA-mf7q-r4rv-jv94 | advisory, web | |
| https://github.com/crossplane/crossplane-runtime | package | |
| https://github.com/crossplane/crossplane-runtime/releases/tag/v2.3.3 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-105163 changed 2026-10-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mf7q-r4rv-jv94 changed 2026-10-05 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6302 changed 2026-10-05 | CC-BY-4.0 |
| NVD | CVE-2026-105163 changed 2026-10-06 | Public domain |