Live threats

All CVEs / Fluxcd

CVE-2022-24877Fluxcd Flux2

High 8.8

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
Weakness (CWE)
CWE-22, CWE-36
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flux2.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
fluxcdflux2< 0.29.0
fluxcdkustomize-controller< 0.24.0

Official sources

References

Links published by the sources. Open them with care.