Read the docs
TI-2022-08687 Aliases CVE-2022-24877GHSA-j77r-2fxf-5jrw

Improper path handling in kustomization files allows path traversal

Priority MEDIUM 45CWE-22Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01187 68th percentileScored 2026-11-07
Fix Fixed github.com/fluxcd/kustomize-controller (Go): 0.24.0github.com/fluxcd/flux2 (Go): 0.29.0

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

VendorProductAffected versionsFixed inStatusSource
fluxcdflux2flux2 < v0.29.0; kustomize-controller < v0.24.0—No fix listedCNA
—github.com/fluxcd/kustomize-controller (Go)before 0.24.00.24.0Patch availableGHSA-j77r-2fxf-5jrw
—github.com/fluxcd/flux2 (Go)before 0.29.00.29.0Patch availableGHSA-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

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*before 0.29.0Vulnerablefluxcd
cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*before 0.24.0Vulnerablefluxcd
  • cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:* Versions before 0.29.0 Vulnerable ·fluxcd
  • cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:* Versions before 0.24.0 Vulnerable ·fluxcd

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

  1. 2026-10-02 Threatist record created from CVE-2022-24877
  2. 2026-10-03 Alias added: GHSA-j77r-2fxf-5jrw

References

  • 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