Service accounts can see namespaces of other tenants in capsule-proxy
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-46254
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 23:45 UTC · Revision 1
Source evidence
Service accounts can see namespaces of other tenants in capsule-proxy
core-osv · Original sourcePublished 6 Nov 2023, 18:34 UTC
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.
osv:CVE-2023-46254
Complete source record
{
"id": "80a649464bb175f9b4f6f5ef67b0adf460d5beefce9e4bc0e8e911476faaa7e9",
"url": "https://osv.dev/vulnerability/CVE-2023-46254",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Service accounts can see namespaces of other tenants in capsule-proxy",
"summary": "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.",
"evidence": "osv:CVE-2023-46254",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-46254",
"aliases": [
"CVE-2023-46254",
"GHSA-6758-979h-249x"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/projectcapsule/capsule",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "87e5d9b9c7911afbfe4981bb2eed36e06a540b89"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:clastix:capsule:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.4.5"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/projectcapsule/capsule-proxy",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f7bf2ca6221fac08663fe602129bf2c136f3c57d"
},
{
"fixed": "615202f7b02eaec7681336bd63daed1f39ae00c5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:clastix:capsule:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.4.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:clastix:capsule-proxy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.4.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "615202f7b02eaec7681336bd63daed1f39ae00c5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"helm-v0.4.4",
"v0.3.2",
"helm-v0.4.3",
"helm-v0.4.2",
"v0.3.1",
"helm-v0.4.1",
"v0.3.0",
"helm-v0.4.0",
"helm-v0.3.6",
"helm-v0.3.5",
"v0.2.1",
"helm-v0.3.1",
"helm-v0.3.4",
"helm-v0.3.3",
"helm-v0.3.2",
"v0.2.0",
"helm-v0.3.0",
"helm-v0.2.0",
"v0.1.3",
"helm-v0.1.12",
"v0.1.2",
"helm-v0.1.11",
"helm-v0.1.10",
"v0.1.2-rc1",
"v0.1.2-rc0",
"helm-v0.1.8",
"helm-v0.1.7",
"helm-v0.1.6",
"v0.1.1",
"helm-v0.1.4",
"v0.1.1-rc1",
"helm-v0.1.3",
"helm-v0.1.2",
"helm-v0.1.1",
"v0.1.1-rc0",
"v0.1.0",
"helm-v0.1.0",
"v0.1.0-rc6",
"v0.1.0-rc5",
"v0.1.0-rc4",
"v0.1.0-rc3",
"v0.1.0-rc2",
"v0.1.0-rc1",
"v0.0.5",
"v0.0.5-rc2",
"v0.0.5-rc1",
"v0.0.4",
"v0.0.3",
"v0.0.2",
"0.2.0-rc1",
"v0.0.1",
"0.0.1",
"helm-v0.4.9",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"helm-v0.3.7",
"v0.3.3",
"v0.3.1-rc0",
"v0.3.0-rc2",
"v0.3.0-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46254.json"
}
}
],
"modified": "2026-10-28T02:30:32.258541249Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46254.json",
"https://github.com/projectcapsule/capsule-proxy/security/advisories/GHSA-6758-979h-249x",
"https://nvd.nist.gov/vuln/detail/CVE-2023-46254",
"https://github.com/projectcapsule/capsule-proxy/commit/615202f7b02eaec7681336bd63daed1f39ae00c5"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46254.json"
}
},
"related_cves": [
{
"value": "CVE-2023-46254",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499284,
"published_at": "2023-11-06T18:34:13.555+00:00"
}