{"answers":{"affected":"3 open source packages ship an affected version, including github.com/projectcapsule/capsule. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30963 exists.","fix":"Upgrade github.com/projectcapsule/capsule to 0.13.0 or later.","what":"CVE-2026-30963 is a low-severity missing authorization vulnerability in projectcapsule capsule, published on 1 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-30963 and fix it if it is affected.\n\nWhat it is: CVE-2026-30963 is a low-severity missing authorization vulnerability in projectcapsule capsule, published on 1 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30963 exists.\n\nAffected packages and fixed versions:\n- github.com/projectcapsule/capsule (Go): affected all versions; fixed in 0.13.0\n- github.com/projectcapsule/capsule (Go): affected all versions; fixed in 0.13.0\n- github.com/projectcapsule/capsule (Go): affected all versions; fixed in 0.13.0\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-30963/ (Markdown: https://insights.sbomify.com/CVE-2026-30963/index.md)","id":"CVE-2026-30963","markdown":"https://insights.sbomify.com/CVE-2026-30963/index.md","name":"CVE-2026-30963","record":{"aliases":["GHSA-2ww6-hf35-mfjm","GO-2026-5043"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes multi-tenancy framework","requires_auth":"high_privilege","summary":"Tenant administrators can hijack namespaces by exploiting missing webhook validation on namespace subresources, leading to unauthorized privilege escalation and data modification.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"capsule","vendor":"projectcapsule"}],"cvss":{"score":3.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Capsule is a multi-tenancy and policy-based framework for Kubernetes. To defend against namespace hijacking achieved through update/patch operations on namespaces, Capsule uses a webhook to validate update requests targeting namespaces. However, in Kubernetes, the namespace/finalize and namespace/status subresource APIs can also modify various fields of a namespace, including the metadata field. Prior to version 0.13.0, the webhook does not define interception rules for these subresources. As a result, if a tenant administrator has permission to modify namespace/status or namespace/finalize, they can successfully perform namespace hijacking. Version 0.13.0 fixes the issue. Another mitigation is to add two subresources (namespaces and snamespaces/status with namespace/finalize within it) to the resources list in the ValidatingWebhookConfiguration rules.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Capsule Namespace Hijacking via subresource","id":"CVE-2026-30963","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation","id":"CVE-2026-30964"},"packages":[{"ecosystem":"Go","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcapsule/capsule","purl":null,"source":"GHSA-2ww6-hf35-mfjm"},{"ecosystem":"Go","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcapsule/capsule","purl":"pkg:golang/github.com/projectcapsule/capsule","source":"GHSA-2ww6-hf35-mfjm"},{"ecosystem":"Go","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/projectcapsule/capsule","purl":"pkg:golang/github.com/projectcapsule/capsule","source":"GO-2026-5043"}],"prev":{"headline":"Parse Server has a protected fields bypass via logical query operators","id":"CVE-2026-30962"},"products":["capsule"],"published":"2026-06-01","related":[{"cvss_score":8.5,"headline":"Capsule tenant owner with \"patch namespace\" permission can hijack system namespaces","id":"CVE-2024-39690","kev_date_added":null,"published":"2024-08-20"},{"cvss_score":6.9,"headline":"Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability","id":"CVE-2026-22872","kev_date_added":null,"published":"2026-06-01"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["projectcapsule"]},"summary":"Tenant administrators can hijack namespaces by exploiting missing webhook validation on namespace subresources, leading to unauthorized privilege escalation and data modification.","url":"https://insights.sbomify.com/CVE-2026-30963/"}