{"answers":{"affected":"5 open source packages ship an affected version, including github.com/kcp-dev/kcp.","exploited":"There is no known exploitation of CVE-2026-61682 in the wild and no public exploit code.","fix":"Upgrade github.com/kcp-dev/kcp to a fixed version for your release line: 0.31.4 or 0.32.2.","what":"CVE-2026-61682 is a critical authentication bypass vulnerability in kcp-dev kcp, published on 18 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61682 and fix it if it is affected.\n\nWhat it is: CVE-2026-61682 is a critical authentication bypass vulnerability in kcp-dev kcp, published on 18 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-61682 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kcp-dev/kcp (Go): affected all versions; fixed in 0.31.4, 0.32.2\n- github.com/kcp-dev/kcp (Go): affected all versions; fixed in 0.31.4\n- github.com/kcp-dev/kcp (Go): affected all versions; fixed in 0.31.4\n- github.com/kcp-dev/kcp (Go): affected from 0.32.0; fixed in 0.32.2\n- github.com/kcp-dev/kcp (Go): affected from 0.32.0; fixed in 0.32.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61682/ (Markdown: https://insights.sbomify.com/CVE-2026-61682/index.md)","id":"CVE-2026-61682","markdown":"https://insights.sbomify.com/CVE-2026-61682/index.md","name":"CVE-2026-61682","record":{"aliases":["GHSA-c8w2-fgvx-vhv4","GO-2026-6517"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes-like control plane","requires_auth":"low_privilege","summary":"Authenticated clients can inject identity headers to impersonate system:masters, bypassing authorization to read, write, or delete resources across workspaces.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"},{"id":"CWE-302","name":"Authentication Bypass by Assumed-Immutable Data"},{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"kcp is a Kubernetes-like control plane for form-factors and use-cases beyond Kubernetes and container workloads. Prior to 0.31.4 and 0.32.2, the kcp front-proxy does not remove inbound X-Remote-User, X-Remote-Group, or X-Remote-Extra-* identity headers before forwarding requests to shards. Any authenticated tenant can inject X-Remote-Group: system:masters, authorization.kcp.io/warrant, authentication.kcp.io/scopes, or a group used for per-workspace required-group gating, and the shard trusts these values as authenticated identity assertions. This allows cross-workspace impersonation, authorization bypass, and arbitrary reading, writing, or deletion of resources, secrets, RBAC data, APIExports, APIBindings, and LogicalClusters. This issue is fixed in versions 0.31.4 and 0.32.2.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"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","id":"CVE-2026-61682","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":5,"n_references":5,"next":{"headline":"FastGPT: Unauthenticated cross-tenant data access via forgeable plugin-invoke JWT (default INVOKE_TOKEN_SECRET='token')","id":"CVE-2026-61684"},"packages":[{"ecosystem":"Go","fixed":["0.31.4","0.32.2"],"introduced":["0","0.32.0"],"last_affected":[],"package":"github.com/kcp-dev/kcp","purl":"pkg:golang/github.com/kcp-dev/kcp","source":"GO-2026-6517"},{"ecosystem":"Go","fixed":["0.31.4"],"introduced":["0"],"last_affected":[],"package":"github.com/kcp-dev/kcp","purl":null,"source":"GHSA-c8w2-fgvx-vhv4"},{"ecosystem":"Go","fixed":["0.31.4"],"introduced":["0"],"last_affected":[],"package":"github.com/kcp-dev/kcp","purl":"pkg:golang/github.com/kcp-dev/kcp","source":"GHSA-c8w2-fgvx-vhv4"},{"ecosystem":"Go","fixed":["0.32.2"],"introduced":["0.32.0"],"last_affected":[],"package":"github.com/kcp-dev/kcp","purl":null,"source":"GHSA-c8w2-fgvx-vhv4"},{"ecosystem":"Go","fixed":["0.32.2"],"introduced":["0.32.0"],"last_affected":[],"package":"github.com/kcp-dev/kcp","purl":"pkg:golang/github.com/kcp-dev/kcp","source":"GHSA-c8w2-fgvx-vhv4"}],"prev":{"headline":"Hatchet: SSRF via Unsigned UnsubscribeURL in SNS UnsubscribeConfirmation Handler","id":"CVE-2026-61681"},"products":["kcp"],"published":"2026-09-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-21","vendors":["kcp-dev"]},"summary":"Authenticated clients can inject identity headers to impersonate system:masters, bypassing authorization to read, write, or delete resources across workspaces.","url":"https://insights.sbomify.com/CVE-2026-61682/"}