CVE-2022-24877
published critical CVSS 3.1 · 9.9Improper path handling in kustomization files allows path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fluxcd | — | flux2flux2 < v0.29.0 · kustomize-controller < v0.24.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fluxcd | flux2 | flux2 < v0.29.0 (affected)kustomize-controller < v0.24.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-36 CWE-36: Absolute Path Traversal
References
1Provider assertions
3GitHub_M · cna
Improper path handling in kustomization files allows path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 72bce5b1cbe1040dd6a2ea111997a6679f588f3ce81b6351d048d43e287bff79
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record