# CVE-2023-46254: Service accounts can see namespaces of other tenants in capsule-proxy

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2023-11-06T18:34:13.555Z
- Modified: 2026-09-10T03:50:04.088Z
- Also known as: GHSA-6758-979h-249x
- Weaknesses: CWE-200
- Assigned by: GitHub_M

## Description

capsule-proxy is a reverse proxy for Capsule kubernetes multi-tenancy framework. A bug in the RoleBinding reflector used by `capsule-proxy` gives ServiceAccount tenant owners the right to list Namespaces of other tenants backed by the same owner kind and name. For example consider two tenants `solar` and `wind`. Tenant `solar`, owned by a ServiceAccount named `tenant-owner` in the Namespace `solar`. Tenant `wind`, owned by a ServiceAccount named `tenant-owner` in the Namespace `wind`. The Tenant owner `solar` would be able to list the namespaces of the Tenant `wind` and vice-versa, although this is not correct. The bug introduces an exfiltration vulnerability since allows the listing of Namespace resources of other Tenants, although just in some specific conditions: 1. `capsule-proxy` runs with the `--disable-caching=false` (default value: `false`) and 2. Tenant owners are ServiceAccount, with the same resource name, but in different Namespaces. This vulnerability doesn't allow any privilege escalation on the outer tenant Namespace-scoped resources, since the Kubernetes RBAC is enforcing this. This issue has been addressed in version 0.4.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- projectcapsule capsule-proxy: < 0.4.5
- github.com/projectcapsule/capsule (Go): before 0.4.5
- github.com/projectcapsule/capsule-proxy (Go): before 0.4.5
- clastix capsule: before 0.4.5
- clastix capsule-proxy: before 0.4.5

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/projectcapsule/capsule-proxy/security/advisories/GHSA-6758-979h-249x> (vendor-advisory, web)
- <https://github.com/projectcapsule/capsule-proxy/commit/615202f7b02eaec7681336bd63daed1f39ae00c5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-46254> (advisory)
- <https://github.com/projectcapsule/capsule-proxy> (package)
- <https://github.com/projectcapsule/capsule-proxy/releases/tag/v0.4.5> (web)

## Sources

- CVE List: [CVE-2023-46254](https://www.cve.org/CVERecord?id=CVE-2023-46254), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-6758-979h-249x](https://github.com/advisories/GHSA-6758-979h-249x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-46254](https://nvd.nist.gov/vuln/detail/CVE-2023-46254), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46254 · Whole record: https://cve.day/CVE-2023-46254.json · Rebuilt by cve.day 2026-11-25T22:58:30.082Z
