CVE-2019-16765Microsoft Codeql
High 7.8
Follow: this CVE · Microsoft · Microsoft Codeql We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 5.4% probability of exploitation in 30 days · percentile 93
- Auth required
- Yes
- Published
- Nov 25, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Windows
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
If an attacker can get a user to open a specially prepared directory tree as a workspace in Visual Studio Code with the CodeQL extension active, arbitrary code of the attacker's choosing may be executed on the user's behalf. This is fixed in version 1.0.1 of the extension. Users should upgrade to this version using Visual Studio Code Marketplace's upgrade mechanism. After upgrading, the codeQL.cli.executablePath setting can only be set in the per-user settings, and not in the per-workspace settings. More information about VS Code settings can be found here.
What to do
- Apply the vendor's security update for Codeql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | codeql | < 1.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Patch Third Party Advisory
- github.com Third Party Advisory