Code execution in VSCode-bazel via malicious Bazel config files
Check todayFull system takeover with local access.
8.2HIGH
Key Information:
- Vendor
Google
- Status
- CVE ID
- CVE ID:
- CVE-2021-22539
- Vendor
- CVE Published:
- 16 April 2021
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
2Why it's rated "Check today"
- Its CVSS severity is high (8.2).
What is CVE-2021-22539?
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 Version(s)
VSCode-Bazel <= 0.4.0
References
More Google Vulnerabilities
Improper Input Validation in Google Chrome Affects Multiple Versions
CVE-2026-134401
GoogleChromeπ9.6CRITICAL
Use After Free Vulnerability in Google Chrome on Android
CVE-2026-130963
GoogleChrome9CRITICAL
Use After Free Vulnerability in Google Chrome for Android
CVE-2026-126846
GoogleChrome9.6CRITICAL
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction