
Key points
- CVE-2026-102235 is rated high severity with a CVSS score of 8.8.
- The flaw affects all Visual Studio Code versions prior to 1.141.1.
- A patch is available that resolves the improper output encoding issue.
Microsoft Visual Studio Code versions older than 1.141.1 contain a high-severity vulnerability that permits unauthorized remote code execution. According to the Microsoft Security Update Guide, the flaw stems from improper encoding or escaping of output data. Attackers can exploit this weakness over a network without needing valid user credentials. The issue is tracked as CVE-2026-102235 in the National Vulnerability Database.
In plain English
The problem occurs when the software fails to properly format text or output data. This allows malicious code to run when the application processes certain inputs. An attacker does not need to log in to trigger the exploit. The vulnerability enables code execution from a distance, making it a significant risk for any system connected to a network.
The background
The National Vulnerability Database lists the weakness as CWE-116, which relates to improper encoding. Microsoft rates the severity as high, assigning a CVSS score of 8.8. This follows similar high-profile updates, such as the urgent Windows 11 QUIC patches reported by Patch Herald on October 13, 2026. Those updates addressed unauthenticated remote code execution risks in the operating system.
What changes now
Users must upgrade to version 1.141.1 or later to resolve the issue. The update corrects the output encoding behavior that previously allowed unauthorized execution. No workarounds are confirmed that effectively mitigate the risk without applying the patch. Organizations should verify their current version numbers immediately to determine exposure. Delaying the update leaves systems vulnerable to network-based attacks.
Who needs to act first
Teams usually prioritize systems that face direct internet exposure or handle untrusted data first. Before rolling out the update, check whether the patch conflicts with existing custom configurations or extensions. Back up important project files and settings to ensure recovery if the update causes unexpected issues. Test the new version on a small group of machines to verify stability before a full deployment.
What to do and how to stay safe: Microsoft
- Verify the installed Visual Studio Code version on all workstations and servers.
- Download and install version 1.141.1 or the latest available release.
- Monitor system logs for any unusual activity following the update process.
- Review network traffic for signs of exploitation attempts on older systems.
Step-by-step guide: Out-of-Band Patches: Meaning, Risks, and Deployment Reality
General security guidance from the Patch Herald newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Which versions of Visual Studio Code are affected by this vulnerability?
All versions of Microsoft Visual Studio Code before 1.141.1 are affected by CVE-2026-102235.
Is there a patch available for this security flaw?
Yes, Microsoft has released version 1.141.1 which fixes the improper output encoding issue.
What is the severity rating of CVE-2026-102235?
The National Vulnerability Database rates the vulnerability as high severity with a CVSS score of 8.8.



