# CVE-2022-36035: Flux CLI Workload Injection

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2022-08-31T14:55:09.000Z
- Modified: 2026-09-08T08:45:12.608Z
- Also known as: GHSA-xwf3-6rgv-939r, BIT-FLUX-2022-36035, GO-2022-0960
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy. Flux CLI allows users to deploy Flux components into a Kubernetes cluster via command-line. The vulnerability allows other applications to replace the Flux deployment information with arbitrary content which is deployed into the target Kubernetes cluster instead. The vulnerability is due to the improper handling of user-supplied input, which results in a path traversal that can be controlled by the attacker. Users sharing the same shell between other applications and the Flux CLI commands could be affected by this vulnerability. In some scenarios no errors may be presented, which may cause end users not to realize that something is amiss. A safe workaround is to execute Flux CLI in ephemeral and isolated shell environments, which can ensure no persistent values exist from previous processes. However, upgrading to the latest version of the CLI is still the recommended mitigation strategy.

(As written by CVE List.)

## Affected

- fluxcd flux2: < 0.32.0, >= 0.21.0; from 0.21.0 before 0.32.0
- github.com/fluxcd/flux2 (Go): from 0.21.0 before 0.32.0
- flux (Bitnami): from 0.21.0 before 0.32.0

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/fluxcd/flux2/security/advisories/GHSA-xwf3-6rgv-939r> (advisory, mitigation, third-party-advisory, web)
- <https://github.com/fluxcd/flux2/releases/tag/v0.32.0> (advisory, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36035> (advisory, web)
- <https://github.com/fluxcd/flux2> (package)

## Sources

- CVE List: [CVE-2022-36035](https://www.cve.org/CVERecord?id=CVE-2022-36035), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-xwf3-6rgv-939r](https://github.com/advisories/GHSA-xwf3-6rgv-939r), CC-BY-4.0, modified 2025-12-02
- Go Vulnerability Database: [GO-2022-0960](https://pkg.go.dev/vuln/GO-2022-0960), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-36035](https://nvd.nist.gov/vuln/detail/CVE-2022-36035), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-FLUX-2022-36035](https://osv.dev/vulnerability/BIT-FLUX-2022-36035), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-36035 · Whole record: https://cve.day/CVE-2022-36035.json · Rebuilt by cve.day 2026-11-25T22:58:14.568Z
