CVE-2019-16765 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/github/vscode-codeql/blob/v1.0.1/CHANGELOG.md | CVE | Release Notes |
| https://github.com/github/vscode-codeql/pull/174 | CVE | PatchThird Party Advisory |
| https://github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42q | CVE | Third Party Advisory |
| https://github.com/github/vscode-codeql/blob/v1.0.1/CHANGELOG.md | [email protected] | Release Notes |
| https://github.com/github/vscode-codeql/pull/174 | [email protected] | PatchThird Party Advisory |
| https://github.com/github/vscode-codeql/security/advisories/GHSA-wf4x-8mpj-r42q | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-250 | Execution with Unnecessary Privileges | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| microsoft codeql | < 1.0.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 28, 2021 | Reanalysis | [email protected] |
| Dec 17, 2019 | Initial Analysis | [email protected] |