Skip to content

Windows app 26.1007.2314.0: active 0.162.1 sandbox helper fails with error 32 / MAXIMUM_ALLOWED on CUA runtime #52897

Open

Description

@maurofgarciagcaba

Environment

  • Windows x64; system modules report build 26100.
  • Installed desktop package: OpenAI.Codex 26.1007.2314.0.
  • Active sandbox helper: %USERPROFILE%.codex\packages\app-server-daemon\releases\0.162.1-x86_64-pc-windows-msvc\codex-resources\codex-windows-sandbox-setup.exe
  • workspace-write, restricted filesystem; local workspace under Documents.
  • CUA runtime: %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\cfb32733c877621e.

Failure

Every tested local shell operation fails before PowerShell starts:

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

Minimal read-only tests included Get-Location and Get-ChildItem.

Sandbox log:

runtime read/execute validation failed:
validate runtime read/execute access on <CUA_RUNTIME>\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 refresh completed with errors
setup error: setup refresh had errors

The log also reports a nonfatal sharing violation while granting a non-inheriting read-attributes ACE on the user profile.

Troubleshooting and observed progression

Repeated application and full Windows restarts did not restore execution.
Stopping the exact node_repl.exe process resulted in its recreation by node.exe running @oai/cua-repl/bin/cua-repl.mjs.
Stopping that verified supervisor and its children moved the fatal validation failure to:

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

Process Explorer search for that DLL returned no results; the holder is unconfirmed.
A subsequent test again failed on node_repl.exe. No project files, ACLs, ownership, runtime binaries, or sandbox settings were modified.

Process Monitor evidence

Failing process: codex-windows-sandbox-setup.exe, PID 2496, medium integrity.
Captured sequence on the exact DLL path:

  1. CloseFile → SUCCESS
  2. CreateFile → SHARING VIOLATION
    • Desired Access: Read Attributes, Synchronize, Maximum Allowed
    • Disposition: Open
    • Options: Synchronous IO Non-Alert
    • ShareMode: Read, Write, Delete
  3. CreateFile → SUCCESS
    • Desired Access: Read Attributes, Synchronize
    • Disposition: Open
    • Options: Synchronous IO Non-Alert, Open Reparse Point
    • ShareMode: Read, Write, Delete

Related fix and request

This behavior matches the access-mask conflict addressed by #51822. The published rust-v0.162.1 acl.rs still uses MAXIMUM_ALLOWED in the root-only update branch.

Please confirm the supported desktop/app-server-daemon release containing #51822 and a supported way to update the active helper while preserving local data and sandbox protections. The installed desktop package version alone has not restored execution.

Personal paths have been anonymized. Evidence transcribed from locally collected sandbox logs and Process Monitor; no full diagnostic archive attached.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    tool-calls
    on Oct 10, 2026
  2. Arun141220 commented on Oct 13, 2026

    @Arun141220

    I am also seeing blocked Computer Use and local command execution across two Windows PCs. Please confirm which supported desktop/app-server release includes #51822.

    Environment and verification:

    • Desktop About screen and the workstation's loaded Computer Use skill package identify 26.1007.21434. This is not a verified bundled CLI/helper version.
    • Workstation: Windows 11 Pro 26H2, OS build 26300.9550 (from winver). The second PC's OS build has not yet been verified.
    • Restart/reinstall attempts have not restored the delegated Computer Use tests.

    Workstation legacy sandbox evidence from October 10, 2026, 09:50 EDT (13:50 UTC), with personal paths redacted:

    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)
    setup refresh completed with errors
    setup error: setup refresh had errors
    setup refresh: exited with status ExitStatus(ExitStatus(1))
    

    setup_error.json contains:

    {"code":"helper_unknown_error","message":"setup refresh had errors"}

    The workstation's user configuration is reported as windows.sandbox="elevated". This is not proof of the effective backend for every delegated task.

    Separate current observation: delegated CUA initialization on both PCs fails before returning any screen state with:

    MXC launcher: cannot locate required Windows platform directory: HRESULT 0x80070003
    

    The documented standalone MXC_OK CLI probe has NOT been run: the only available delegated command route stalls before returning output, including for a read-only CLI help request. There is no probe exit code or MXC_OK result to report. Please do not treat the CUA error as a result of that probe.

    We have not changed sandbox preferences, applied manual ACL workarounds, or run elevated setup. We also reviewed #37383, but its older window-enumeration failure should not be conflated with this launcher-stage error.

    Could you confirm the supported stable desktop/helper update containing #51822, and whether the separate MXC known-folder failure requires its own issue? No secrets or full diagnostic archives are included.

  3. Arun141220 commented on Oct 13, 2026

    @Arun141220

    Update on the same workstation (October 13, 2026):

    • App/Computer Use package: 26.1007.21434; Windows build 26300 (winver previously showed 26300.9550).
    • The standalone MXC probe was subsequently run locally and reported MXC_OK with exit code 0. User config is now windows.sandbox="mxc", with a backup retained, and the app was fully restarted.
    • A fresh delegated sandboxed Computer Use test at 11:01:08 UTC still failed before returning any windows: MXC launcher: cannot locate required Windows platform directory: HRESULT 0x80070003 (exit 1).
    • A separate local task configured for Full access reportedly succeeded at approximately 07:08 EDT / 11:08 UTC with both await sky.list_windows() and await sky.list_apps(). The successful local probe and Full access results were supplied from the local investigation; the failed delegated test was directly captured. This establishes a useful contrast, not a repair of sandboxed execution.

    The local runtime investigation reports that node_repl.exe constructs the sandboxed kernel environment from HOME, LANG, LC_*, LOCALAPPDATA, PATH, SYSTEMDRIVE, SYSTEMROOT, TEMP, TMP, TMPDIR, USERPROFILE, WINDIR, plus NODE_REPL_UNTRUSTED_ENV_ALLOWLIST, and that this default list omits PROGRAMDATA. It also reports that the app regenerates the node_repl MCP environment section at launch. These binary/runtime findings still need maintainer confirmation.

    Public MXC source calls SHGetKnownFolderPath for ProgramFiles, ProgramFilesX86 and ProgramData; the observed error does not identify which query failed. Could an omitted PROGRAMDATA value in the untrusted-kernel environment explain FOLDERID_ProgramData resolution failing here? The regular Windows core environment list includes PROGRAMDATA. PR #47108 repaired a related but separate filesystem-helper environment filter for SystemDrive/LOCALAPPDATA.

    Please consider preserving PROGRAMDATA, evaluate whether ALLUSERSPROFILE is also required, or make the MXC ProgramData lookup robust to filtered environment expansion. Please also identify the supported desktop/helper release containing the separate legacy runtime ACL fix #51822.

    No manual ACL or registry workaround has been applied, and no .sandbox-secrets content is included. We are not presenting Full access as a sandbox-preserving fix.

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

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions