CVE-2022-24877Fluxcd Flux2
High 8.8
Follow: this CVE · Fluxcd · Fluxcd Flux2 We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- Yes
- Published
- May 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Flux2.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/fluxcd/flux2 |
< 0.29.0 |
0.29.0 |
go get github.com/fluxcd/flux2@v0.29.0 |
| Go | github.com/fluxcd/flux2 |
< 0.29.0 |
0.29.0 |
go get github.com/fluxcd/flux2@v0.29.0 |
| Go | github.com/fluxcd/kustomize-controller |
< 0.24.0 |
0.24.0 |
go get github.com/fluxcd/kustomize-controller@v0.24.0 |
| Go | github.com/fluxcd/kustomize-controller |
< 0.24.0 |
0.24.0 |
go get github.com/fluxcd/kustomize-controller@v0.24.0 |
Per OSV / GitHub Advisories (GHSA-j77r-2fxf-5jrw, GO-2022-0447). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fluxcd | flux2 | < 0.29.0 |
| fluxcd | kustomize-controller | < 0.24.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory