{"cve":"CVE-2022-24877","nvd":{"published":"2022-05-06T01:15:09.387","modified":"2026-06-17T04:32:42.773","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22","CWE-36"],"references":["https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw","https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw"],"products":["fluxcd:flux2","fluxcd:kustomize-controller"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2022-24877","score":0.01187,"percentile":0.67895,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j77r-2fxf-5jrw","url":"https://osv.dev/vulnerability/GHSA-j77r-2fxf-5jrw","summary":"Improper path handling in kustomization files allows path traversal","modified":"2026-09-10T03:49:38.809629430Z","packages":[{"ecosystem":"Go","name":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":["<0.24.0"],"fixed":["0.24.0"]},{"ecosystem":"Go","name":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":["<0.29.0"],"fixed":["0.29.0"]}]},{"id":"GO-2022-0447","url":"https://osv.dev/vulnerability/GO-2022-0447","summary":"Improper path handling in kustomization files allows path traversal in github.com/fluxcd/flux2","modified":"2026-02-04T03:57:17.744517Z","packages":[{"ecosystem":"Go","name":"github.com/fluxcd/flux2","purl":"pkg:golang/github.com/fluxcd/flux2","ranges":["<0.29.0"],"fixed":["0.29.0"]},{"ecosystem":"Go","name":"github.com/fluxcd/kustomize-controller","purl":"pkg:golang/github.com/fluxcd/kustomize-controller","ranges":["<0.24.0"],"fixed":["0.24.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}