CVE-2026-41612 Visual Studio Code Information Disclosure Vulnerability
An attacker can exploit relative path traversal in the VS Code Live Preview extension to disclose local information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-41612?
CVE-2026-41612 is a medium-severity path traversal vulnerability in Microsoft Visual Studio Code - Live Preview extension, published on 12 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Relative path traversal in Visual Studio Code allows an unauthorized attacker to disclose information locally.
Which versions are affected by CVE-2026-41612?
It affects 1 product.
Products include Microsoft Live Preview.
How do I fix CVE-2026-41612?
No fix has been published for CVE-2026-41612 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-41612 being exploited?
There is no known exploitation of CVE-2026-41612 in the wild and no public exploit code.