CVE-2021-22539: Google Bazel

High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.

An attacker can place a crafted JSON config file into the project folder pointing to a custom executable. VScode-bazel allows the workspace path to lint *.bzl files to be set via this config file. As such the attacker is able to execute any executable on the system through vscode-bazel. We recommend upgrading to version 0.4.1 or above.

Affected products

  • Google Bazel: from 0.1.0, before 0.4.1 (fixed in 0.4.1)

Published 2021-04-16. Last modified 2026-06-17.