Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kcp-dev/kcp
  4. ›
  5. GHSA-q6hv-wcjr-wp8h

GHSA-q6hv-wcjr-wp8h: kcp is missing update validation allows arbitrary LogicalCluster status patches through initializingworkspaces Virtual Workspace

September 26, 2025

Because UPDATE validation is not being applied, it is possible for an actor with access to an instance of the initializingworkspaces virtual workspace 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.

References

  • github.com/advisories/GHSA-q6hv-wcjr-wp8h
  • github.com/kcp-dev/kcp
  • github.com/kcp-dev/kcp/commit/02134a2a51d33652ab288cccd7a13539b59c7584
  • github.com/kcp-dev/kcp/pull/3599
  • github.com/kcp-dev/kcp/releases/tag/v0.28.3
  • github.com/kcp-dev/kcp/security/advisories/GHSA-q6hv-wcjr-wp8h

Code Behaviors & Features

Detect and mitigate GHSA-q6hv-wcjr-wp8h with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.28.3

Fixed versions

  • 0.28.3

Solution

Upgrade to version 0.28.3 or above.

Weakness

  • CWE-285: Improper Authorization

Source file

go/github.com/kcp-dev/kcp/GHSA-q6hv-wcjr-wp8h.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 09 Oct 2025 12:19:11 +0000.