{"cve":"CVE-2022-46167","nvd":{"published":"2022-12-02T19:15:11.097","modified":"2026-06-17T05:11:20.877","status":"Modified","description":"Capsule is a multi-tenancy and policy-based framework for Kubernetes. Prior to version 0.1.3, a ServiceAccount deployed in a Tenant Namespace, when granted with `PATCH` capabilities on its own Namespace, is able to edit it and remove the Owner Reference, breaking the reconciliation of the Capsule Operator and removing all the enforcement like Pod Security annotations, Network Policies, Limit Range and Resource Quota items. An attacker could detach the Namespace from a Tenant that is forbidding starting privileged Pods using the Pod Security labels by removing the OwnerReference, removing the enforcement labels, and being able to start privileged containers that would be able to start a generic Kubernetes privilege escalation. Patches have been released for version 0.1.3. No known workarounds are available.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-863"],"references":["https://github.com/clastix/capsule/commit/1df430e71be8c4778c82eca3459978ad7d0b4b7b","https://github.com/clastix/capsule/commit/75525ac19254b0c5111e34d7985e2be7bc8b1ac1","https://github.com/clastix/capsule/releases/tag/v0.1.3","https://github.com/clastix/capsule/security/advisories/GHSA-x45c-cvp8-q4fm","https://github.com/clastix/capsule/commit/1df430e71be8c4778c82eca3459978ad7d0b4b7b"],"products":["clastix:capsule"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-46167","score":0.00943,"percentile":0.61032,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x45c-cvp8-q4fm","url":"https://osv.dev/vulnerability/GHSA-x45c-cvp8-q4fm","summary":"Capsule vulnerable to privilege escalation by ServiceAccount deployed in a Tenant Namespace","modified":"2024-08-21T16:28:50.585029Z","packages":[{"ecosystem":"Go","name":"github.com/clastix/capsule","purl":"pkg:golang/github.com/clastix/capsule","ranges":["<0.1.3"],"fixed":["0.1.3"]}]},{"id":"GO-2022-1135","url":"https://osv.dev/vulnerability/GO-2022-1135","summary":"Capsule vulnerable to privilege escalation by ServiceAccount deployed in a Tenant Namespace in github.com/clastix/capsule","modified":"2026-03-03T04:51:15.479809Z","packages":[{"ecosystem":"Go","name":"github.com/clastix/capsule","purl":"pkg:golang/github.com/clastix/capsule","ranges":["<0.1.3"],"fixed":["0.1.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}