Skip to content

Windows App 26.1002.7124.0: runtime ACL sharing violations block shell and browser initialization #52007

Open

Description

@1Beyond1

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

Codex Desktop 26.1002.7124.0, verified from the installed OpenAI.Codex Windows package using Get-AppxPackage (the About dialog was not inspected).

Bundled runner: codex-cli 0.162.0-alpha.2, verified by running the installed bundled codex.exe --version.

What subscription do you have?

Not collected; subscription information is omitted from this public report.

What platform is your computer?

Windows 11 Home, Chinese edition; OS version 10.0.26300, build 26300. The installed computer-use helper is under the swift/x64 runtime directory.

Sandbox configuration: sandbox_mode = "workspace-write", [windows] sandbox = "elevated".

What issue are you seeing?

Ordinary sandbox shell execution and browser/computer-use initialization fail before the requested operation starts. Failures recur after the user restarts the app and opens a fresh chat.

Shell error:

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

Browser tool error:

trusted Node process exited unexpectedly; kernel reset, rerun your request

The sandbox log identifies a Windows sharing violation during runtime read/execute validation, rather than a workspace ownership error. Sanitized excerpts retain UTC timestamps; only the private user path is replaced:

2026-10-08T07:47:06.553350400+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-08T07:52:18.018997400+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:
另一个程序正在使用此文件,进程无法访问。 (os error 32)

2026-10-08T08:06:48.351216900+00:00
runtime read/execute validation failed: ...\bin\node_repl.exe:
open ACL target for root-only update: ... (os error 32)
2026-10-08T08:06:48.365691500+00:00
setup refresh: processed 0 write roots (read roots delegated); errors=[runtime validation failure above]
2026-10-08T08:06:48.365809+00:00
setup error: setup refresh had errors

The localized OS message means the file is being used by another process.

What steps can reproduce the bug?

Observed on this affected installation; not a clean-room reproduction:

  1. Start Codex Desktop and open a local workspace on the D: drive.
  2. Ask for an ordinary sandbox command such as Get-Content on a known local text file, or Write-Output 'sandbox-startup-ok'.
  3. Observe setup failure before PowerShell starts.
  4. Call cua.getState() or connect an existing browser tab with cua.getBrowser(...).
  5. Observe the trusted Node process error.
  6. Restart the desktop app and create a fresh chat; both failures recur.

No website-specific URL, session transcript, account credentials, or private workspace path is included. The browser inventory call alone fails, so reproducing does not require access to the original website.

What is the expected behavior?

Sandbox runtime validation should succeed while the desktop application's own helpers are running. Basic shell commands and browser initialization should work with the existing sandbox protections. If repair fails, the agent-facing error should expose the affected runtime path and Win32 error rather than only the generic setup-refresh failure.

Additional information

Read-only host diagnostics were performed through approved commands because normal sandbox execution was unavailable.

Observed process and reset evidence:

  • Two running node_repl.exe processes used the exact runtime path reported in the log. Their parent chain included the bundled codex.exe, with one through bundled node.exe.
  • A narrowly scoped diagnostic reset terminated only those two identity-checked tool processes. The next ordinary sandbox test still failed, but the reported target changed to the private VCRUNTIME140_1.dll above.
  • A running codex-computer-use-swift.exe was found in the same swift/x64 runtime directory, parented by the desktop process. Its DLL module list was not inspected in this session, so the precise DLL lock holder is an inference.
  • Terminating that exact helper did not restore execution: a replacement appeared under the same desktop parent, and the next test again failed on the DLL. An immediate stop-and-retry sequence also failed.
  • Terminating the tool processes closed their MCP transport; this was a troubleshooting side effect, not the original failure. Later diagnostics after restart again found running helpers and the same error 32.
  • No ACLs, ownership, sandbox settings, internal databases, or runtime binaries were manually changed.

Related reports: #51601, #51925, and #51932 appear to cover this same sharing-violation category. This is an additional installation report with the Windows build, bundled CLI version, browser symptoms, and scoped-reset observations; please consolidate if preferred.

PR #51822, “Avoid sharing violations when repairing Windows runtime ACLs,” was merged at 2026-10-07T20:47:11Z. Its description explains that MAXIMUM_ALLOWED opens on active EXE/DLL files can cause sharing violations. This matches the observed error category, but I have not verified that this installed desktop runner contains the fix, so this report does not establish a regression after that fix.

Please identify the first supported Windows desktop release containing #51822 and whether this installation needs an update or another supported recovery step.

