Skip to content

Windows sandbox blocked by node_repl.exe sharing violation; helper processes respawn after termination #51999

Open

Description

@andrisbertalan-oss

Codex local execution and Chrome/browser control are completely unavailable on my Windows computer.

The problem started on October 8, 2026. These workflows previously worked, and I made no intentional system changes before the failure. An app update is suspected but not confirmed.

App version reported by Codex:
26.1002.52244, build 13536, prod channel.
The app update check reported up_to_date.

Even this minimal PowerShell command fails before execution:
Write-Output 'SANDBOX_OK'

Error:
helper_unknown_error: setup refresh had errors

The sandbox log identifies the fatal error:
runtime read/execute validation failed:
validate runtime read/execute access on
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe:
open ACL target for root-only update:
The process cannot access the file because it is being used by another process. (os error 32)

Observations:

  • Initial setup logged errors=[] and "setup binary completed".
  • Subsequent command attempts fail during runtime ACL validation.
  • Process Explorer shows two node_repl.exe processes from the Codex cua_node runtime, using this chat's working directory.
  • Their parents were codex.exe and node.exe.
  • After manually terminating these processes, they reappear, and sandbox execution still fails.
  • Closing and reopening Codex did not resolve the failure.
  • Resource Monitor's Associated Handles search returned no matches.
  • Browser-control and Node REPL tools also exit before executing the requested operation.

Related reports:
#51590
#51677
#51861

Impact:
This has blocked my planned work for hours on a paid subscription.

Please provide:

  1. Confirmation that this specific runtime sharing violation is being investigated.
  2. A supported workaround that restores local execution and browser control.
  3. A fixed app version, or a supported rollback procedure if available.

I can provide relevant sandbox log excerpts. No credentials or sandbox secrets are included.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Oct 8, 2026
  2. jpuebla commented on Oct 8, 2026

    @jpuebla

    I am experiencing the same issue on Windows.

    Local commands fail before execution with:
    helper_unknown_error: setup refresh had errors

    My sandbox log shows:
    runtime read/execute validation failed:
    validate runtime read/execute access on
    %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe:
    open ACL target for root-only update:
    The process cannot access the file because it is being used by another process.
    (os error 32)

    Two node_repl.exe processes run from that runtime directory.
    Both exit when I close Codex and reappear when I reopen it
    and resume the chat. The failure also occurs in a new chat.

    Codex app version: 26.1002.52244

    EDIT***************************************************************

    I was working with my enterprise account. I tried to continue working with my personal account (closed session and reopen with personal account) and now it works.

    EDIT 2***************************************************************

    This morning happened again. After all night with my pc asleep I tried to keep working with my personal account but failed. Then I changed to my enterprise account and it's working again.
    This is my temporary solution, change between my personal and enterprise account back and forth....

  3. curtis-fox-hyland commented on Oct 8, 2026

    @curtis-fox-hyland

    Confirming this affects skill usage on my build (About Codex version: 26.1002.52244).

    Same failure signature as above, but triggered by attempting to use an installed skill rather than a direct shell command, browser-control action, or the VS Code extension — worth noting since every report I’ve seen in this cluster so far describes a manual/direct trigger. This points at the failure being in the generic sandbox setup/refresh path itself, which runs before any unified-exec call regardless of what initiated it, rather than something specific to how the command was invoked.

    Sandbox log excerpt:

    [2026-10-08 13:11:10.313 codex.exe] setup refresh: spawning C:\Users\<user>\AppData\Local\OpenAI\Codex\bin\9691020b546a15b2\codex-windows-sandbox-setup.exe (cwd=C:\Users\<user>\AppData\Local\OpenAI\Codex\bin\9691020b546a15b2, payload_len=3452)
    [2026-10-08T17:11:10.935513600+00:00] failed to grant non-inheriting read-attributes ACE on user profile C:\Users\<user>: open ACL target for root-only update: The process cannot access the file because it is being used by another process. (os error 32); continuing setup
    [2026-10-08T17:11:10.953221900+00:00] 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: The process cannot access the file because it is being used by another process. (os error 32)
    [2026-10-08T17:11:10.977746200+00:00] setup refresh: processed 4 write roots (read roots delegated); 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: The process cannot access the file because it is being used by another process. (os error 32)"]
    [2026-10-08T17:11:10.977792300+00:00] setup error: setup refresh had errors
    [2026-10-08 13:11:10.982 codex.exe] setup refresh: exited with status ExitStatus(ExitStatus(1))
    

    Retried in a fresh conversation and full app re-launches - same runtime path, same error.

  4. Laity-nun0 commented on Oct 9, 2026

    @Laity-nun0

    Additional diagnostic results for the same OS error 32 failure, with no lasting recovery.

    Environment

    • Windows 11 Pro for Workstations 25H2, x64, build 26200.8875.
    • Codex Desktop 26.1002.52244, build 13536, prod.
    • Store package OpenAI.Codex 26.1002.7124.0.
    • Bundled/cached CLI 0.162.0-alpha.2.
    • Windows sandbox remains elevated; workspace-write.
    • CUA runtime: 3dd31cfff853001c; archive cua-node-0.0.29-20261003001300-807782c586fc-windows-x64.zip.
    • Runtime manifest: node_version 24.21.0-cua.1 / node_binary_version 24.21.0.

    Failure and scope
    Normal sandboxed PowerShell commands fail before execution:

    Failed to create unified exec process:
    helper_unknown_error: setup refresh had errors
    

    Node REPL initialization can fail through the same setup path. A basic Get-Location also failed with C:\Windows as the working directory; no game process was running. This is not limited to project code.

    Selected actual log lines, with local username removed (timestamps UTC):

    [2026-10-08T20:56:32.726890300+00:00] runtime read/execute validation failed: validate runtime read/execute access on %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update: 另一个程序正在使用此文件,进程无法访问。 (os error 32)
    [2026-10-09T02:13:51.869480900+00:00] runtime read/execute validation failed: validate runtime read/execute access on %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node.exe: open ACL target for root-only update: 另一个程序正在使用此文件,进程无法访问。 (os error 32)
    

    The Chinese message means another process is using the file. The same error was also observed on:

    bin\node_modules\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll
    

    Recovery experiments and results

    1. Completely exiting and reopening the app did not provide lasting recovery.
    2. Windows Restart Manager associated node_repl.exe with two live REPL processes. Terminating the confirmed processes shifted the failure to the sky runtime DLL above.
    3. Process-module inspection confirmed that the Computer Use helper loaded that exact DLL. Terminating this helper caused its app UI parent process to respawn it; the failure persisted.
    4. A backed-up, scoped ACL experiment restricted the current sandbox group's runtime-root access to read/execute. Key paths were checked, but OS error 32 persisted. The original access ACL was restored, with owner/group unchanged.
    5. With the app fully closed, an official elevated CLI sandbox probe succeeded under the sandbox account. The script then reopened the app automatically. App command execution again failed during active-runtime ACL validation. Persistent config hash was unchanged.
    6. A fresh runtime copied from the installed official package was compared to the original cache using SHA-256 for the manifest, Node executables, helper executable and runtime DLL; their contents matched. The trial allowed one normal sandbox command and actual Node REPL evaluation. Computer Use window enumeration also succeeded. A subsequent normal sandbox command failed again with OS error 32 after the runtime was active.
    7. The original runtime cache was restored after this failed trial. No executable patches, mixed versions, permanent ACL changes or sandbox-mode downgrade remain. No desktop rollback was performed.

    Separate observation
    After temporary runtime recovery, an Edge window-state/screenshot request was stopped because Computer Use could not determine the current browser URL with sufficient confidence to enforce policy. This is a separate policy-confidence stop; it is not established as the cause of the sandbox sharing violation.

    Request
    Please investigate runtime ACL refresh while the app's CUA processes are active, and provide a supported fix that retains the elevated sandbox. A possible conflict between ACL refresh and active file handles / initialization ordering is a hypothesis, not a confirmed source-code diagnosis.

    This supplement contains no credentials, machine/user names, project source, full conversations, raw ACL/SID dumps or .sandbox-secrets. No feedback ID is claimed. The app's update check returned unavailable (Windows Store eligibility), not a confirmed up-to-date result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions