CVE-2025-26631
CVE-2025-26631 is a high-severity vulnerability in Microsoft Visual Studio Code with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-427.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- EPSS exploit prediction: 1% (45th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-6312
- Weakness: CWE-427
- Affected product: Microsoft Visual Studio Code
- Published:
- Last modified:
Description
Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
Frequently asked questions
- What is CVE-2025-26631?
- Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
- How severe is CVE-2025-26631?
- CVE-2025-26631 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-26631 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (45th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-26631?
- CVE-2025-26631 affects Microsoft Visual Studio Code. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-26631?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-26631 have an EU (EUVD) identifier?
- Yes. CVE-2025-26631 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-6312.
- When was CVE-2025-26631 published?
- CVE-2025-26631 was published on 2025-03-11 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
More vulnerabilities in Microsoft Visual Studio Code
- CVE-2026-47281 — Critical (CVSS 9.6): Missing authorization in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- CVE-2026-70336 — High (CVSS 8.8): Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to…
- CVE-2026-69320 — High (CVSS 8.8): Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Code allows…
- CVE-2026-59113 — High (CVSS 8.8): Missing authorization in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-57102 — High (CVSS 8.8): Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to…
- CVE-2026-41613 — High (CVSS 8.8): Session fixation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
All CVEs affecting Microsoft Visual Studio Code →
Other CWE-427 (Uncontrolled Search Path Element) vulnerabilities
- CVE-2026-16860 — Critical (CVSS 9.9): IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to execute arbitrary code due to an…
- CVE-2025-4981 — Critical (CVSS 9.9): Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to…
- CVE-2025-69599 — Critical (CVSS 9.8): RayVentory Scan Engine through 12.6 Update 8 allows attackers to gain privileges if they control the value of the PATH…
- CVE-2019-25268 — Critical (CVSS 9.8): NREL BEopt 2.8.0.0 contains a DLL hijacking vulnerability that allows attackers to load arbitrary libraries by tricking…
- CVE-2023-53959 — Critical (CVSS 9.8): FileZilla Client 3.63.1 contains a DLL hijacking vulnerability that allows attackers to execute malicious code by…
- CVE-2025-65741 — Critical (CVSS 9.8): Sublime Text 3 Build 3208 or prior for MacOS is vulnerable to Dylib Injection. An attacker could compile a .dylib file…
Browse all CWE-427 (Uncontrolled Search Path Element) vulnerabilities →