Repository navigation
Description
Summary
Windows desktop sandbox command execution fails before process creation on two separate workstations, while Full Access permits execution. Confirmed on 2026-10-09.
Related: #52611, #52595 and the proposed runtime ACL fix #51822. I tried adding this two-workstation evidence to #51822, but its conversation is locked. Please consolidate with an existing issue if appropriate.
The affected employee workstation reports desktop 26.1002.52244, build 13536 (prod), Windows package 26.1002.7124.0. Both workstation logs reference:
- Runtime: cua_node/3dd31cfff853001c/bin/node_repl.exe
- Setup helper: bin/9691020b546a15b2/codex-windows-sandbox-setup.exe
Observed failure (user/profile paths redacted):
Failed to create unified exec process:
helper_unknown_error: setup refresh had errors
runtime read/execute validation failed:
validate runtime read/execute access on
C:\Users\<USER>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe:
open ACL target for root-only update:
Proces nie może uzyskać dostępu do pliku, ponieważ jest on używany przez inny proces. (os error 32)
The requested command is only a local PowerShell Get-Item metadata read of an existing project file. It never starts; the setup helper exits with code 1.
Comparison:
- Workstation A: sandbox execution fails. One explicit Full Access metadata read succeeds, exit 0, exec duration 3.008 seconds.
- Workstation B: normally usable in Full Access. One controlled switch of the same chat to workspace-write reproduces the same detailed ACL-open error on the same runtime path identifier, not merely the generic wrapper error. Full Access was then restored.
- Matching log events: A at 2026-10-09T13:36:30.0467867Z; B at 2026-10-09T15:38:34.8527431Z.
- The exact process holding an incompatible handle and cross-workstation binary equality have not been established. These observations do not prove every Windows environment is affected.
- Although the requested command never started, B's helper log records automatic project ACE updates before failure; we are not claiming the setup had no side effects.
This appears consistent with the ACL-open mechanism addressed by #51822. Related desktop reports include #52611 and #52595. Full Access is only a temporary operational workaround with reduced isolation, not a sandbox repair.
Could the team confirm which signed production Windows desktop/package build includes this fix, and provide a supported update path/backport if it is not yet available through the Store? We would prefer a verified packaged fix over further speculative ACL changes, process killing, or reinstall attempts.
No session transcript, business documents, credentials, tokens, or unredacted logs are included.
Activity
github-actions commentedon Oct 9, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
argszero commentedon Oct 9, 2026
Answering the question you asked directly, because it is checkable: #51822 is merged (
dd12f892f1, "Avoid sharing violations when repairing Windows runtime ACLs", merged 2026-10-07T20:47Z). But it is not in the stable0.162.0core, and that is almost certainly why you are still hitting this.Why the fix matches your error exactly
The pre-fix code in
codex-rs/windows-sandbox-rs/src/acl.rswas:MAXIMUM_ALLOWEDwas requested for every root-only ACL target — directory or file. On an actively running runtime binary (node_repl.exe, held open by the running process withFILE_SHARE_READ), aMAXIMUM_ALLOWEDopen asks for access the holder does not share, which isERROR_SHARING_VIOLATION— os error 32. That is your line:The comment above the fixed code states the intent in the same words: "Only directories need MAXIMUM_ALLOWED to suppress child ACL propagation. On active EXE/DLL files, it can request access that causes sharing violations."
The fix restricts that open to directories:
and for files only requests
READ_CONTROL | WRITE_DACwhen an ACL update is actually needed. Its regression test holdsnode.exeopen withFILE_SHARE_READthroughout repair and revalidation — i.e. it tests precisely the condition you reproduced. Your comparison to #51822 is right, and your Full-Access-succeeds observation fits too: Full Access does not run this repair.The build question — and a check you can run yourself
#51822 also renamed the error string. Post-fix it reads:
Yours has no suffix, so your build is on the pre-fix side. That gives you a zero-tooling discriminator — if the suffix is absent from the message, the build does not contain #51822, whatever the version number says.
Release boundary, verified by inspecting
acl.rscontent in each tag (not by version ordering, for reasons below):rust-v0.162.0-alpha.2rust-v0.162.0-alpha.18rust-v0.162.0-alpha.19rust-v0.162.0-alpha.20rust-v0.163.0-alpha.1/.2rust-v0.162.0(stable)The stable
0.162.0cut is the practical trap. Its release line forked from main atac9b5b8380(2026-10-07 00:51Z); #51822 merged at 20:47Z the same day, about 20 hours after the cut. So0.162.0stable was tagged on 2026-10-08 yet does not contain the fix, and updating within the 0.162.0 stable line will not resolve this.Two things I would be careful about before you act on that table:
rust-v0.162.0-alpha.17.2is dated 2026-10-08 06:23Z — later than alpha.19 — and still lacks the fix, because those point at separate release-line commits. Verify by content, not by date or by assuming "newer tag means newer code".0.162.0-alpha.2, which is pre-fix — consistent with everything above, but I have not verified that your specific build bundles it. If you can sharecodex --version(or the core version from the About dialog), that pins it exactly.To be explicit about what I am not claiming: I have not verified that a signed Windows build containing alpha.19-or-later is available through the Store, nor what its release schedule is. That part is the team's to answer — but the version at which the fix first exists is settled, so "is it in my build?" is now decidable from the error text alone.
Finally, the labeling: although these reports carry
app/windows-os, the defect is incodex-rs(windows-sandbox-rs/src/acl.rs) and so is the fix. Thecodex-windows-sandbox-setup.exehelper in your logs is the component that performs this repair.ibeholder-lab commentedon Oct 9, 2026
I can reproduce this issue on Windows 11 with Codex desktop version
26.1002.7124.0.After a clean Windows reboot, before launching Codex, there are no
node_repl.exeprocesses running.After launching Codex, multiple
node_repl.exeprocesses are spawned bycodex.exeand its childnode.exeprocesses.The sandbox setup consistently fails with:
The problem persists after a clean reboot and application reset.
This suggests a possible race between spawning
node_repl.exeand updating its executable's ACL during sandbox initialization.The Windows sandbox service is running, and WFP setup succeeds.
Could the sandbox ACL initialization be completed before starting the Node REPL runtime, or could this file-sharing conflict be handled without failing the entire sandbox setup?
argszero commentedon Oct 9, 2026
Addendum with a sharper answer to the update-path question, since the situation moved overnight and it changes the practical conclusion.
No stable release currently contains #51822. I checked the newest stable core, not just the one I named before:
rust-v0.162.0rust-v0.162.1(newest stable)rust-v0.162.0-alpha.19rust-v0.163.0-alpha.4mainv0.162.1is not stale — it descends from the 0.162 fork point and already includes the current tip of the activerelease/0.162-4fa4a329branch. So the 0.162 maintenance line is being cut, but #51822 has not been backported onto it: I checkedacl.rsin that branch and inv0.162.1directly, and both still carry the pre-fix form (open ACL target for root-only update, nois_dir()guard,MAXIMUM_ALLOWEDunconditional for root-only targets). Content-checked, same method as the earlier table.That is the direct answer to what you asked: there is no supported stable update path to this fix today. It exists only on the prerelease lines (0.162.0-alpha.19 and later, and the 0.163.0 alphas) and on
main. Closing it for your workstations means a backport onto the 0.162 release line, which is a maintainer decision rather than something fixable from the client side — so it is worth stating plainly in this thread rather than leaving you to wait for a release that will not carry it.Two limits, unchanged from before: I still cannot map the Desktop app build (26.1002.52244 / package 26.1002.7124.0) to the core it bundles —
codex --versionwould settle that, and the version you reported in the sibling thread (0.162.0-alpha.2) is on the pre-fix side, consistent with the error text. And I am describing which tags contain the fix; I have no visibility into the Store's rollout schedule, which is why the backport request is the actionable part.The build fingerprint still holds and is the fastest check for anyone else in this cluster: if the message reads
open ACL target for root-only updatewith no(MAXIMUM_ALLOWED)suffix, the build is pre-#51822.Pb600 commentedon Oct 10, 2026
Fixed! Update released 1 minute after I asked ChatGPT to fix the issue in the binary 😆 (He was really willing to do that!)
argszero commentedon Oct 10, 2026
A correction to my own earlier fingerprint, because it is checkable and it matters for exactly the case just reported.
The
(MAXIMUM_ALLOWED)error-string suffix is not part of #51822. It comes from a separate, later diagnostics PR:dd12f892f1MAXIMUM_ALLOWEDopen to directories (is_dir()guard)dd178bb7caopen ACL target for root-only update (MAXIMUM_ALLOWED)andopen ACL target for update (READ_CONTROL | WRITE_DAC)I offered the suffix as the build fingerprint for #51822. That is wrong in the direction that matters here:
rust-v0.162.0-alpha.19andalpha.20contain #51822's guard without the suffix, because #51896 landed about four hours later and first shipped in0.163.0-alpha.1. Verified two ways — commit ancestry against each tag, andacl.rscontent (guard present, suffix absent).Corrected discriminator, if you are still triaging builds:
(MAXIMUM_ALLOWED)suffix ⇒ ≥ Preserve native errors in Windows sandbox ACL diagnostics #51896, i.e.0.163.0-alpha.1or later — not a proxy for Avoid sharing violations when repairing Windows runtime ACLs #51822Release boundary, re-checked by
acl.rscontent just now (2026-10-10):rust-v0.162.0-alpha.18rust-v0.162.0-alpha.19rust-v0.162.0-alpha.20rust-v0.162.0(stable)rust-v0.162.1(newest stable)rust-v0.163.0-alpha.1rust-v0.163.0-alpha.6(tag pushed, no release entry published yet)release/0.162-4fa4a329(tipf715d50688)main(806d9732c9)So yesterday's conclusion is unchanged and remains the operative one: no stable release contains #51822, and the active
release/0.162maintenance line has not taken the backport —0.162.1is cut from that line and still carries the pre-fix form (MAXIMUM_ALLOWEDunconditional for root-only targets, nois_dir()guard). The fix exists only on0.162.0-alpha.19and later, the0.163.0alphas, andmain.@Pb600 — glad it is working on your machine. Since the suffix check I gave was wrong, "fixed" cannot be pinned to a version from the message text alone. Would you share
codex --version(or the core version from the About dialog) for the build that now works? That is the one datum that distinguishes a core with #51822 (e.g. a Desktop/Store build bundling0.162.0-alpha.19or later) from something that changed elsewhere on the client side — and it would tell everyone else in this cluster which update to wait for.