Skip to content

Windows App 26.1002.7124.0: sandbox runtime read/execute validation fails with sharing violation #51932

Open

Description

@matsuokajuri

What version of the Codex App are you using (From “About Codex” dialog)?

26.1002.7124.0, verified from the installed Windows package manifest (OpenAI.Codex, Store signature). The About dialog and bundled command-runner version were not collected.

What subscription do you have?

Not collected.

What platform is your computer?

Windows x64. Exact Windows edition/build was not collected.

What issue are you seeing?

Ordinary sandbox command execution fails before the requested process starts, including Get-Location and a small UTF-8 file read:

Failed to create unified exec process:
exec-server rejected request (-32603):
helper_unknown_error: setup refresh had errors

The failure persisted after reopening the desktop app and in a fresh local diagnostic task. Working directories on both C: and E: drives failed. This is a reproduction from one computer, not a claim that every Windows installation is affected.

The local sandbox log identifies a runtime read/execute validation failure with Windows error 32. Minimal excerpts below replace the user-profile prefix with an environment-variable placeholder; the localized OS message is represented in English.

2026-10-08T02:24:31.114710600+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:
[file is being used by another process] (os error 32)

2026-10-08T03:00:59.025763900+00:00
runtime read/execute validation failed:
validate runtime read/execute access on
%LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_modules\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll:
open ACL target for root-only update:
[file is being used by another process] (os error 32)

What steps can reproduce the bug?

  1. Open the affected Windows desktop installation and start or continue a local task.
  2. Request an ordinary sandbox Get-Location.
  3. Observe setup-refresh failure before command launch.
  4. A fresh task or changing the working-directory drive does not clear the failure in this installation.

What is the expected behavior?

Normal sandbox setup completes while the application's own bundled GUI/runtime helpers are running, and basic read-only commands execute without weakening sandbox checks.

Additional information

Approved host diagnostics were used because ordinary sandbox execution was blocked. Exact-path module enumeration found the private DLL loaded by the bundled codex-computer-use-swift.exe, owned by the current user and parented by the desktop application's ChatGPT.exe.

A narrowly scoped diagnostic reset stopped only three identity-checked node_repl.exe helpers; the blocking target then became the private DLL above. Stopping the identified computer-use helper also did not restore ordinary execution: it was replaced by a new process at 03:00:52.1701554 UTC under the same still-running desktop parent, immediately after the previous helper exited. The replacement loaded the same DLL, and the subsequent ordinary command still failed with error 32. This suggests that repeatedly stopping the helper is not a durable recovery method.

No ACLs, security configuration, internal databases, or runtime/helper binaries were manually changed. No full logs or session contents are attached.

Related reports and fix:

Please identify the first supported Windows desktop release containing #51822, or a supported recovery method for this installation. The exact cause in the installed binary remains unverified.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    sandboxIssues related to permissions or sandboxing
    on Oct 8, 2026
  2. kevinee123 commented on Oct 8, 2026

    @kevinee123

    Additional sanitized reproduction evidence for the same Windows runtime sharing-violation category.

    Environment verified locally:

    • Installed Windows app package: 26.1002.7124.0 (package version, not independently verified in About).
    • App-reported execution core: 0.162.0-alpha.2.
    • Windows x64.
    • Primary Runtime bundle: 26.1007.11041; bundled PowerShell: 7.6.5.
    • Windows sandbox mode: elevated; sandbox service running.

    Observed behavior:

    1. A dot/remote task fails before launching even a minimal read-only PowerShell command. The user reports failure after approximately 1.3 seconds:
      exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors.
    2. The desktop log records the Local Work executor successfully connecting to rendezvous before the test.
    3. The sandbox log records runtime read/execute validation failure on:
      %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<runtime-id>\bin\node_repl.exe
      with open ACL target for root-only update and Windows sharing violation os error 32.
    4. Restarting the desktop app does not durably resolve the failure. Newly started helper processes are present afterward.
    5. During a targeted diagnostic recovery, only verified Codex-bundled Node/REPL helpers were stopped. The blocking target then became:
      ...\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll.
      Read-only process-module enumeration confirmed that the bundled codex-computer-use-swift.exe loaded this exact DLL. The desktop automatically replaced that helper after it was stopped.
    6. Temporarily keeping the identified helper stopped allowed two ordinary local command tests to initialize successfully (errors=[]) and read the project directory.
    7. A subsequent remote-task retry failed again after new Node/REPL helpers had started. The corresponding sandbox log again identified node_repl.exe and os error 32. Thus local recovery was temporary and did not prove remote recovery.

    Minimal sanitized failure chain:

    runtime read/execute validation failed:
    validate runtime read/execute access on
    <bundled-cua-runtime>\bin\node_repl.exe:
    open ACL target for root-only update:
    [file is being used by another process] (os error 32)
    
    setup refresh: processed 2 write roots; errors=[runtime validation failure]
    setup error: setup refresh had errors
    setup refresh: exited with status 1
    

    No manual ACL/security changes, binary modifications, data deletion, or reinstallation were used. Full logs and session transcripts are not attached. Usernames, company/project names, absolute private paths, host/task identifiers, process IDs and authentication information have been omitted.

    This appears consistent with the category addressed by #51822, but its inclusion in this installed desktop/core combination has not been verified. Related dot/local routing report: #51882. Please identify the first supported desktop release containing the fix and/or a recovery procedure that preserves sandbox protections.

  3. ljx719476856li commented on Oct 8, 2026

    @ljx719476856li

    Additional reproduction on Windows build 10.0.26200.9457 with desktop package 26.1002.7124.0 and bundled codex-cli 0.162.0-alpha.2.

    With the desktop application and its bundled runtime helpers running, the following command from a normal host shell fails before the requested command starts:

    <bundled-codex.exe> sandbox -P :workspace -C <existing-workspace> C:\Windows\System32\cmd.exe /d /c ver
    

    The configured Windows sandbox mode is elevated. The desktop app-server uses features.prefer_mxc=true, but the command above tests the separate CLI sandbox entrypoint without that override. The desktop managed shell can still execute commands; this is not a claim that every backend is unavailable.

    Observed error: helper_unknown_error: setup refresh had errors.
    Runtime validation reports: open ACL target for root-only update: file is being used by another process (os error 32).
    Affected bundled runtime filenames across attempts: node_repl.exe, node.exe, VCRUNTIME140_1.dll.

    With explicit user approval, a bounded diagnostic briefly stopped the identified helpers while preventing immediate respawn. The same official sandbox command then exited 0. After restoring the helper parents, an independent repeat exited 1 with the DLL sharing violation again. All paused parents were restored. No runtime binaries were patched and sandbox protection was not disabled. Repeatedly stopping helpers is not a durable workaround.

    PR #51822 appears relevant. Which supported Windows desktop release includes it? We have not verified that our installed binary contains that patch.

  4. matsuokajuri commented on Oct 8, 2026

    @matsuokajuri
    Author

    Post-reboot retest (2026-10-08): after a full Windows reboot and reconnecting the computer, two ordinary exec attempts using existing working directories on the C: and E: drives both failed at process creation, before the requested command started:

    exec-server rejected request (-32603):
    helper_unknown_error: setup refresh had errors
    

    A full reboot therefore did not restore ordinary execution on this computer. This retest used ordinary permissions, without elevation or permission changes.

    The post-reboot sandbox logs have not been inspected for this retest, so the repeated top-level error alone does not establish that the underlying failure is still the same os error 32.

  5. 250124475-jpg commented on Oct 8, 2026

    @250124475-jpg

    Additional evidence specifically about availability of a supported desktop fix for dot / Local Work execution, checked on 2026-10-08 around 07:35 UTC.

    PR #51822 is merged at dd12f89. Its active EXE/DLL sharing-violation fix appears consistent with the failure below. We need the exact desktop release and bundled executor version that include it.

    Locally verified versions:

    • Desktop update-check result: installedVersion 26.1002.52244, installedBuildVersion 13536, installedReleaseChannel prod.
    • Installed Windows AppX: OpenAI.Codex 26.1002.7124.0.
    • The actual running desktop app-server and dot Local Work exec-server both use the desktop-managed copy at %LOCALAPPDATA%\OpenAI\Codex\bin<bundle-id>\codex.exe.
    • Running that exact binary with --version returns: codex-cli 0.162.0-alpha.2.
    • A Primary Runtime bundle update to 26.1007.11041 completed, and the installed framework package is OpenAI.CodexPrimaryRuntime.v26-1007-641-0, version 26.1007.641.0. The managed executor still reports 0.162.0-alpha.2; the runtime update did not establish inclusion of Avoid sharing violations when repairing Windows runtime ACLs #51822.

    Official desktop distribution checks:

    • The built-in update check returns up_to_date on the currently configured prod channel. This is not evidence that command execution has recovered.
    • https://persistent.oaistatic.com/codex-app-prod/windows-store-update.json returns buildVersion 26.1002.7124.0, packageIdentity OpenAI.Codex, storeProductId 9PLM9XGG6VKS, matching the installed package.
    • The official Windows deployment documentation links https://persistent.oaistatic.com/codex-app-prod/ChatGPT-x64.msix. Its AppxManifest.xml was read via bounded HTTP ranges, without installing it: OpenAI.Codex, x64, version 26.930.7945.0; HTTP Last-Modified 2026-10-06 06:50:31 GMT. This is older than the current installation.
    • An official standalone CLI prerelease 0.162.0-alpha.20 is available, but that is not a desktop-managed executor update and has not been installed as a workaround.

    The post-restart dot command still failed during sandbox refresh, before the requested command launched. The relevant local log entry is at 2026-10-08T07:13:54.798157500+00:00 (15:13:54 UTC+8):

    runtime read/execute validation failed:
    validate runtime read/execute access on
    %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<runtime-id>\bin\node_repl.exe:
    open ACL target for root-only update:
    [file is being used by another process] (os error 32)
    
    setup refresh: processed 2 write roots; errors=[runtime validation failure]
    setup error: setup refresh had errors
    setup refresh: exited with status 1
    

    Windows Restart Manager previously confirmed the exact-file owner. After a narrowly scoped release cleared the file ownership, Local Work automatically recreated its own node_repl.exe helper before the next failed refresh. Repeated process termination or restarts are not a durable recovery method. This check did not repeat those operations.

    No helper binaries were manually replaced; no ACL, sandbox protection, configuration, or chat data was changed. No full logs, private task identifiers, credentials, or session contents are attached.

    Could an OpenAI maintainer please confirm:

    1. The first supported Windows desktop package/build and bundled Local Work executor version containing dd12f89 / PR Avoid sharing violations when repairing Windows runtime ACLs #51822.
    2. Whether that release is currently offered through Microsoft Store or another supported desktop update mechanism, and whether the dot-managed exec-server updates with the desktop package or separately.
    3. The supported update procedure for the installation above, preserving sandbox protection and existing configuration/chat history.

    Recovery will be accepted only after the original dot task executes one Get-Location successfully and the corresponding new sandbox log shows no setup-refresh failure. A rendezvous connection or up_to_date status alone is not recovery.

  6. ManuelLopezC commented on Oct 8, 2026

    @ManuelLopezC

    Additional reproduction on Windows after upgrading Codex from package 26.930.7945.0 to 26.1002.7124.0 on 8 October 2026.

    Ordinary local command execution fails before the shell starts with:
    helper_unknown_error: setup refresh had errors
    runtime read/execute validation failed
    open ACL target for root-only update: file is being used by another process (os error 32).

    The blocking files are the bundled node_repl.exe and VCRUNTIME140_1.dll. Approved execution outside the sandbox can read the workspace. Stopping the identified auxiliary processes does not provide a durable fix because the desktop app recreates its helper.

    The prior package is no longer available locally. Please identify a supported fixed desktop release or a supported rollback that preserves local chats and settings.

    The update is temporally associated with the failure; causation has not been established. This report contains no private workspace paths, account identifiers, credentials, or full logs.

  7. tkawamori commented on Oct 8, 2026

    @tkawamori

    Additional reproduction from the VS Code browser-tool path, verified on 2026-10-08 (JST).

    • Windows x64; VS Code extension directory version: openai.chatgpt-26.1002.51308-win32-x64.
    • Installed desktop AppX: OpenAI.Codex 26.1002.7124.0.
    • Both the extension-bundled and desktop-managed Codex executables report 0.162.0-alpha.2.
    • Browser inventory fails before any Chrome access. The tool reports node_repl kernel exited unexpectedly, with stderr windows sandbox failed: helper_unknown_error: setup refresh had errors.
    • The sandbox log identifies runtime read/execute validation failed on %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<runtime-id>\bin\node_repl.exe, then open ACL target for root-only update and a sharing violation (os error 32).
    • An independent invocation of the desktop-managed official codex sandbox --include-managed-config --permission-profile :workspace -C <workspace> -- powershell.exe -NoProfile -Command <print-marker> also fails before printing the marker. The failure therefore reproduces without browser automation.
    • SHA-256 comparisons found that the extracted node_repl.exe and codex-windows-sandbox-setup.exe exactly match their installed desktop package copies. No corruption or stale extraction was found for these two files.
    • Stopping only the identified REPL helpers once allowed ordinary sandbox initialization to succeed, but closed the tool transports. After restarting VS Code, the same failure returned. PC, Chrome and application restarts have not provided a durable recovery.

    The official Windows Store update manifest currently advertises 26.1002.7124.0, matching this installation. PR #51822 appears to address the observed failure category, but inclusion in these installed binaries has not been verified.

    Please identify the first supported Windows desktop and VS Code extension releases containing #51822, and the supported update path. Recovery here requires a successful browser inventory with the sandbox protections retained; a successful shell run with its tool hosts stopped is insufficient.

    No manual ACL changes, sandbox downgrade, binary replacement or full logs are included. Private paths, account identifiers, project names and credentials have been omitted.

  8. BlindDevelopment commented on Oct 8, 2026

    @BlindDevelopment

    Additional reproduction on Windows 10 Pro 22H2 (10.0.19045), x64, with a controlled stop/retry/restart test that recovered sandbox execution temporarily and reproduced the failure after restarting the app.

    Environment

    • Installed Windows package directory: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0 (observed from the running ChatGPT.exe path; About dialog version not collected).
    • Bundled core: codex-cli 0.162.0-alpha.2, verified with the bundled executable's --version.
    • Runtime directory: %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin.
    • Configuration: [windows] sandbox = "elevated"; workspace-write session.
    • First observed locally: 8 October 2026, after the user was shown new-version information at login.
    • October 6 local logs show successful setup using command-runner 0.158.0-alpha.2.1. This is historical log evidence, not a controlled downgrade test.

    Reproduction and impact

    1. Start the Windows desktop app and open a local repository chat with the normal bundled helpers running.
    2. Request a harmless sandboxed PowerShell command: Write-Output 'Sandbox launch succeeded'; Get-Location.
    3. The requested process never starts. The tool returns:
    Failed to create unified exec process:
    helper_unknown_error: setup refresh had errors
    

    The setup log reports runtime read/execute validation failing with Windows sharing violation 32. The same diagnostic commands succeed when individually approved outside the sandbox. Ordinary local shell work is blocked while the helpers are running.

    Expected: sandbox setup and basic shell commands should work while the application's own bundled tool helpers are running, without weakening permissions or terminating app functionality.

    Controlled diagnostic sequence

    All times below are UTC on 8 October 2026 (local Europe/London time was UTC+1). Process identities and executable paths were checked before each stop; the main app and Codex core stayed running.

    • Initial failure targeted node_repl.exe. Four processes running that exact bundled executable were stopped.
    • At 12:35:52, setup progressed to a different failure: node_modules@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll.
    • Exact-path module enumeration identified that DLL loaded by codex-computer-use-swift.exe, parented by the desktop ChatGPT.exe. Stopping that verified helper cleared this blocker.
    • At 12:37:17, setup then failed on the same runtime's node.exe.
    • Four remaining Node processes were identified through their parent launch commands as Codex app-tools and code-review MCP servers (launch_codex_app_tools_mcp.cmd and launch_code_review_mcp.cmd). They were stopped after verifying their paths and parent relationship to Codex.
    • At 12:39:44, sandbox setup completed and the PowerShell probe succeeded.
    • At 12:39:55, a second independent sandbox command also succeeded.
    • The user then restarted the desktop app. Its bundled helpers returned.
    • At 12:41:52, the first sandbox probe after restart failed again on node_repl.exe with error 32.

    Thus: helpers running -> failure; identified runtime users stopped -> two successful sandbox launches; app restarted/helpers restored -> same failure.

    Minimal redacted log excerpts

    Long timestamps are preserved; only the user-profile prefix is replaced.

    [2026-10-08T12:35:52.045526900+00:00] runtime read/execute validation failed: validate runtime read/execute access on %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_modules\@oai\sky\bin\windows\swift\x64\VCRUNTIME140_1.dll: 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-08T12:37:17.164341500+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: The process cannot access the file because it is being used by another process. (os error 32)
    [2026-10-08T12:39:44.197364100+00:00] setup refresh: processed 3 write roots (read roots delegated); errors=[]
    [2026-10-08T12:39:55.436082+00:00] setup refresh: processed 3 write roots (read roots delegated); errors=[]
    [2026-10-08T12:41:52.202734900+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: The process cannot access the file because it is being used by another process. (os error 32)
    

    No manual ACL edits, configuration changes, runtime replacement, or security disabling were performed. Setup itself applied its normal permissions during the retries. Stopping the helpers is a diagnostic workaround with loss of app/tool functionality, not a durable fix.

    The observations are consistent with the active-file ACL repair problem addressed by #51822. We have not verified inclusion of that fix in this installed desktop build. Please identify a supported desktop release containing the fix, or a supported recovery path that preserves both sandbox protections and the bundled tools.

  9. hcogden commented on Oct 8, 2026

    @hcogden

    Additional affected ChatGPT Work installation:

    Windows desktop package: 26.1002.7124.0
    Bundled command-runner: 0.162.0-alpha.2

    On October 8, 2026 at 19:15:57 UTC, a basic Get-Location
    request failed before PowerShell started:

    helper_unknown_error: setup refresh had errors

    The sandbox log identifies runtime permission validation
    failing on the bundled 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)

    Restarting Windows did not resolve it. No desktop update
    is currently available to me. Local command execution
    in Work remains blocked.

    This matches the failure addressed by PR #51822.
    Please prioritize releasing the correction and identify
    the first supported Windows desktop build containing it,
    or provide a supported recovery procedure.

  10. toonai801 commented on Oct 8, 2026

    @toonai801

    Additional affected Windows installation, verified October 8, 2026:

    • Running desktop package remains OpenAI.Codex_26.1002.7124.0 after the owner installed offered updates and rebooted.
    • Running bundled Codex executable is still in runtime directory bin/9691020b546a15b2.
    • Both an existing task and a newly created desktop executor task fail before a harmless hostname command starts, including fresh checks at approximately 20:29 and 20:31 UTC.
    • Exact current execution error: exec-server rejected request (-32603): helper_unknown_error: setup refresh had errors.
    • Earlier sandbox log from the same installation identifies runtime read/execute validation failure on bundled 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).
    • Elevated sandbox provisioning previously completed but did not restore execution. Rebooting and a fresh task have also not restored it.

    Please identify the supported Windows desktop/runtime release containing #51822 and how this affected installation can receive it, or provide a supported recovery procedure. We have not verified that the running desktop contains the fix. We have not disabled the sandbox/firewall or replaced bundled binaries. Ordinary project execution remains blocked.

    Personal paths, project details, credentials, and full logs are intentionally omitted.

  11. Al-Geroth commented on Oct 8, 2026

    @Al-Geroth

    Additional reproduction on Windows desktop package OpenAI.Codex_26.1002.7124.0_x64 with the same bundled runtime cua_node\3dd31cfff853001c.

    Observed behavior:

    • Even a fresh chat with Get-Location fails before PowerShell starts with helper_unknown_error: setup refresh had errors.
    • The sandbox log shows the same fatal sharing violation:
      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:
      [file is being used by another process] (os error 32)
      
    • The corresponding setup refresh completed with errors / setup error: setup refresh had errors entries repeat on every attempt.

    Diagnostics performed:

    1. Fully terminated the Codex desktop process tree.
    2. Verified node_repl.exe was no longer running.
    3. Opened the exact runtime file with FileShare.None; it succeeded, proving the file was not locked after cleanup.
    4. Restarted CodexSandboxService.OpenAI.Codex; service came back cleanly under a new PID.
    5. Relaunched the Codex desktop app.
    6. The app immediately recreated node_repl.exe processes from the same runtime.
    7. A new Get-Location attempt failed again with the same os error 32.
    8. Stopping only the active node_repl.exe processes temporarily unlocked the file, but a subsequent command caused Codex to respawn them and the failure returned.

    Observed process relationship after relaunch:

    ChatGPT.exe
      -> codex.exe
          -> node_repl.exe
          -> node.exe ...\\@oai\\cua-repl\\bin\\cua-repl.mjs
              -> node_repl.exe
    

    This makes the failure look deterministic in this installation: the desktop app starts helpers that lock node_repl.exe, then sandbox setup attempts ACL validation on that already-running executable and fails with ERROR_SHARING_VIOLATION.

    No ACLs, runtime binaries, project files, or security settings were modified during the diagnosis.

  12. 4 remaining items

  13. Hendra827 commented on Oct 9, 2026

    @Hendra827

    Could the team please prioritize shipping PR #51822 in a Windows Desktop release?

    The fix has already been merged, but this issue is still blocking all local task execution for affected users. In my case, 100% of tasks fail before execution with:

    helper_unknown_error: setup refresh had errors

    The sandbox logs report OS error 32 (sharing violation) while validating or repairing ACLs on runtime files that are currently in use, such as node_repl.exe.

    Could you please clarify:

    1. Which Windows Desktop release will include PR Avoid sharing violations when repairing Windows runtime ACLs #51822?
    2. Is a hotfix planned, given that affected users cannot execute any local tasks?
    3. Is there a supported workaround we can safely use while waiting for the Desktop update?

    For affected users, this is a complete blocker rather than a minor inconvenience. Even a brief status update or estimated release window would be greatly appreciated.

    Thank you for looking into this.

  14. Hendra827 commented on Oct 9, 2026

    @Hendra827

    Could the team please provide a specific status update and timeline for the Windows Desktop fix for this regression?

    This is still a complete blocker for me: 100% of local tasks fail before the requested command starts with helper_unknown_error: setup refresh had errors. The sandbox log reports Windows OS error 32 (ERROR_SHARING_VIOLATION) while validating ACLs on Codex's bundled runtime files, including node_repl.exe / runtime DLLs.

    PR #51822 has been merged, but affected users still need to know when the fix will reach the Windows Desktop app—not just the CLI source tree. Could you please clarify:

    1. Has a Windows Desktop release containing Avoid sharing violations when repairing Windows runtime ACLs #51822 been built and scheduled?
    2. What exact app version/build is expected to contain it, and what is the estimated release date or rollout window?
    3. If there is no confirmed ETA yet, can the team explicitly say so and share the next milestone (for example, QA validation, release candidate, or rollout start)?
    4. Is there an officially supported temporary workaround or rollback that preserves sandbox security and user data while we wait?

    I have already reported this on related issue #51601 as well. Repeated retries and restarts do not help, so a concrete release status would be much more useful than general troubleshooting suggestions. Thank you.

  15. goraebabjin-0109 commented on Oct 9, 2026

    @goraebabjin-0109

    Additional user-authorized report for the same Windows desktop failure, still reproduced on October 9.

    User-reported evidence:

    • Windows desktop package version: 26.1002.7124.0.
    • Command execution fails with helper_unknown_error: setup refresh had errors.
    • The sandbox log records runtime read/execute validation failure on node_repl.exe with Windows os error 32 (sharing violation).
    • Restarting the app, starting a new task, and terminating the affected process did not resolve the failure.
    • Latest user-reported failure: 2026-10-09 15:41 KST (2026-10-09 06:41 UTC).

    An information-only update check performed by Codex in the current session returned:

    • installedVersion: 26.1002.52244
    • installedBuildVersion: 13536
    • installedReleaseChannel: prod
    • status: unavailable, because Windows Store installation eligibility must be checked and that check may download updates. No Store check/download was started. This result does not establish that the app is up to date; the package version and app-reported version are recorded separately.

    The reproduction time and log signature above were provided by the user; this reporting session did not independently inspect the original sandbox log or reproduce that sandboxed failure. No full logs, private paths, session contents, or credentials are attached.

    Please confirm:

    1. The first supported Windows desktop package version AND app build containing PR Avoid sharing violations when repairing Windows runtime ACLs #51822, including whether it is available through the production Microsoft Store rollout.
    2. The officially supported recovery procedure for affected installations that preserves sandbox protections, chats, and browser sessions.
    3. If a fixed desktop release is not yet available, the rollout status/ETA and any supported temporary recovery or rollback.

    PR #51822 appears relevant to this error category, but its inclusion in the installed desktop package and whether it resolves this installation have not been verified. Repeating the already-failed restart/new-task/process-termination steps has not provided a durable recovery.

  16. goraebabjin-0109 commented on Oct 9, 2026

    @goraebabjin-0109

    Evidence clarification and regression history for #51932 (comment)

    Update: this reporting session has now directly read the original PC sandbox log CODEX_HOME/.sandbox/sandbox.2026-10-09.log. The sanitized excerpts below are extracted from that log, rather than reconstructed from the user's summary. Local START timestamps are KST (UTC+9); ISO timestamps explicitly use UTC.

    [2026-10-09T05:18:21.037332300+00:00] runtime read/execute validation failed: validate runtime read/execute access on <USERPROFILE>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update: 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다. (os error 32)
    [2026-10-09 14:32:33.505 codex.exe] START: <USERPROFILE>\.cache\codex-runtimes\codex-primary-runtime\dependencies\native\powershell\pwsh.exe -NoProfile -Command $env:COMPUTERNAME; Get-Location
    [2026-10-09T05:32:33.781083400+00:00] runtime read/execute validation failed: validate runtime read/execute access on <USERPROFILE>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update: 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다. (os error 32)
    [2026-10-09 15:01:56.471 codex.exe] START: <USERPROFILE>\.cache\codex-runtimes\codex-primary-runtime\dependencies\native\powershell\pwsh.exe -NoProfile -Command $env:COMPUTERNAME; Get-Location
    [2026-10-09T06:01:56.637545+00:00] runtime read/execute validation failed: validate runtime read/execute access on <USERPROFILE>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update: 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다. (os error 32)
    [2026-10-09 15:41:28.340 codex.exe] START: <USERPROFILE>\.cache\codex-runtimes\codex-primary-runtime\dependencies\native\powershell\pwsh.exe -NoProfile -Command $env:COMPUTERNAME; Get-Location
    [2026-10-09T06:41:28.508243200+00:00] runtime read/execute validation failed: validate runtime read/execute access on <USERPROFILE>\AppData\Local\OpenAI\Codex\runtimes\cua_node\3dd31cfff853001c\bin\node_repl.exe: open ACL target for root-only update: 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다. (os error 32)
    
    

    The log also records setup error: setup refresh had errors and setup exit status 1 following each of the 14:32, 15:01 and 15:41 failures. The setup working directory identifies Windows package OpenAI.Codex_26.1002.7124.0_x64.

    The supplied user log-review summary identifies the 14:32 attempt as immediately after restart and the 15:01 attempt as coming from a new task. The sandbox log independently confirms those failures, but does not itself establish the app restart. A new task-specific write root is logged at 15:01; private workspace details are omitted.

    The user additionally reports that the same command path worked on 26.930.x and began failing consistently after updating to 26.1002.7124.0 on October 8. This historical regression has not been independently reproduced by this reporting session.

    The inspected sandbox log does not establish termination or immediate respawn of node_repl.exe. Those should not be treated as log-verified. PR #51822 addresses a matching mechanism, but its inclusion in the installed desktop package and this binary's exact cause remain unverified. No build date or fix inclusion is inferred from the version string.

    The supplied summary reports an update check at 14:31 showing a 26.1007 version string while the Store reported no update available; its exact field and meaning are unverified.

    Please confirm the first supported Windows desktop package AND app build containing #51822, production Microsoft Store availability/rollout, and the officially supported recovery procedure preserving sandbox protections, chats and browser sessions.

    The separately mentioned /mnt/user-data/outputs/codex_sandbox_setup_bug_evidence.txt was not accessible here. Instead, the relevant original PC log excerpts have been supplied inline above. User-profile paths are redacted; no credentials, full logs or session contents are attached. No runtime files, ACLs, sandbox settings or processes were changed by this evidence collection.

  17. jakubruc commented on Oct 9, 2026

    @jakubruc

    We’ve been experiencing exactly the same issue since yesterday, October 8, on Windows 11 Home 25H2 (build 26200.9550), with app package 26.1002.7124.0. Even Get-Location fails with helper_unknown_error: setup refresh had errors, and the sandbox logs show os error 32 on node_repl.exe and VCRUNTIME140_1.dll. Restarting the app and Windows has not helped. Standalone PowerShell works normally.

  18. brefledev commented on Oct 9, 2026

    @brefledev

    I’m seeing this same failure on Windows 11 Home x64, build 26200.

    My installed versions are:

    • Desktop: 26.1002.52244, build 13536
    • Microsoft Store package: 26.1002.7124.0
    • Bundled CLI: 0.162.0-alpha.2

    A dot-created PC task fails before executing a read-only PowerShell command. The sandbox log identifies:

    %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)
    

    The task surfaces this as helper_unknown_error: setup refresh had errors.

    A controlled diagnostic reproduced the failure with the installed CLI. A separately staged, official OpenAI-signed 0.162.0-alpha.20 passed the directory check using the native elevated sandbox and a read-only profile. Existing runtime processes stayed running, and the target executable’s ACL remained unchanged. Desktop and dot-created task recovery are still unverified.

    [#51822](#51822) appears to address this exact problem. Microsoft Store currently offers me no update. The documented offline MSIX download serves 26.930.7945.0, older than my installed package.

    Which supported Windows desktop release includes #51822, and how can I get it? Is there an officially supported way for my installed desktop executor (including dot-created PC tasks) to use the corrected helper while preserving configuration, conversation history, active work, and sandbox protections?

  19. stanleyhoh79 commented on Oct 9, 2026

    @stanleyhoh79

    I can reproduce the same Windows sandbox failure with OpenAI.Codex MSIX 26.1002.7124.0 and Codex CLI 0.162.0-alpha.2.

    Even the read-only Get-Location command fails before execution with helper_unknown_error: setup refresh had errors. The sandbox log identifies Windows error 32 (sharing violation) during ACL validation of the bundled node_repl.exe.

    I fully closed ChatGPT Desktop and verified that no ChatGPT, Codex, or Node REPL processes remained. A single managed read-only CLI attempt still produced the same failure.

    No permissions, security settings, runtime files, or sandbox protections were changed.

    I understand that PR #51822 has been merged. Could you confirm which supported Windows Desktop/MSIX release includes this fix and recommend a safe update procedure that preserves local projects, configuration, and chat history?

  20. ivettgamarra commented on Oct 9, 2026

    @ivettgamarra

    I am affected by the same Windows desktop failure.

    My diagnostics recorded desktop package version 26.1002.7124.0 on Windows 10 Home Single Language, build 19045. Sandboxed Get-Location fails before execution with:

    helper_unknown_error: setup refresh had errors

    The sandbox log identifies runtime ACL validation failure on cua_node/3dd31cfff853001c/bin/node_repl.exe with Windows error 32.

    The desktop update check reported that the app was up to date. A separate CLI 0.160.1 session launched with --no-daemon successfully executed Get-Location, but desktop recovery has not been established.

    Desktop feedback ID:
    no-active-thread-01a12040-1fea-7361-9f29-e1523d614cff

    Please identify the supported Windows desktop release containing #51822 and how to obtain it. If it is not available yet, is there an officially supported recovery or rollback that preserves sandbox protections, settings, and conversation history?

    This is blocking my local project work. I want to continue using the desktop app.

  21. prototype956 commented on Oct 9, 2026

    @prototype956

    Additional reproduction on Windows.

    • Installed Codex Windows package: 26.1002.7124.0.
    • Windows OSVersion: 10.0.28000.0.
    • Sandbox mode: elevated.

    Both browser/Computer Use initialization and ordinary sandboxed terminal commands fail before starting with helper_unknown_error: setup refresh had errors.

    The sandbox log reports a file-sharing violation (Windows OS error 32) when updating runtime access permissions for node_repl.exe or VCRUNTIME140_1.dll.

    Restarting the app, resetting the browser kernel, and stopping the related auxiliary processes did not restore access; replacement auxiliary processes were observed. No ACLs or security configuration were manually changed.

    Please provide a supported fix or recovery method that preserves sandbox protection.

  22. marco-quicula commented on Oct 9, 2026

    @marco-quicula

    Additional reproduction with Codex CLI 0.162.0 installed via npm (native Windows 11 Pro 26200, PowerShell 7.6, [windows] sandbox = "elevated"), plus a CLI workaround that avoids the failure.

    Symptom: every sandboxed command fails with Failed to create unified exec process: helper_unknown_error: setup refresh had errors, including Get-Location. node_repl fails with windows sandbox failed: helper_unknown_error: setup refresh had errors. Rebooting Windows did not help.

    Sequence observed (process list + %USERPROFILE%\.codex\.sandbox\sandbox.<date>.log):

    1. codex.exe (npm vendor binary) starts.
    2. About 6 s later it starts node_repl.exe from %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\<hash>\bin\ in two ways:
      • directly, through [mcp_servers.node_repl] in config.toml, written by the desktop app;
      • through the unified-computer-use@openai-bundled plugin (.mcp.json → node.exe …\@oai\cua-repl\bin\cua-repl.mjs → node_repl.exe).
    3. About 20 s after that, codex-windows-sandbox-setup.exe runs a setup refresh and fails with:
      runtime read/execute validation failed: validate runtime read/execute access on …\cua_node\<hash>\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)

    This is consistent with PR #51822, which is not included in 0.162.0.

    Workaround for the CLI (verified, both interactive and codex exec): disable both sources of node_repl.exe for the session:

    codex -c mcp_servers.node_repl.enabled=false -c plugins.unified-computer-use@openai-bundled.enabled=false

    With both overrides, node_repl.exe is not started, the setup log shows setup refresh: processed 2 write roots ... errors=[], and shell commands work. Disabling only mcp_servers.node_repl is not enough, because the plugin still starts node_repl.exe through cua-repl. You lose node_repl, computer-use and browser control in that CLI session.

    Pitfall: in PowerShell 7, writing the plugin key with inner quotes (-c 'plugins."unified-computer-use@openai-bundled".enabled=false') passes the quotes through literally. The override then does not match and the plugin stays enabled. The unquoted form above works.

    Observation: the desktop app (bundled CLI 0.162.0-alpha.2, same workspace-write policy, same cua_node runtime, node_repl.exe running) works on this machine. No setup-refresh entries were written to the sandbox log during the app session, so it seems to take a different sandbox preparation path from the standalone CLI.

  23. RickNeedsMoreCoffee commented on Oct 9, 2026

    @RickNeedsMoreCoffee

    Additional consumer-account reproduction and recovery evidence collected on October 9, 2026. This is a report from one Windows installation; no incident severity or broader affected population is asserted.

    Environment:

    • Windows 10 Home 22H2, build 19045.6466, x64.
    • Installed Store package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0.
    • Desktop version returned by the app update tool: 26.1002.52244, build 13536.
    • Original bundled CLI: 0.162.0-alpha.2.
    • Computer-use runtime: cua_node/3dd31cfff853001c, @oai/sky 0.7.6.

    Ordinary sandbox commands and node_repl initialization failed before executing. The sandbox log identified both an active node_repl.exe and, on another attempt, the computer-use Swift helper's loaded VCRUNTIME140_1.dll:

    runtime read/execute validation failed
    open ACL target for root-only update:
    The process cannot access the file because it is being used by another process. (os error 32)
    

    The affected paths were under %LOCALAPPDATA%/OpenAI/Codex/runtimes/cua_node/3dd31cfff853001c/bin/. Personal paths and full session logs are omitted.

    Local diagnostic workaround, not an officially supported update procedure:

    • Replaced only the sandbox setup helper with the official OpenAI-signed helper from 0.162.0-alpha.20, containing Avoid sharing violations when repairing Windows runtime ACLs #51822. The CLI, command runner and code-mode host stayed at their original versions.
    • Confirmed that setup_provisioning.rs and provisioning_protocol.rs match between alpha.2 and alpha.20.
    • The replacement helper SHA256 was 641F0DEB163E70BEF43072B93FA6BEAA537C39E9446E280F5BE7D6E1066BD5B2; signature valid. File permissions were preserved.
    • A cache-only replacement was overwritten during desktop startup. A protected independent runtime selected via a persisted per-user CODEX_CLI_PATH override survived a full app restart.
    • Afterwards, ordinary sandbox shell execution and native computer-use initialization/window enumeration succeeded; setup logs recorded errors=[]. No sandbox policy, Windows security settings or app permissions were relaxed.

    A separate Windows 10 screenshot failure remained after sandbox recovery and required a separate capture workaround; that evidence is being added to #50749. These should not be conflated.

    Please identify the supported Windows desktop release incorporating #51822 and the recommended migration from this temporary runtime workaround back to the bundled runtime.

  24. ivettgamarra commented on Oct 10, 2026

    @ivettgamarra

    Update — October 10, 2026: runtime reset did not resolve the failure.

    On Windows 10 Home Single Language, build 19045, Codex was closed and the contents of %LOCALAPPDATA%\OpenAI\Codex\runtimes were deleted. After reopening the desktop app, it displayed “installing.”

    A subsequent sandboxed Get-Location attempt failed before command execution. No command result or exit code was returned.

    I have now inspected the post-reset sandbox log. It confirms the same underlying failure at 09:36:18 local time in Israel (06:36:18 UTC):

    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)
    

    The sandbox setup helper subsequently exited with status 1. That is the helper’s exit status; the requested command never started.

    No configuration, ACL, sandbox-policy, or antivirus settings were manually changed. The installed desktop version was not rechecked after this reset.

    Please identify the supported Windows desktop release containing #51822 and the recommended update or recovery procedure that preserves sandbox protections, settings, and conversation history.

  25. Technically-A-Mechanical-Engineer commented on Oct 10, 2026

    @Technically-A-Mechanical-Engineer

    Follow-up — October 10, 2026, on the installation described in my earlier diagnostic comment.

    Update and workaround retirement

    • Before the normal app update/restart, removed only the six previously added current-user FILE_WRITE_DATA deny entries. Backups were retained; file hashes remained unchanged and resulting ACLs matched the intended six-rule removal.
    • Installed Windows package: 26.1007.2314.0.
    • Running app: 26.1007.21434, build 13901, production channel.
    • Bundled CLI: 0.162.0-alpha.17.2.
    • Active cua_node runtime changed from 3dd31cfff853001c to cfb32733c877621e. The old six targets are absent after updating; the six corresponding new-runtime files have zero current-user WriteData deny rules, including inherited rules. The workaround has not been reapplied.

    Verified post-update results

    • Separate ordinary default-sandbox calls passed (exit 0): a marker command and a harmless project-manifest read. Neither acceptance test used escalation.
    • App started at 2026-10-10 13:49:01 UTC. The inspected sandbox log contained no runtime-validation, setup-exit, or error-32 failure lines after that start. Acceptance refreshes at 13:49:49 UTC and 13:49:54 UTC reported errors=[].
    • Edge browser control: opened a temporary public-page tab, read its content, clicked a link, and verified the destination.
    • In-app browser control: the same page-read and link-navigation checks passed. Both test tabs were closed.
    • Native desktop Computer Use: remains unverified because native computer APIs are disabled on this diagnostic session's tool surface; this is not evidence of a native-runtime failure. Browser-control initialization initially timed out, then recovered on a bounded retry.

    This installation currently works without the temporary ACL workaround. This is a bounded post-update check, not proof against future intermittent failures or confirmation of which source fix shipped. Browser checks did not exercise authenticated editing or Save. Separate approval/context and message-submission problems were not retested. No full logs, screenshots, private paths, session contents, or study data are attached.

  26. prototype956 commented on Oct 10, 2026

    @prototype956

    Update: the issue I reported above is now resolved on my Windows installation after the latest Codex app update. Thank you for the fix!

  27. yutigi commented on Oct 13, 2026

    @yutigi

    Still reproducing on 2026-10-13 with the latest stable standalone CLI, codex-cli 0.162.1. It looks like the fix from #51822 never reached a stable release.

    Environment

    • Windows 11 Pro 10.0.26200, x64; [windows] sandbox = "elevated", workspace-write
    • Standalone CLI codex-cli 0.162.1 (%USERPROFILE%\.codex\packages\standalone\releases\0.162.1-x86_64-pc-windows-msvc); the update check reports 0.162.1 as latest
    • Desktop app also installed: OpenAI.Codex_26.1007.2314.0, bundled core 0.162.0-alpha.17.2, runtime cua_node\cfb32733c877621e

    Symptom

    Every sandboxed command fails before the shell starts, including Write-Output 'shell-test':

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

    %USERPROFILE%\.codex\.sandbox\sandbox.2026-10-13.log:

    setup refresh: spawning ...\standalone\releases\0.162.1-x86_64-pc-windows-msvc\codex-resources\codex-windows-sandbox-setup.exe
    runtime read/execute validation failed: validate runtime read/execute access on <LOCALAPPDATA>\OpenAI\Codex\runtimes\cua_node\cfb32733c877621e\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)
    setup error: setup refresh had errors
    

    Findings

    1. Regression timing: the first failure in my logs is the first run of the 0.162.1 helper (2026-10-10, the day it was installed). Since then, 0 of 19 runs of the 0.162.1 helper have succeeded. On the same machine and at the same time, the desktop app's 0.162.0-alpha.17.2 helper and the app-server-daemon's 0.160.1 helper complete with errors=[].
    2. Codex locks the file itself. I closed every Codex process, then ran codex exec under a process monitor. codex.exe launched node_repl.exe at session start, both directly ([mcp_servers.node_repl], which the desktop app writes into config.toml) and via node.exe ...\@oai\cua-repl\bin\cua-repl.mjs (unified-computer-use@openai-bundled → cua_repl). The setup helper ran about 10 s later, while that image was mapped, and failed with error 32. No other process held the file (checked with the Restart Manager API).
    3. Mechanism confirmed outside Codex: from a normal, unsandboxed process, CreateFileW on the running node_repl.exe succeeds with READ_CONTROL|WRITE_DAC, with FILE_READ_DATA, and with share mode 0. It fails with ERROR_SHARING_VIOLATION only when FILE_WRITE_DATA is requested. An idle .exe in the same bin folder opens fine. So the helper's "root-only update" asks for write-data access on a mapped image, which Windows always refuses.
    4. Neither -c override stops the spawn. With -c mcp_servers.node_repl.enabled=false and -c 'plugins."unified-computer-use@openai-bundled".enabled=false', cua_repl still launched node_repl.exe and the run still failed.
    5. Workaround (CLI): codex exec --ignore-user-config -c 'windows.sandbox="elevated"' ... works. The helper payload then has no runtime entry, setup refresh ends with errors=[], and Write-Output runs inside the elevated sandbox. The same --ignore-user-config run plus a disabled mcp_servers.node_repl.command override also passes, so the extra node_repl MCP entry alone doesn't trigger validation. This matches @gary-gui's observation that loading the user config triggers it.
    6. Sandbox permissions are fine: CodexSandboxUsers already inherits ReadAndExecute on node_repl.exe. This is error 32 (sharing violation), not error 5 (access denied).

    Release status

    dd12f892 (#51822) is an ancestor of rust-v0.163.0-alpha.5, but not of rust-v0.162.0 or rust-v0.162.1. The 0.162.0...0.162.1 compare contains only #51866 and #52648, so the fix wasn't cherry-picked. Users on the stable 0.162.x CLI and on the app-server daemon have no fixed release. Could #51822 be backported in a 0.162.2, or could a stable 0.163.0 be shipped?

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

    appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions