CVE-2026-27929 — Windows LUA File Virtualization Filter Driver Elevation of Privilege Vulnerability
Executive Summary
Time-of-check time-of-use (toctou) race condition 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 | 5082198 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5082198 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5082123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5082123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5082200 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5082200 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5082200 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5082200 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5082200 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5082200 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5082052 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5082052 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 24H2 for ARM64-based Systems | 5083769 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 24H2 for x64-based Systems | 5083769 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 25H2 for ARM64-based Systems | 5083769 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 25H2 for x64-based Systems | 5083769 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 26H1 for ARM64-based Systems | 5083768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 26H1 for x64-based Systems | 5083768 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 | 5082127 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 (Server Core installation) | 5082127 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 | 5082126 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 (Server Core installation) | 5082126 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 | 5082198 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 (Server Core installation) | 5082198 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5082123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5082123 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 | 5082142 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 (Server Core installation) | 5082142 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022, 23H2 Edition (Server Core installation) | 5082060 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2025 | 5082063 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2025 (Server Core installation) | 5082063 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5082198 |
Security Update | Yes |
5082123 |
Security Update | Yes |
5082200 |
Security Update | Yes |
5082052 |
Security Update | Yes |
5083769 |
Security Update | Yes |
5083768 |
Security Update | Yes |
5082127 |
Monthly Rollup | Yes |
5082126 |
Monthly Rollup | Yes |
5082142 |
Security Update | Yes |
5082060 |
Security Update | Yes |
5082063 |
Security Update | Yes |
Patch Diff
Time-of-check/time-of-use race (CWE-367) in the Windows LUA File Virtualization filter driver luafv.sys store-directory query, local EoP to SYSTEM (AC:H race). LUAFV virtualizes file access for legacy apps into a per-user virtualization store; LuafvQueryStoreDirectory resolves/opens the store directory (via LuafvOpenDirectory) and uses it. PRE: the store-directory resolution had a time-of-check/time-of-use window - the directory checked and the directory subsequently opened/used were not bound to the same object, so a local user could swap the path/target between check and use to redirect the privileged store operation. Diff of luafv.sys 10.0.26100.7920 -> .8246 (Apr 14 2026, KB5083769) confirms the fix: gated behind CFR flag Feature_3287483706, LuafvQueryStoreDirectory is restructured so the store-directory object is captured once (cached at the context, param_3+0x20 / +0x60) and the LuafvOpenDirectory calls reissue consistently against that captured object, binding the check and use to the same directory and closing the TOCTOU window. Note: LuafvQueryStoreDirectory is the sole changed function and is confirmed code-changed under Feature_3287483706; the exact check/use instruction pairing is not fully isolable in the restructure, so the mechanism is stated at confirmed-changed level per the CWE-367 classification.
| Function | Address | Change | Note |
|---|---|---|---|
LuafvQueryStoreDirectory |
code change |
code (store-directory resolution TOCTOU-hardened, CFR-gated) | Post (Feature_3287483706): captures the store-directory object once (cached at param_3+0x20 / +0x60) and reissues LuafvOpenDirectory consistently against it, so the checked directory and the used directory are the same object (closes the TOCTOU). |
Feature_3287483706 |
gate |
added (CFR gate) | CFR flag gating the TOCTOU-hardened store-directory resolution; the original path still ships when disabled. |
Root Cause Analysis
CVE-2026-27929 — Windows LUA File Virtualization luafv.sys Store-Directory TOCTOU in LuafvQueryStoreDirectory
Summary
| Product | Windows — luafv.sys (LUA File Virtualization filter driver / LUAFV) |
| CVE ID | CVE-2026-27929 |
| 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-367: Time-of-check Time-of-use (TOCTOU) Race Condition |
| Delivery | Local — swap the store directory between check and use (race) |
| KB / Fixed build | KB5083769 — luafv.sys 10.0.26100.8246 (Win11 24H2 x64) |
| Patch Date | April 14, 2026 (2026-Apr) |
| Pre-patch binary | luafv.sys 10.0.26100.7920 — SHA256 25d774136cd40c401ca568332f36c4a65a33f72312959b3b221189bd0c555cc9 |
| Post-patch binary | luafv.sys 10.0.26100.8246 — SHA256 274756a992f21a006882fbfd4e0730276bf639fedabd431ea8b82787cf187378 |
| Feature flag | Feature_3287483706 — the fix is CFR-gated |
| Exploitability | Exploitation Less Likely; not publicly disclosed; not exploited (per MSRC) |
Product Description
luafv.sys (LUAFV) virtualizes file access for legacy (non-elevated) applications
into a per-user virtualization store. LuafvQueryStoreDirectory resolves and opens
the store directory (via LuafvOpenDirectory) and uses it for subsequent store
operations.
Vulnerability Summary
Pre-patch, the store-directory resolution had a time-of-check/time-of-use window:
the directory that was validated and the directory subsequently opened/used were not
bound to the same object, so a local user could swap the path/target between the
check and the use (AC:H race) to redirect the privileged store operation to an
attacker-chosen directory (CWE-367). Because LUAFV runs in the kernel and performs
the store operation with elevated context, winning the race is a local
elevation-of-privilege primitive to SYSTEM (per the MSRC FAQ).
Confirmation level:
LuafvQueryStoreDirectoryis the sole changed function and is confirmed code-changed underFeature_3287483706; the exact check/use instruction pairing is not fully isolable in the restructure, so the mechanism is stated at confirmed-changed level per the CWE-367 classification.
Prerequisites and Constraints
- Local, low-privileged (
PR:L,AV:L);AC:H— must win the race to swap the store directory between check and use. - Result: the privileged store-directory operation acts on the attacker-substituted target.
Vulnerability Details
Root Cause
The store directory was resolved/validated and then re-opened, without binding the validated object to the one used, leaving a TOCTOU window an attacker could exploit by substituting the target.
The patch (confirmed — diff, .7920 → .8246)
Gated behind Feature_3287483706, LuafvQueryStoreDirectory is restructured so the
store-directory object is captured once (cached in the context at param_3 + 0x20
/ + 0x60) and the LuafvOpenDirectory calls reissue consistently against that
captured object, so the checked directory and the used directory are the same:
// LuafvQueryStoreDirectory (10.0.26100.8246) — PATCHED, feature-enabled branch (from our diff)
if (Feature_3287483706__private_IsEnabledDeviceUsageNoInline()) {
dir = *(longlong *)(param_3 + 0x20); // capture the directory object once
*(uint **)(param_3 + 0x60) = ...; // cache it in the context
}
status = LuafvOpenDirectory(param_1, param_3, *(longlong **)(param_3 + 0x60), ...); // reuse captured object
By capturing and reusing the same directory object across check and use, the swap window is removed, closing the TOCTOU.
Patch Completeness Assessment
CFR-gated behind Feature_3287483706. The hardened resolution runs only when the
flag is enabled; the original path still ships when disabled. Verify
Feature_3287483706 is enabled to confirm the fix is live.
Detection Guidance
Behavioural. Rapid manipulation (rename/junction swap) of the LUAFV virtualization
store directory during virtualized file operations; anomalies/crashes in
luafv!LuafvQueryStoreDirectory / LuafvOpenDirectory on unpatched/flag-disabled
builds.
Config. The fix is CFR-gated — confirm Feature_3287483706 is enabled.
References
- MSRC advisory — CVE-2026-27929 (Windows LUAFV Elevation of Privilege), released 2026-04-14, KB5083769.
- Full binary diff:
/data/patch_diffs/luafv_sys-cve-2026-27929-ghidriff.md
Attack Path
The LUAFV virtualization store directory is checked and then reopened, allowing a swap between check and use
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.