Skip to content
RCE Advisory Advanced CVE-2026-96951

Windows Shell Security Feature Bypass Vulnerability (CVE-2026-96951)

Windows Shell fails to neutralise special elements used in a command, which lets an unauthorised attacker bypass a security feature over a network. An attacker could send a crafted file by email or instant message to evade Mark of the Web defences, though the user must be convinced to open it.

yhw Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Improper neutralization of special elements used in a command ('command injection') in Windows Shell allows an unauthorized attacker to bypass a security feature over a network.

FAQ

What kind of security feature could be bypassed by successfully exploiting this vulnerability? An attacker who successfully exploited the vulnerability could evade Mark of the Web (MOTW) defenses.

FAQ

How could an attacker exploit the vulnerability? In an email or instant message attack scenario, the attacker could send the targeted user a specially crafted file that is designed to exploit the vulnerability. In any case an attacker would have no way to force a user to view attacker-controlled content. Instead, an attacker would have to convince a user to take action. For example, an attacker could entice a user to either click a link that directs the user to the attacker's site or send a malicious attachment.

Windows Shell

Windows Shell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by yhw. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper neutralisation of special elements used in a command within Windows Shell, allowing a crafted file to evade Mark of the Web tagging.

Impact

An attacker could evade Mark of the Web defences, but would have no way to force a user to view attacker-controlled content and must convince the user to act.

What the attacker needed

Victim opens a crafted file or link; attacker can send email or instant message

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Mark of the Web is a Windows tag that marks files downloaded from the internet so the system can treat them with more suspicion. This report says a flaw in how Windows Shell handles commands lets a crafted file avoid that tag, so the protection does not apply. The attacker still needs the victim to open the file or follow a link.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by yhw

View all

142 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.