🛡️ CVE-2025-24039 — visual-studio-code
Description
Visual Studio Code Elevation of Privilege Vulnerability
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2025-24039 is classified as CWE-427: Uncontrolled Search Path Element. A writable directory appears in a search path, so a planted file can be loaded in place of the intended one.
Affected software
CVE-2025-24039 is recorded against 1 package.
- visual-studio-code (fixed in 1.97.1)
Timeline and source
Published on 11 February 2025 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| visual-studio-code | — | 1.97.1 |
References
Similar Threats
- High CVE-2025-21264
- Medium CVE-2025-32726
- High CVE-2025-26631
- High CVE-2025-24042
- High CVE-2024-43601
Site Security Check
Is visual-studio-code part of your stack?
CVE-2025-24039 is rated CVSS 7.3 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.