# CVE-2022-35975: Improper object validation allows for arbitrary code execution in GitOps Tools Extension for VSCode

- Severity: Critical 9.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/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): 1.41%, higher than 73% of CVEs (2026-12-01)
- Published: 2022-08-18T17:55:08.000Z
- Modified: 2026-06-17T04:52:38.153Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

The GitOps Tools Extension for VSCode can make it easier to manage Flux objects. A specially crafted Flux object may allow for remote code execution in the machine running the extension, in the context of the user that is running VSCode. Users using the VSCode extension to manage clusters that are shared amongst other users are affected by this issue. The only safe mitigation is to update to the latest version of the extension.

(As written by CVE List.)

## Affected

- weaveworks vscode-gitops-tools: >= 0.7.0, <= 0.20.2
- weave gitops_tools: from 0.7.0 up to 0.20.2

## Every score

- GitHub_M: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/weaveworks/vscode-gitops-tools/security/advisories/GHSA-873x-829r-gxcp> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-35975](https://www.cve.org/CVERecord?id=CVE-2022-35975), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-35975](https://nvd.nist.gov/vuln/detail/CVE-2022-35975), Public domain, modified 2026-06-17

---

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