Improper path handling in kustomization files allows path traversal
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fluxcd | flux2 | flux2 < v0.29.0; kustomize-controller < v0.24.0 | — | No fix listed | CNA |
| — | github.com/fluxcd/kustomize-controller (Go) | before 0.24.0 | 0.24.0 | Patch available | GHSA-j77r-2fxf-5jrw |
| — | github.com/fluxcd/flux2 (Go) | before 0.29.0 | 0.29.0 | Patch available | GHSA-j77r-2fxf-5jrw |
- flux2 Vendorfluxcd Affected flux2 < v0.29.0; kustomize-controller < v0.24.0 Fixed in — No fix listed CNA
- github.com/fluxcd/kustomize-controller (Go) Vendor— Affected before 0.24.0 Fixed in 0.24.0 Patch available GHSA-j77r-2fxf-5jrw
- github.com/fluxcd/flux2 (Go) Vendor— Affected before 0.29.0 Fixed in 0.29.0 Patch available GHSA-j77r-2fxf-5jrw
Remediation
- Fix · GHSA-j77r-2fxf-5jrw github.com/fluxcd/kustomize-controller (Go) Fixed in 0.24.0 Advisory →
- Fix · GHSA-j77r-2fxf-5jrw github.com/fluxcd/flux2 (Go) Fixed in 0.29.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24877
- 2026-10-03 Alias added: GHSA-j77r-2fxf-5jrw
References
Advisory 2
More fluxcd Flux2 vulnerabilities
- TI-2022-08630 Improper kubeconfig validation allows arbitrary code execution CVSS 3.1CRITICAL 9.9
- TI-2022-16473 Flux2 Helm Controller denial of service CVSS 3.1HIGH 7.7
- TI-2022-16460 Flux CLI Workload Injection CVSS 3.1HIGH 7.8
- TI-2022-08688 Improper path handling in Kustomization files allows for denial of service CVSS 3.1HIGH 7.7
- TI-2022-18648 Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration CVSS 3.1MEDIUM 5.0
Sources
- CVE-2022-24877 · CVE Program
- CVE-2022-24877 · NVD
- FIRST EPSS
- GHSA-j77r-2fxf-5jrw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences