Flux Operator Web UI Impersonation Bypass via Empty OIDC Claims
The Flux Operator is a Kubernetes CRD controller that manages the lifecycle of CNCF Flux CD and the ControlPlane enterprise distribution. Starting in version 0.36.0 and prior to version 0.40.0, a privilege escalation vulnerability exists in the Flux Operator Web UI authentication code that allows an attacker to bypass Kubernetes RBAC impersonation and execute API requests with the operator's service account privileges. In order to be vulnerable, cluster admins must configure the Flux Operator with an OIDC provider that issues tokens lacking the expected claims (e.g., `email`, `groups`), or configure custom CEL expressions that can evaluate to empty values. After OIDC token claims are processed through CEL expressions, there is no validation that the resulting `username` and `groups` values are non-empty. When both values are empty, the Kubernetes client-go library does not add impersonation headers to API requests, causing them to be executed with the flux-operator service account's credentials instead of the authenticated user's limited permissions. This can result in privilege escalation, data exposure, and/or information disclosure. Version 0.40.0 patches the issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-23990
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:45 UTC · Revision 1
Source evidence
Flux Operator Web UI Impersonation Bypass via Empty OIDC Claims
core-osv · Original sourcePublished 21 Jan 2026, 22:25 UTC
The Flux Operator is a Kubernetes CRD controller that manages the lifecycle of CNCF Flux CD and the ControlPlane enterprise distribution. Starting in version 0.36.0 and prior to version 0.40.0, a privilege escalation vulnerability exists in the Flux Operator Web UI authentication code that allows an attacker to bypass Kubernetes RBAC impersonation and execute API requests with the operator's service account privileges. In order to be vulnerable, cluster admins must configure the Flux Operator with an OIDC provider that issues tokens lacking the expected claims (e.g., `email`, `groups`), or configure custom CEL expressions that can evaluate to empty values. After OIDC token claims are processed through CEL expressions, there is no validation that the resulting `username` and `groups` values are non-empty. When both values are empty, the Kubernetes client-go library does not add impersonation headers to API requests, causing them to be executed with the flux-operator service account's credentials instead of the authenticated user's limited permissions. This can result in privilege escalation, data exposure, and/or information disclosure. Version 0.40.0 patches the issue.
osv:CVE-2026-23990
Complete source record
{
"id": "ecb94af5ffe6a71a6a9cf4857cbf560fa696f5dcb719d97b52191768ca499755",
"url": "https://osv.dev/vulnerability/CVE-2026-23990",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Flux Operator Web UI Impersonation Bypass via Empty OIDC Claims",
"summary": "The Flux Operator is a Kubernetes CRD controller that manages the lifecycle of CNCF Flux CD and the ControlPlane enterprise distribution. Starting in version 0.36.0 and prior to version 0.40.0, a privilege escalation vulnerability exists in the Flux Operator Web UI authentication code that allows an attacker to bypass Kubernetes RBAC impersonation and execute API requests with the operator's service account privileges. In order to be vulnerable, cluster admins must configure the Flux Operator with an OIDC provider that issues tokens lacking the expected claims (e.g., `email`, `groups`), or configure custom CEL expressions that can evaluate to empty values. After OIDC token claims are processed through CEL expressions, there is no validation that the resulting `username` and `groups` values are non-empty. When both values are empty, the Kubernetes client-go library does not add impersonation headers to API requests, causing them to be executed with the flux-operator service account's credentials instead of the authenticated user's limited permissions. This can result in privilege escalation, data exposure, and/or information disclosure. Version 0.40.0 patches the issue.",
"evidence": "osv:CVE-2026-23990",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-23990",
"aliases": [
"CVE-2026-23990",
"GHSA-4xh5-jcj2-ch8q",
"GO-2026-4351"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/controlplaneio-fluxcd/flux-operator",
"type": "GIT",
"events": [
{
"introduced": "fe04687bb75f0fcc71c8ba2f601af4e8ffcb02fe"
},
{
"fixed": "2c3fbeb1f17cbed7ccde59d059e0206bb862fdc7"
},
{
"fixed": "084540424f6de8ba5d88fb1fd1e8472ba29afd7e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:control-plane:flux_operator:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.36.0"
},
{
"fixed": "0.40.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "084540424f6de8ba5d88fb1fd1e8472ba29afd7e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "2c3fbeb1f17cbed7ccde59d059e0206bb862fdc7"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.40.0"
}
]
}
}
],
"versions": [
"v0.39.0",
"v0.38.1",
"v0.38.0",
"v0.37.1",
"v0.37.0",
"v0.36.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23990.json"
}
}
],
"modified": "2026-10-28T02:30:26.457920269Z",
"provider": "osv",
"references": [
"https://github.com/controlplaneio-fluxcd/flux-operator/releases/tag/v0.40.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23990.json",
"https://github.com/controlplaneio-fluxcd/flux-operator/security/advisories/GHSA-4xh5-jcj2-ch8q",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23990",
"https://github.com/controlplaneio-fluxcd/flux-operator/commit/084540424f6de8ba5d88fb1fd1e8472ba29afd7e",
"https://github.com/controlplaneio-fluxcd/flux-operator/pull/610"
],
"provider_metadata": {
"cwe_ids": [
"CWE-269",
"CWE-862"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23990.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23990",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492803,
"published_at": "2026-01-21T22:25:57.025+00:00"
}