CVE-2026-23990: Github.com/controlplaneio fluxcd/flux operator Flux Operator Web UI Impersonation Vulnerability

MODERATE
Advisory Identifier: GHSA-4xh5-jcj2-ch8q
CVSS 5.3
CWE-269 CWE-862
Published
Advisory Summary

CVE-2026-23990 is a MODERATE (CVSS 5.3) flux operator web ui impersonation vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/controlplaneio fluxcd/flux operator libraries in the Go ecosystem. The issue involves flux operator web ui impersonation bypass via empty oidc claims. Remediation is available by upgrading affected packages to version 0.40.0.

CVE-2026-23990 at a Glance

CVE Identifier CVE-2026-23990
GHSA Identifier GHSA-4xh5-jcj2-ch8q
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-269: Improper Privilege Management
Affected Product Github.com/controlplaneio fluxcd/flux operator
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-23990

To remediate this vulnerability, upgrade all affected Github.com/controlplaneio fluxcd/flux operator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/controlplaneio-fluxcd/flux-operator fixed: 0.40.0
Upgrade github.com/controlplaneio-fluxcd/flux-operator to 0.40.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/controlplaneio-fluxcd/flux-operator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-23990, inspect your project dependencies for Github.com/controlplaneio fluxcd/flux operator:

inspect dependencies for github.com/controlplaneio-fluxcd/flux-operator

Analyze the terminal output to locate any version of Github.com/controlplaneio fluxcd/flux operator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.40.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/controlplaneio fluxcd/flux operator, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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. 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. ### Impact - **Privilege Escalation**: Any authenticated user can escalate to operator-level read permissions and perform suspend/resume/reconcile actions - **Data Exposure**: Unauthorized read access to Flux resources across all namespaces, bypassing RBAC restrictions - **Information Disclosure**: View sensitive GitOps pipeline configurations, source URLs, and deployment status across the entire cluster ### Attack Scenario **Prerequisite**: 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. 1. Cluster admin configures OIDC authentication with a provider that does not include `email` or `groups` claims in tokens 2. User authenticates with a valid token from that provider 3. The default CEL expressions evaluate to empty values: - Username: `has(claims.email) ? claims.email : ''` → `""` - Groups: `has(claims.groups) ? claims.groups : []` → `[]` 4. Authentication succeeds (token signature is valid) 5. A userClient is created with empty impersonation config 6. All subsequent API requests bypass impersonation and execute as the flux-operator service account 7. User gains operator-level read access across all namespaces ### Patches This vulnerability was fixed in Flux Operator v0.40.0. ### Workarounds The workaround is to make the `email` and `groups` claims required in the web config `impersonation` section. Example config: ```yaml apiVersion: web.fluxcd.controlplane.io/v1 kind: Config spec: baseURL: https://flux.example.com authentication: type: OAuth2 oauth2: provider: OIDC clientID: "<redacted>" clientSecret: "<redacted>" issuerURL: "https://login.microsoftonline.com/<redacted>/v2.0" scopes: [openid, profile, email, offline_access] impersonation: username: claims.email groups: claims.groups ``` ### References See the Pull Request fixing this vulnerability https://github.com/controlplaneio-fluxcd/flux-operator/pull/610 ### Credits This vulnerability was discovered by the Flux Operator maintainers during a debugging session with end-users.

CVE-2026-23990 Affected Github.com/controlplaneio fluxcd/flux operator Versions

1 component(s)
Fixed Versions:
0.40.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/controlplaneio-fluxcd/flux-operator
Go
≥ 0.36.0
< 0.40.0
0.40.0

References

Frequently Asked Questions

What is CVE-2026-23990?
CVE-2026-23990 is a security vulnerability in Github.com/controlplaneio fluxcd/flux operator involving Flux Operator Web UI Impersonation Bypass via Empty OIDC Claims under CWE-269: Improper Privilege Management.
Which Github.com/controlplaneio fluxcd/flux operator versions are affected?
Affected versions include releases prior to 0.40.0 across affected packages: github.com/controlplaneio-fluxcd/flux-operator.
What version fixes CVE-2026-23990?
Upgrading to 0.40.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/controlplaneio-fluxcd/flux-operator affected?
Yes, github.com/controlplaneio-fluxcd/flux-operator is affected in releases prior to 0.40.0. Upgrade your dependency to 0.40.0 or later.
What is the CVSS score of CVE-2026-23990?
CVE-2026-23990 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-23990?
CVE-2026-23990 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Go dependencies for CVE-2026-23990?
Run the dependency tree command: 'inspect dependencies for github.com/controlplaneio-fluxcd/flux-operator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4xh5-jcj2-ch8q",
  "modified" : "2026-01-22T15:40:22Z",
  "published" : "2026-01-21T22:23:33Z",
  "aliases" : [ "CVE-2026-23990" ],
  "summary" : "Flux Operator Web UI Impersonation Bypass via Empty OIDC Claims",
  "details" : "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.\n\nAfter 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.\n\n### Impact\n\n- **Privilege Escalation**: Any authenticated user can escalate to operator-level read permissions and perform suspend/resume/reconcile actions\n- **Data Exposure**: Unauthorized read access to Flux resources across all namespaces, bypassing RBAC restrictions\n- **Information Disclosure**: View sensitive GitOps pipeline configurations, source URLs, and deployment status across the entire cluster\n\n### Attack Scenario\n\n**Prerequisite**: 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.\n\n1. Cluster admin configures OIDC authentication with a provider that does not include `email` or `groups` claims in tokens\n2. User authenticates with a valid token from that provider\n3. The default CEL expressions evaluate to empty values:\n   - Username: `has(claims.email) ? claims.email : ''` → `\"\"`\n   - Groups: `has(claims.groups) ? claims.groups : []` → `[]`\n4. Authentication succeeds (token signature is valid)\n5. A userClient is created with empty impersonation config\n6. All subsequent API requests bypass impersonation and execute as the flux-operator service account\n7. User gains operator-level read access across all namespaces\n\n### Patches\n\nThis vulnerability was fixed in Flux Operator v0.40.0.\n\n### Workarounds\n\nThe workaround is to make the `email` and `groups` claims required in the web config `impersonation` section.\n\nExample config:\n\n```yaml\napiVersion: web.fluxcd.controlplane.io/v1\nkind: Config\nspec:\n  baseURL: https://flux.example.com\n  authentication:\n    type: OAuth2\n    oauth2:\n      provider: OIDC\n      clientID: \"<redacted>\"\n      clientSecret: \"<redacted>\"\n      issuerURL: \"https://login.microsoftonline.com/<redacted>/v2.0\"\n      scopes: [openid, profile, email, offline_access]\n      impersonation:\n        username: claims.email\n        groups: claims.groups\n```\n\n### References\n\nSee the Pull Request fixing this vulnerability https://github.com/controlplaneio-fluxcd/flux-operator/pull/610 \n\n### Credits\n\nThis vulnerability was discovered by the Flux Operator maintainers during a debugging session with end-users.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/controlplaneio-fluxcd/flux-operator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.36.0"
      }, {
        "fixed" : "0.40.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/controlplaneio-fluxcd/flux-operator/security/advisories/GHSA-4xh5-jcj2-ch8q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23990"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/controlplaneio-fluxcd/flux-operator/pull/610"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/controlplaneio-fluxcd/flux-operator/commit/084540424f6de8ba5d88fb1fd1e8472ba29afd7e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/controlplaneio-fluxcd/flux-operator"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/controlplaneio-fluxcd/flux-operator/releases/tag/v0.40.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-21T22:23:33Z",
    "nvd_published_at" : "2026-01-21T23:15:52Z"
  }
}