CVE-2025-29922 — Vulnerability in github.com/kcp-dev/kcp — CVE Details
kcp allows unauthorized creation and deletion of objects in arbitrary workspaces through APIExport Virtual Workspace
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.72%). Schedule for your next planned update.
Does your project use an affected github.com/kcp-dev/kcp version?
Paste your go.sum to check it for CVE-2025-29922 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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/contentsub-resource access toAPIExportresources. 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).
Advisory Timeline
- First published March 20, 2025 (616 days ago).
- Last revised March 25, 2025 — 5 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/kcp-dev/kcp@v0.26.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/kcp-dev/kcp Go · Affected: All versions | 0.26.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-285Improper AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2025-29922?
- kcp allows unauthorized creation and deletion of objects in arbitrary workspaces through APIExport Virtual Workspace. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
- How do I check if my project is affected by CVE-2025-29922?
- CVE-2025-29922 affects github.com/kcp-dev/kcp. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-29922 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 49.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-61682CRITICAL
kcp front-proxy does not strip inbound X-Remote-* identity headers, allowing any authenticated client to inject groups/warrants and impersonate system:masters in any workspace
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint
- CVE-2026-39429HIGH
kcp's cache server is accessible without authentication or authorization checks