Skip to content
Race condition Advisory Advanced CVE-2025-21296

BranchCache Remote Code Execution Vulnerability (CVE-2025-21296)

A race condition in Microsoft's BranchCache feature could allow an attacker on the same network segment to execute arbitrary code. Exploitation requires winning a race condition, making it complex.

k0shl Follow

Originally disclosed on Microsoft

Critical 7.5 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.

FAQ

According to the CVSS score, the attack vector is adjacent (AV:A). What does this mean for this vulnerability? This attack is limited to systems connected to the same network segment as the attacker. The attack cannot be performed across multiple networks (for example, a WAN) and would be limited to systems on the same network switch or virtual network.

BranchCache

BranchCache

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun Lab. 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

Impact

An attacker on the same network segment could execute arbitrary code on a vulnerable system, but only if they successfully win the race condition.

What the attacker needed

Attacker on same network segment; win a race condition

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.

BranchCache is a Windows feature that speeds up file access across slow networks by caching content locally. A race condition is a timing flaw where two actions happen at once and the result depends on which finishes first. Here, an attacker on the same network could exploit that timing to run their own code on a victim's machine.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by k0shl

View all

98 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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.