Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2025-65715: Remote Code Execution in Visual Studio Code Code Runner via executorMap

Published Feb 16, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.30%15th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Formulahendry
IdentifiersCVE-2025-65715CWE-78

CVE-2025-65715 is a command injection vulnerability in the Visual Studio Code Code Runner extension. The flaw is caused by insufficient validation of user-controlled configuration data in the code-runner.executorMap setting from settings.json. The extension is reported to pass this value into Node.js child_process.spawn() with shell execution enabled, allowing attacker-influenced command construction. If a developer opens a crafted workspace or applies malicious workspace or user settings that modify executorMap, subsequent use of Code Runner can trigger execution of arbitrary shell commands in the context of the logged-in user. Reported affected versions include Code Runner v0.12.2, with multiple reports asserting that the issue may affect all versions.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in arbitrary command execution in the security context of the victim user running Visual Studio Code. This can enable full compromise of the developer workstation at the user privilege level, including execution of additional payloads, installation of persistence mechanisms, theft of source code and credentials, modification of local files, and use of the compromised development environment as a pivot for lateral movement.

Mitigation

If you can’t patch tonight, do this now.

Do not open untrusted workspaces or repositories with Code Runner enabled. Treat workspace-level and user-level settings.json content as untrusted input, especially configuration snippets obtained from email, chat, documentation, or public repositories. Enforce extension allowlisting, review .vscode settings changes with the same scrutiny as code changes, and use VS Code workspace trust and related restrictions to limit execution in untrusted projects. Where operationally feasible, disable or remove Code Runner until a verified fix is deployed.

Remediation

Patch, then assume compromise.

Upgrade to a vendor-fixed release of the Code Runner extension once available. A proper fix should eliminate shell-based command construction from untrusted configuration data, validate and constrain executorMap values, and avoid passing attacker-controlled strings into child_process APIs with shell execution enabled. If no patched version is available, uninstall or disable the Code Runner extension in affected environments.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FormulahendryCode Runnerapplication
FAQ

Frequently asked questions

Is CVE-2025-65715 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2025-65715 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-65715?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2025-65715.
Is there a patch for CVE-2025-65715?
Upgrade to a vendor-fixed release of the Code Runner extension once available. A proper fix should eliminate shell-based command construction from untrusted configuration data, validate and constrain executorMap values, and avoid passing attacker-controlled strings into child_process APIs with shell execution enabled.
What products are affected by CVE-2025-65715?
Formulahendry Code Runner.
How severe is CVE-2025-65715?
CVE-2025-65715 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.30% (15th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity7Community discussion across Reddit, Mastodon, and other social sources.