CVE-2022-24877: Fluxcd FLUX2
High severity, CVSS 8.8. EPSS: 1.2% probability of exploitation activity in the next 30 days.
Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious `kustomization.yaml` allows an attacker to expose sensitive data from the controller’s pod filesystem and possibly privilege escalation in multi-tenancy deployments. Workarounds include automated tooling in the user's CI/CD pipeline to validate `kustomization.yaml` files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Fluxcd FLUX2, before 0.29.0: fixed in 0.29.0
- Fluxcd Kustomize-Controller, before 0.24.0: fixed in 0.24.0
Affected products
- Fluxcd FLUX2: before 0.29.0 (fixed in 0.29.0)
- Fluxcd Kustomize-Controller: before 0.24.0 (fixed in 0.24.0)
Affected packages
Published 2022-05-06. Last modified 2026-06-17.