Read the docs
TI-2025-43775 Aliases GHSA-q6hv-wcjr-wp8h

kcp is missing update validation allows arbitrary LogicalCluster status patches through…

Priority LOW 38CWE-285Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-285.

Summary

### Impact Because UPDATE validation is not being applied, it is possible for an actor with access to an instance of the [initializingworkspaces virtual workspace](https://docs.kcp.io/kcp/latest/concepts/workspaces/workspace-initialization/) to run arbitrary patches on the status field of `LogicalCluster` objects while the workspace is initializing. This allows to add or remove any initializers as well as changing the phase of a `LogicalCluster` (to "Ready" for example). As this effectively allows to skip certain initializers or the entire initialization phase, potential integrations with external systems such as billing or security could be affected. Their initializers could be skipped by a `WorkspaceType` that adds another initializer and grants permissions to the virtual workspace to a rogue or compromised entity. _Who is impacted?_ * Impacts other owners of `WorkspaceTypes` with initializers that are inherited by other `WorkspaceTypes`. * Impacts developers using the `virtual/framework` package to create their own virtualworkspaces if they are using UpdateFuncs in their custom storageWrappers. ### Details The issue occurs because the [rest.ValidateObjectUpdateFunc](https://github.com/kcp-dev/kcp/blob/cli/v0.28.1/pkg/virtual/framework/forwardingregistry/store.go#L174) is not being called within the DefaultDynamicDelegatedStoreFuncs. As a result, the intended status overwrite protection from initializers never gets called, allowing arbitrary logicalcluster status patches. ### Patches The problem has been patched in #3599 and is available in kcp 0.28.3 and higher. ### Workarounds - Further limit access to the `initialize` verb on `WorkspaceType` objects (see [documentation](https://docs.kcp.io/kcp/v0.28/concepts/workspaces/workspace-initialization/#enforcing-permissions-for-initializers) for details). - Only use trusted `WorkspaceType` objects. ### References See the pull request (#3599).

Why it matters now

Fix Fixed github.com/kcp-dev/kcp (Go): 0.28.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/kcp-dev/kcp (Go)before 0.28.30.28.3Patch availableGHSA-q6hv-wcjr-wp8h
  • github.com/kcp-dev/kcp (Go) Vendor— Affected before 0.28.3 Fixed in 0.28.3 Patch available GHSA-q6hv-wcjr-wp8h

Remediation

  • Fix · GHSA-q6hv-wcjr-wp8h github.com/kcp-dev/kcp (Go) Fixed in 0.28.3 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-q6hv-wcjr-wp8h

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences