GHSA-vvmq-fwmg-2gjc · Severity: critical · Ecosystem: go — Improper kubeconfig validation allows arbitrary code execution
Flux2 is an open and extensible continuous delivery solution for Kubernetes. Flux2 versions between 0.1.0 and 0.29.0, helm-controller 0.1.0 to v0.19.0, and kustomize-controller 0.1.0 to v0.23.0 are vulnerable to Code Injection via malicious Kubeconfig. In multi-tenancy deployments this can also lead to privilege escalation if the controller's service account has elevated permissions. Workarounds include disabling functionality via Validating Admission webhooks by restricting users from setting the `spec.kubeConfig` field in Flux `Kustomization` and `HelmRelease` objects. Additional mitigations include applying restrictive AppArmor and SELinux profiles on the controller’s pod to limit what binaries can be executed. This vulnerability is fixed in kustomize-controller v0.23.0 and helm-controller v0.19.0, both included in flux2 v0.29.0
Conclusion & alert: CVE-2022-24817 is rated Moderate Risk (60.8/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.02%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.36% | 1.02% | +0.66% |
| 2 | 2025-05-18 | 0.30% | 0.36% | +0.06% |
| 3 | 2025-05-17 | — | 0.30% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.9 | 3.1 | CRITICAL |
|
3.1 | 6.0 | [email protected] |
| 9.9 | 3.1 | CRITICAL |
|
3.1 | 6.0 | [email protected] |
| 6.5 | 2.0 | MEDIUM |
|
8.0 | 6.4 | [email protected] |
GHSA-vvmq-fwmg-2gjc · Severity: critical · Ecosystem: go — Improper kubeconfig validation allows arbitrary code execution
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| fluxcd | flux2 | >= 0.1.0, < 0.29.0 | cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:* |
| fluxcd | helm-controller | >= 0.2.0, < 0.19.0 | cpe:2.3:a:fluxcd:helm-controller:*:*:*:*:*:*:*:* |
| fluxcd | kustomize-controller | >= 0.1.0, < 0.23.0 | cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/fluxcd/flux2/security/advisories/GHSA-vvmq-fwmg-2gjc | Patch Third Party Advisory |