CVE-2025-29922: kcp allows unauthorized creation and deletion of objects in arbitrary workspaces through APIExport Virtual Workspace

Published Mar 20, 2025
·
Updated

Impact

The APIExport Virtual Workspace can be used to manage objects in workspaces that bind that APIExport for resources defined in the APIExport or specified and accepted via permission claims. This allows an API provider (via their APIExport) scoped down access to workspaces of API consumers to provide their services properly.

The identified vulnerability allows creating or deleting an object via the APIExport VirtualWorkspace in any arbitrary target workspace for pre-existing resources. By design, this should only be allowed when the workspace owner decides to give access to an API provider by creating an APIBinding.

With this vulnerability, it is possible for an attacker to create and delete objects even if none of these requirements are satisfied, i.e. even if there is no APIBinding in that workspace at all or the workspace owner has created an APIBinding, but rejected a permission claim.

Patches

A fix for this issue has been identified and has been published with kcp 0.26.3 and 0.27.0.

Workarounds

For users unable to upgrade to one of the patched versions, the following guidance can be given:

- Minimise the set of people with apiexport/content sub-resource access to APIExport resources. Be aware that this has to apply to all workspaces to be effective. - Filter incoming requests in a reverse proxy with a similar logic as the authorizer added in the referenced pull request.

References

See pull request (https://github.com/kcp-dev/kcp/pull/3338).

Other sources

kcp is a Kubernetes-like control plane for form-factors and use-cases beyond Kubernetes and container workloads. Prior to 0.26.3, the identified vulnerability allows creating or deleting an object via the APIExport VirtualWorkspace in any arbitrary target workspace for pre-existing resources. By design, this should only be allowed when the workspace owner decides to give access to an API provider by creating an APIBinding. With this vulnerability, it is possible for an attacker to create and delete objects even if none of these requirements are satisfied, i.e. even if there is no APIBinding in that workspace at all or the workspace owner has created an APIBinding, but rejected a permission claim. A fix for this issue has been identified and has been published with kcp 0.26.3 and 0.27.0.

MITRE

Affected Software

3 affected componentsFixes available
kcp kcp<0.26.3
kcp kcp>=0.26.3<=0.27.0
go/github.com/kcp-dev/kcp<0.26.3
0.26.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/kcp-dev/kcp to a version that resolves this vulnerability.

    Fixed in 0.26.3
  2. Upgrade

    Upgrade kcp to a version that resolves this vulnerability.

    Fixed in 0.26.3
  3. Upgrade

    Upgrade kcp to a version that resolves this vulnerability.

    Fixed in 0.27.0
  4. Configuration

    Minimise the set of people with `apiexport/content` sub-resource access to `APIExport` resources.

    Kubernetes API / kcp RBAC (APIExport sub-resource access) Minimise access to apiexport/content sub-resource = only grant apiexport/content sub-resource access to the minimal set of people required for APIExport resources
  5. Configuration

    Be aware the fix must apply to all workspaces to be effective.

    kcp workspaces Coverage of fix across workspaces = apply fix to all workspaces
  6. Compensating control

    Filter incoming requests in a reverse proxy using similar logic as the authorizer added in the referenced pull request (kcp-dev/kcp PR 3338).

Event History

Mar 20, 2025
CVE Published
via MITRE·05:49 PM
Data Sourced
via MITRE·05:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:49 PM
Sep 15, 57206
Event
via FIRST·12:14 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-29922?

CVE-2025-29922 is considered a high-severity vulnerability due to unauthorized object creation or deletion via the APIExport VirtualWorkspace.

2

How do I fix CVE-2025-29922?

To fix CVE-2025-29922, upgrade your kcp software to version 0.26.3 or later.

3

What systems are affected by CVE-2025-29922?

CVE-2025-29922 affects kcp versions prior to 0.26.3 and versions between 0.26.3 and 0.27.0.

4

What impact does CVE-2025-29922 have on system security?

CVE-2025-29922 allows malicious users to manipulate objects within any arbitrary target workspace, compromising system integrity.

5

Is CVE-2025-29922 publicly disclosed?

Yes, CVE-2025-29922 has been publicly disclosed and details are available through various security advisories.

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