CVE-2026-50472 — Windows LUA File Virtualization Filter Driver Elevation of Privilege Vulnerability
Executive Summary
Heap-based buffer overflow in Windows LUAFV allows an authorized attacker to elevate privileges locally.
Overview
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 Version 1607 for 32-bit Systems | 5120418 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5120418 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5120238 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5120238 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5120249 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5120249 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5120249 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5120249 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5120249 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5120249 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5120240 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5120240 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 24H2 for ARM64-based Systems 5120994 (Security Hotpatch Update) 5121003 (Security Update) Important Elevation of Privilege 5101650 Base: 7.0 Temporal: 6.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.9106 10.0.26100.9168 Yes None Windows 11 Version 24H2 for x64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Elevation of Privilege 5101650 Base: 7.0 Temporal: 6.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.9168 10.0.26000.9106 Yes None Windows 11 Version 25H2 for ARM64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Elevation of Privilege 5101650 Base: 7.0 Temporal: 6.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.9168 10.0.26100.9106 Yes None Windows 11 Version 25H2 for x64-based Systems 5121003 (Security Update) 5120994 (Security Hotpatch Update) Important Elevation of Privilege 5101650 Base: 7.0 Temporal: 6.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.9168 10.0.26100.9106 Yes None Windows 11 Version 26H1 for ARM64-based Systems | 5121000 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 26H1 for x64-based Systems | 5121000 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 | 5120386 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 (Server Core installation) | 5120386 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 | 5120385 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 (Server Core installation) | 5120385 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 | 5120418 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 (Server Core installation) | 5120418 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5120238 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5120238 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5120418 |
Security Update | Yes |
5120238 |
Security Update | Yes |
5120249 |
Security Update | Yes |
5120240 |
Security Update | Yes |
5121000 |
Security Update | Yes |
5120386 |
Monthly Rollup | Yes |
5120385 |
Monthly Rollup | Yes |
Patch Diff
Heap-based buffer overflow (CWE-122) via a race in the Windows LUA File Virtualization filter driver luafv.sys FileId-table node update, local EoP to SYSTEM (AC:H race). LUAFV virtualizes file access for legacy (LUA) apps and maintains a table of FileId nodes that cache per-file state including a path/name UNICODE_STRING (stored at node+0x50). UpdateTableNode refreshes a node from current file information (GetFileInformation) and, on failure, removed the node. PRE: the node-update path was insufficiently synchronized against concurrent update/removal of the same node, so a racing operation could update or reallocate the node's cached buffer while another path used it - a race leading to a heap buffer overflow of the node's allocation. Because luafv runs in the kernel and the virtualization path is reachable by a local user, and exploitation requires winning the race (AC:H), the overflow is a local EoP-to-SYSTEM primitive. Diff of luafv.sys 10.0.26100.8972 -> .9168 (Aug 11 2026, KB5121003) confirms the fix: gated behind CFR flag Feature_285200698, UpdateTableNode adds a name-match check (RtlCompareUnicodeString against the node name at +0x50) and gates the RemoveFileIdTableNode call so a node is not removed/reused out from under a concurrent update, and routes the node allocation through the LuafvAllocatePool wrapper instead of raw ExAllocatePool2. Note: UpdateTableNode is confirmed code-changed under Feature_285200698 with the added name-match/gated-removal/allocator changes; the exact overflowing write is not cleanly isolable in this race-hardening restructure, so the mechanism is stated per the CWE-122 + AC:H classification and the observed changes.
Root Cause Analysis
CVE-2026-50472 — Windows LUA File Virtualization luafv.sys Racy FileId-Table Node Update in UpdateTableNode → Heap Buffer Overflow
Summary
| Product | Windows — luafv.sys (LUA File Virtualization filter driver / LUAFV) |
| CVE ID | CVE-2026-50472 |
| Impact | Elevation of Privilege (to SYSTEM) |
| MSRC severity | Important |
| CVSS | 7.0 / 6.1 — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C |
| CWE | CWE-122: Heap-based Buffer Overflow (race-triggered) |
| Delivery | Local — concurrent LUAFV file-virtualization operations (race) |
| KB / Fixed build | KB5121003 — luafv.sys 10.0.26100.9168 (Win11 24H2 x64) |
| Patch Date | August 11, 2026 (2026-Aug) |
| Pre-patch binary | luafv.sys 10.0.26100.8972 — SHA256 d0d5b2ebc6f13ade30cf326a11b4a5cdae61c4c8c69e22dc7becc5498a3e2560 |
| Post-patch binary | luafv.sys 10.0.26100.9168 — SHA256 ad892825ec54bb5e431e5b1626a98767949c8ed86c50b752b9799ec520d3e96e |
| Feature flag | Feature_285200698 (also Feature_3287483706 / Feature_3614170424) — CFR-gated |
| Exploitability | Exploitation Less Likely; not publicly disclosed; not exploited (per MSRC) |
Product Description
luafv.sys (LUAFV) is the LUA File Virtualization minifilter that redirects/virtualizes
file access for legacy (non-elevated) applications. It maintains a table of FileId
nodes caching per-file state, including a path/name UNICODE_STRING stored at
node offset +0x50. UpdateTableNode refreshes a node from current file
information (GetFileInformation) and, on failure, removes the node
(RemoveFileIdTableNode).
Vulnerability Summary
The FileId-table node update path was insufficiently synchronized against
concurrent update/removal of the same node. Under a race (AC:H), one thread could
update or reallocate a node’s cached buffer while another path was still using the
node (or removing it), producing a heap buffer overflow of the node’s allocation
(CWE-122). Because LUAFV runs in the kernel and its virtualization path is reachable
by a local user, winning the race yields a kernel heap corruption exploitable for
elevation to SYSTEM (per the MSRC FAQ).
Confirmation:
UpdateTableNodeis confirmed code-changed underFeature_285200698with the hardening below; the exact overflowing write is not cleanly isolable in this race-hardening restructure, so the mechanism follows the CWE-122 +AC:Hclassification and the observed changes.
Prerequisites and Constraints
- Local, low-privileged (
PR:L,AV:L);AC:H— must win a race between concurrent operations on the same LUAFV FileId-table node. - Drive LUAFV virtualization so
UpdateTableNoderuns concurrently with node update/removal. - Result: the node’s cached buffer is overflowed / corrupted.
Vulnerability Details
Root Cause
UpdateTableNode’s node refresh and RemoveFileIdTableNode removal were not
adequately serialized, so a concurrent update/reallocation could operate on a node
buffer another path held, overflowing the node allocation.
The patch (confirmed — diff, .8972 → .9168)
Gated behind Feature_285200698, UpdateTableNode is hardened:
// UpdateTableNode (10.0.26100.9168) — PATCHED, feature-enabled branch (from our diff)
// 1) verify the node still matches before acting on it:
local_140 = RtlCompareUnicodeString(&local_130, param_1 + 0x50, 1); // name-match check
...
// 2) gate the node removal so it isn't removed out from under a concurrent update:
if (Feature_285200698__private_IsEnabledDeviceUsageNoInline())
RemoveFileIdTableNode(param_1);
// 3) allocate the node buffer through the LUAFV wrapper instead of raw ExAllocatePool2:
// UpdateTableNode now calls LuafvAllocatePool(...)
Adding the name-match check, gating the removal, and routing allocation through
LuafvAllocatePool prevents a racing update from operating on a node whose buffer
was reallocated/removed concurrently, closing the race-triggered overflow.
Patch Completeness Assessment
CFR-gated behind Feature_285200698. The hardened update runs only when the flag
is enabled; the original path still ships when disabled. Verify Feature_285200698
is enabled to confirm the fix is live.
Detection Guidance
Behavioural. Concurrent LUAFV file-virtualization operations that repeatedly
update/remove the same FileId node; heap-corruption bugchecks in
luafv!UpdateTableNode / RemoveFileIdTableNode on unpatched/flag-disabled builds.
Config. The fix is CFR-gated — confirm Feature_285200698 is enabled.
References
- MSRC advisory — CVE-2026-50472 (Windows LUAFV Elevation of Privilege), released 2026-08-11, KB5121003.
- Full binary diff:
/data/patch_diffs/luafv_sys-cve-2026-50472-ghidriff.md
Attack Path
A concurrent update of a LUAFV FileId-table node races the node's removal/reallocation, overflowing its cached buffer
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.