Vulnerabilities in pkg:golang/github.com/controlplaneio-fluxcd/flux-operator
PACKAGECVE-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.
pkg:golang/github.com/controlplaneio-fluxcd/flux-operator
Vulnerability advisories affecting package pkg:golang/github.com/controlplaneio-fluxcd/flux-operator. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4xh5-jcj2-ch8q | CVE-2026-23990 | MODERATE | Flux Operator Web UI Impersonation Bypass via Empty OIDC Claims |
CVE-2026-23990 at a Glance
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).
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.
Upgrade github.com/controlplaneio-fluxcd/flux-operator to 0.40.0
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
CVE-2026-23990 Affected Github.com/controlplaneio fluxcd/flux operator Versions
1 component(s)| 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?
Which Github.com/controlplaneio fluxcd/flux operator versions are affected?
What version fixes CVE-2026-23990?
Is github.com/controlplaneio-fluxcd/flux-operator affected?
What is the CVSS score of CVE-2026-23990?
What CWE is associated with CVE-2026-23990?
How can I check Go dependencies for CVE-2026-23990?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}