Activity

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

    @jacksama97

    Additional affected installation: Dot local execution is blocked, and the documented unelevated fallback does not support the policy sent by the Dot executor.

    Environment

    • Windows 11 Home, Chinese edition, OS version 10.0.26200 / build 26200.
    • Installed Windows app package: OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0, observed from running executable paths.
    • Bundled executable reports codex-cli 0.162.0-alpha.2.
    • The app's update-check tool returned up_to_date on 2026-10-08. Its separate version fields were installedVersion: 26.1002.52244, installedBuildVersion: 13536, channel prod; the About dialog was not inspected.
    • Current Windows sandbox mode has been restored to elevated.

    Minimal affected workflow

    On the connected Windows computer, ask Dot to run PowerShell Get-Date -Format o exactly once, without opening a browser or editing files. The computer shows connected, but the command fails before process creation and produces no date.

    With elevated, Dot reports:

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

    The local sandbox log independently records this failure on 2026-10-08 at 08:03:22 UTC:

    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:
    另一个程序正在使用此文件,进程无法访问。 (os error 32)
    setup error: setup refresh had errors
    

    Earlier local log entries also name node.exe and node_repl.exe. A process/module inspection confirmed that the bundled codex-computer-use-swift.exe had this exact private DLL loaded at the time of inspection. That establishes module loading, not the identity of every blocking handle.

    Unelevated fallback: CLI succeeds, Dot still fails

    A fresh local CLI test using the saved unelevated configuration succeeded:

    codex sandbox -P :read-only --include-managed-config -C <diagnostic-workspace> -- <bundled-pwsh.exe> -NoProfile -Command "Get-Date -Format o"
    Exit code: 0
    Output: 2026-10-08T16:09:58.5098498+08:00
    

    This only validates that simple CLI read-only profile. The subsequent Dot attempt returned the following user-provided original error, which we have not independently recovered from a local log:

    Failed to create unified exec process:
    exec-server rejected request (-32602):
    failed to prepare process sandbox:
    windows unelevated restricted-token sandbox cannot enforce split writable root sets directly; refusing to run unsandboxed
    

    We therefore rolled back only windows.sandbox to elevated, preserving other settings. A fresh app-server windowsSandbox/readiness query returned {"status":"ready"}; this is not evidence that runtime refresh or Dot execution works.

    Requested follow-up

    Please confirm the first supported Windows desktop release containing #51822, and whether that fix covers this Dot local-executor path. The PR description matches the observed active EXE/DLL ACL-repair sharing violation, but we have not verified whether this installed binary contains the fix, and are not claiming a regression after it.

    The fallback's policy refusal appears intentional; the request is for a supported way to restore Dot local execution while preserving its permission boundaries.

    This is a sanitized report from an affected installation, not a clean-machine reproduction. No account identifiers, private username/workspace paths, credentials, full configuration, or session transcripts are included.

  3. abedammon-lgtm commented on Oct 8, 2026

    @abedammon-lgtm

    Also affected on Windows 10
    Environment

    • OS: Windows 10, build 19045.6466
    • App: Codex Desktop 26.1002.7124.0
    • Affected workflows: Existing tasks, a new Codex conversation, and dot-coordinated desktop tasks
      Error
      Even Get-Location fails before PowerShell starts:
      helper_unknown_error: setup refresh had errors
      Diagnostic evidence
    • The sandbox log reports OS error 32 while opening node_repl.exe for an ACL update.
    • Process Monitor shows codex-windows-sandbox-setup.exe receiving SHARING VIOLATION.
    • Requested access includes Maximum Allowed.
      Already tried
    • Restarting Codex
    • Fully restarting Windows
    • Testing a new Codex conversation
      The failure persists.
      Question for maintainers
      PR #51822 appears relevant. Could you confirm:
    1. Which supported Windows desktop release includes this fix?
    2. Whether existing installations need additional recovery steps.
    3. Whether any workaround supports dot-coordinated desktop tasks, rather than only the CLI.
      I would prefer to retain the sandbox protections. Thank you.
  4. jacksama97 commented on Oct 12, 2026

    @jacksama97

    Follow-up to my affected-installation report, observed on 2026-10-12: after updating, Dot now reports a task-submission failure with a different error signature. This does not establish that the original ACL issue or #51822 is regressing; please route this separately if appropriate.

    Current versions

    • Desktop client version recorded in app-server logs: 26.1007.21434.
    • Windows package version visible in the running app's log stack paths: 26.1007.2314.0.
    • The bundled executable reports codex-cli 0.162.0-alpha.17.2.

    Failed submission, as returned by Dot

    The intended diagnostic was one read-only PowerShell Get-Date command in an existing task.

    • Tool: mcp__codex_apps__cloud_threads_send_message
    • Target: the same existing Dot-managed task in both calls; its private identifier is omitted from this public report.
    • Both calls returned error_code = "UNKNOWN" and isError = true.
    • No HTTP status or underlying cause was exposed.

    First raw error:

    AppServerBackendRequestError: Something went wrong. Request ID: [REDACTED_REQUEST_ID_1]
    

    Second raw error:

    AppServerBackendRequestError: Something went wrong. Request ID: [REDACTED_REQUEST_ID_2]
    

    These tool-return details were supplied by the user from Dot's report; they were not independently recovered as full backend errors from desktop logs. No new execution result was found in the target's recent readable history, and Get-Date execution through Dot remains unconfirmed. Retries were stopped.

    Independently checked evidence

    • On October 12, 08:58–09:01 UTC+08:00 (00:58–01:01 UTC), desktop logs repeatedly show thread/read for the same affected target failing with -32003, "thread access denied".
    • The dedicated read-only read_thread tool with hostId=durable can nevertheless read that target's historical turns. Different access paths therefore give different results.
    • The latest saved failures in that history are usage-limit errors from October 9 and 10, not a new October 12 execution. A current account-level usage check allows ordinary Codex usage; this does not establish the state of every cloud-specific limit.
    • At 00:57:30 UTC, the desktop's durable connection closed with WebSocket code 1006, and a thread/list request returned -32000: Codex app-server is not available. The connection automatically recovered around 00:57:34 UTC. This is a nearby observation, not a proven cause of either failed send.
    • The second supplied Request ID appears in the 00:56:56 UTC Dot messaging response-header log with outcome=success; that confirms a messaging response, not successful task submission or command execution.
    • A local Codex Get-Date check succeeded. The inspected sandbox setup-error log still ends on October 8; no new setup-refresh failure was found there.

    Please identify a private support channel through which the user can provide the two Request IDs and target thread ID for correlation. Please investigate whether either send created a turn and whether authorization/routing differences explain these access-path results. Please also expose an actionable underlying error instead of UNKNOWN, and identify a supported recovery step.

    No task was resubmitted during this verification and no files, configuration, permissions, or runtime binaries were changed. Private filesystem paths, project contents, account identifiers, internal thread/request identifiers, and credentials are omitted.

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

    appbrowserbugcomputer-usesandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions