Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
The app's update-check tool reports 26.1002.52244, build 13536, release channel prod, status up_to_date.
Windows AppX package / codex doctor reports 26.1002.7124.0.
These are observed version sources; About dialog was not inspected.
Bundled Codex CLI: 0.162.0-alpha.2.
What subscription do you have?
ChatGPT authentication is configured. Exact subscription tier was not collected.
What platform is your computer?
Windows 11 Professional, Microsoft Windows NT 10.0.26200, x64.
Observed on October 8, 2026.
What issue are you seeing?
Browser control fails before it can connect to a browser or read any tab. The documented absolute-path import of the bundled browser client fails in the app-provided Node REPL:
Failed to resolve module "C:/Users/<redacted>/.codex/plugins/cache/openai-bundled/browser/26.1002.52244/scripts/browser-client.mjs":
EPERM: operation not permitted, realpath 'C:\Users\<redacted>\.codex\plugins\cache\openai-bundled\browser\26.1002.52244\scripts\browser-client.mjs'
Opening a browser tab, resetting the JavaScript kernel, and fully restarting Codex did not resolve this.
A separate, reproducible Windows sandbox provisioning failure appears in logs while Codex runtime processes are running:
runtime read/execute validation failed:
validate runtime read/execute access on <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 error: setup refresh had errors
After stopping the browser service, the same provisioning failure targeted:
<runtime>/bin/node_modules/@oai/sky/bin/windows/swift/x64/VCRUNTIME140_1.dll.
The app automatically restarted codex-computer-use-swift.exe, which held that DLL.
What steps can reproduce the bug?
- In the affected Windows desktop app, ask Codex to control the built-in browser.
- In the app-provided Node REPL, follow the bundled Browser skill bootstrap:
const { setupBrowserRuntime } = await import(
"C:/Users/<redacted>/.codex/plugins/cache/openai-bundled/browser/26.1002.52244/scripts/browser-client.mjs"
);
const agent = await setupBrowserRuntime();
const browser = await agent.browsers.getDefault();
nodeRepl.write(await browser.documentation());The first import fails with the EPERM error above.
Diagnostic comparison in that same REPL:
const fs = await import("node:fs");
const p = "C:/Users/<redacted>/.codex/plugins/cache/openai-bundled/browser/26.1002.52244/scripts/browser-client.mjs";
await new Promise(resolve => fs.realpath(p, (error, value) => {
nodeRepl.write({ standardRealpath: value, error: error?.code });
resolve();
}));
try {
nodeRepl.write({ nativeRealpath: fs.realpathSync.native(p) });
} catch (error) {
nodeRepl.write({ nativeError: error.code, message: error.message });
}Observed: callback-based fs.realpath succeeds with the canonical existing path; fs.realpathSync.native returns EPERM. File stat/lstat and reading the file from PowerShell succeed.
Separately, the bundled CLI command codex -s workspace-write sandbox C:\Windows\System32\whoami.exe fails with helper_unknown_error: setup refresh had errors while the app runtime files are in use.
What is the expected behavior?
The bundled browser-client module should import successfully under the normal sandbox, browser setup should connect, and Codex should be able to read a tab's state with normal browser permissions.
Windows sandbox provisioning should not fail because the app has already started its own runtime executables or DLLs.
Additional information
Troubleshooting actually performed:
- Verified browser-client exists, is a regular file, and is readable.
- Verified the runtime executable's SHA-256 matches the corresponding executable in the installed Windows AppX package.
- Observed
CodexSandboxUsersReadAndExecute ACLs on runtimenode_repl.exeandnode.exe. - Reset the Node REPL kernel and retested.
- Checked app updates:
up_to_date. - Ran
codex doctor --json: sandbox provisioning recordedhelper_unknown_error. - Fully closed Codex and the confirmed browser helper processes, then ran the sandbox command independently. It succeeded with exit code 0 and executed as the restricted sandbox account.
- Relaunched Codex. Browser-client import still failed with EPERM. The next app-triggered sandbox refresh again logged the in-use
node_repl.exefailure. - No sandbox disabling, trust-validation patching, or broad ACL changes were applied.
Runtime manifest:
- Node
24.21.0-cua.1 - Runtime archive
cua-node-0.0.29-20261003001300-807782c586fc-windows-x64.zip
Related but not identical reports: #37029 (earlier Computer Use lstat failure), #39399 (trusted RPC path validation failure). This report adds the callback/native realpath comparison and the reproducible runtime-file locking during provisioning on the October build.
The two failures may be related, but their causal relationship has not been established. Please investigate Windows native path canonicalization in the sandboxed module loader and provisioning/startup ordering for runtime ACL validation.
Usernames, workstation names, private project paths, session transcripts, credentials, and unrelated logs are omitted.
Activity
github-actions commentedon Oct 8, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Brunoetsu107 commentedon Oct 8, 2026
Additional independent reproduction on Windows Codex Desktop (2026-10-08), with a distinct prior IAB permission failure.
Environment: app 26.1002.52244 (build 13536, prod); observed Windows package 26.1002.7124.0; bundled Browser module 26.1002.52244; shell Node v24.16.0. The module import fails before
setupBrowserRuntimeor any page permission check.Narrowed failing call: the app's Node REPL loader
resolvePathSpecifiercallsfs.realpathSync.native(candidate), which throwsEPERM: operation not permitted, realpath. The exposed stack includeskernel.js:528,kernel.js:573, andkernel.js:1710. The wrapper does not retain the original exception's cause/OS stack.Read-only comparison: the Browser client file (169556 bytes) and all ancestor directories exist; no reparse points or explicit Deny ACLs observed.
readFileSyncand ordinaryrealpathSyncwork, butrealpathSync.nativefails with EPERM (errno -4048). The same ordinary/native difference appears for an unrelated project directory andC:\Windows\notepad.exe. The current shell'sLOCALAPPDATApoints into aPackages\sandbox.<redacted>\ACdirectory. These observations favor a restricted Windows execution context/native path canonicalization compatibility issue, but do not prove the underlying denial mechanism.Historical, separate failure: prior Browser 26.930.31730 could initialize and list tabs, and the user could manually view a local test/game page. Agent read/navigation consistently failed with
saved browser permissions could not be verified, including in other chats (similar to #48670). A temporary localhost test page returned HTTP 200 directly, but the Browser produced no request. Following the update, the bootstrap EPERM prevents retesting whether that earlier permissions issue persists. The two failures should not be assumed to share a root cause.Additional log clue:
bundled_plugins_reconcile_failed/marketplace 'openai-bundled' is reserved and cannot be added from this sourceappears in current desktop logs; its relationship to the EPERM is unproven. No module, ACL, security setting, permission database, browser controls, or user data was changed, and no alternate automation was used to bypass the restriction.Acceptance remains blocked: no successful automated page read or button interaction. Please investigate
realpathSync.nativecompatibility in the supported Windows restricted Node REPL loader, while preserving canonicalization and Browser permission enforcement. This is a corroborating report, not a claim that the sandbox provisioning/file-lock symptoms in the original issue were reproduced here.johnnyscaler-Will commentedon Oct 8, 2026
Additional reproduction affecting Computer Use on Windows (not just the Browser integration).
Environment: Windows ChatGPT/Codex desktop AppX package
26.1002.7124.0; bundled Computer Use plugin26.707.31123.Failure: When trying Computer Use locally on the Windows desktop, module initialization fails:
Reproduction inside Codex's own Node REPL (not a separately installed Node.js):
The module exists; PowerShell can read the 9,860-byte file. Inside the Codex Node REPL,
fs.statSync()succeeds and asynchronousfs.realpath()succeeds, whilefs.realpathSync.native()fails withEPERM.Already tried: Microsoft Store latest version; Windows app Repair; application/system restart; confirmed Computer Use permissions enabled. Failure persists. Regular file tasks and iPhone-to-Windows Codex remote tasks work, but Computer Use (including Chrome desktop interaction) does not initialize. Please investigate the Windows sandbox/native-path-resolution behavior for bundled Computer Use modules.
kpsofteng commentedon Oct 9, 2026
Additional impact from an independent Windows desktop reproduction:
The EPERM realpath failure also blocks importing local project modules in the same Codex JS runtime, even when ordinary shell Node can import and test those modules successfully. In this case Chrome/Teams can still expose a raw DOM snapshot through the separate Computer Use surface, but there is no supported CUA-to-local-file handoff. As a result, a verified browser-side transcript traversal cannot be passed into the local parser/archive workflow.
Tried without changing permissions or user data:
This makes the regression block evidence-preserving browser workflows even when the signed-in site and visible DOM are otherwise healthy. No transcript content, credentials, or private URLs are included here.
zhangzhongxiang1335-png commentedon Oct 9, 2026
Additional regression confirmation
I can reproduce this issue on Codex Desktop
26.1002.52244 (Build 13536)on Windows.Chrome browser control stopped working after updating Codex/ChatGPT Desktop. Restarting Windows, restarting Codex, and reinstalling/checking the Chrome extension did not restore browser control.
Importantly, I have another Windows PC at home that has not been updated, and Chrome browser control still works normally on that machine.
This strongly suggests a regression introduced in the recent Windows Codex/Desktop update rather than a Chrome configuration issue.
Browser control is important for production workflows that depend on existing Chrome sessions, cookies, logged-in websites and automated publishing.
Please prioritize a fix, and if possible provide either:
Current affected version:
26.1002.52244, Build13536.nicho2 commentedon Oct 9, 2026
Additional reproducible diagnostics on 2026-10-09, from another Windows 11 x64 installation with Codex Desktop AppX 26.1002.7124.0 and bundled Browser 26.1002.52244. This appears to be the same
EPERM realpathfailure, with additional evidence about the Node REPL kernel environment (not a confirmed root-cause fix).Result
.../.codex/plugins/cache/openai-bundled/browser/26.1002.52244/scripts/browser-client.mjswithEPERM: operation not permitted, realpath.realpathalso fails forC:\Windowsfrom the sandbox, while it succeeds for the same paths under external Node outside the sandbox.Path-resolution comparison
statSync/lstatSyncrealpathSyncrealpathSync.nativenode_replkernel, Browser file andC:\WindowsIn
node_repl, Codex patchesfs.realpathSync; its.nativeproperty also points to this patched function. Thus those two kernel test columns are not independent native-API tests. The patched fallback works for the temporarykernel.jsscript, but fails for the Browser client, project README and runtime binary even thoughlstatSyncworks; the fallback's trusted-root set is narrower than the sandbox's file-read permissions.Security context / environment comparison
S-1-16-4096), using an explicitly launchedwindows.sandbox="mxc"; their supervisingnode_repl.exeprocess has medium integrity (S-1-16-8192).[windows] sandbox="unelevated"setting does not change the observed kernel's explicitmxcmode.NODE_REPL_TRUSTED_CODE_PATHSis defined under[mcp_servers.node_repl.env]and present in the supervisor environment (including the user's.codexroot), but absent in the JS kernel.NODE_REPL_NODE_MODULE_DIRSis present in the kernel.scriptsdirectory. The kernel does not receive that list.realpathresolution fails, and the trusted-path fallback does not cover it.setup refresh,runtime read/execute validation failed, oros error 32event was identified on this machine. This distinguishes this reproduction from the file-locking part of the original report.Hypothesis / request
The immediate loader failure appears to involve (1) native path canonicalization being rejected inside
mxcAppContainer and (2) a fallback whose trusted roots do not cover the Browser client becauseNODE_REPL_TRUSTED_CODE_PATHSis not propagated into the kernel even though it reaches the supervisor and worker. The exact internal environment-filtering decision and Windows right denied by the native operation remain unconfirmed.Could maintainers investigate environment propagation from node_repl supervisor into the low-integrity kernel and the consistency between sandbox readable roots and the module loader's realpath fallback? Ideally the bundled Browser client should import without disabling sandboxing or changing broad filesystem ACLs.
No private paths, account identifiers, session IDs, credentials, or private project contents are included in this comment.
henkelpress commentedon Oct 9, 2026
Reproduced again on October 9, 2026 after updating the Windows desktop app. The in-app Browser remains unusable. This adds results for a newer app build than the original report.
Versions tested
Current reproducible failure
The documented absolute-path import fails before setupBrowserRuntime() can execute or any browser/tab can be selected:
Same-session diagnostic results
The older NODE_REPL_TRUSTED_RPC_ENABLED environment-filter repair is already present and the trusted RPC function is available. Runtime resets, the desktop update, and the newer signed CLI did not restore Browser loading on this machine.
Please investigate the native Windows path-canonicalization step in the Browser module loader and provide a compatible corrected runtime or documented supported remedy. The runtime file-lock repair and this loader failure should not be treated as the same verified fix.
No sandbox disabling, trust-check patching, browser-profile resets, or transcript modifications were used. This report intentionally omits private paths, account identifiers, chat contents, credentials, and unrelated logs.
jtunzi commentedon Oct 11, 2026
Additional independent reproduction and request for a supported fix, verified on October 11, 2026.
This comment was prepared by Codex from diagnostics on the account owner's Windows computer.
Environment
Failure
The documented absolute-path Browser import fails before setupBrowserRuntime or any tab selection:
Verified diagnostic results
Configuration trial after a full app restart
The existing user configuration specifies windows.sandbox="elevated". Adding features.prefer_mxc=false persisted through the restart, but both newly created supervisors still launched this kernel/worker explicitly with windows.sandbox="mxc". The documented Browser import still returned EPERM. The ineffective preference trial was then removed, preserving all other configuration.
An earlier, separately authorized environment-exposure-list trial was regenerated by the app on restart and is not retained.
There were no observed current Defender blocking events correlated with these tests. We have not established an antivirus cause or reproduced the separate runtime-file-locking provisioning failure from the original report.
Request
Could OpenAI investigate native path canonicalization and propagation/recognition of the authorized fallback roots in the Windows Browser kernel, and provide a corrected runtime or a documented supported workaround? In particular, how can this app-provided connection use a supported alternative when its launchers explicitly select MXC despite the persisted preference?
Acceptance is still pending: initialize the official in-app Browser, open https://github.com/, and read its real page title. Resets and the full restart above did not restore it.
The account owner reports that failures recur after desktop updates; this is user history, not a controlled comparison of releases. This report contains redacted paths and technical versions, with no private logs, credentials, session transcripts or personal documents attached.
ElliotDrel commentedon Oct 12, 2026
Note
🤖 GPT-6 responding on behalf of Elliot
Additional Windows reproduction with bundled Chrome plugin 26.1007.21434 and bundled CLI 0.162.0-alpha.17.2.
The documented browser-client.mjs import fails with EPERM at realpath, before browser setup or the extension handshake. Chrome is running; the official extension diagnostic reports installed and enabled, and the native-host manifest/registry diagnostic passes.
Completed recovery attempts: Chrome plugin reinstall, full app restarts, JavaScript kernel reset, and official elevated Windows sandbox setup. Setup completed successfully with exit code 0, but the documented Chrome import still fails after restarting the app.
New candidate test: downloaded the official rust-v0.163.0-alpha.5 Windows CLI release, verified the ZIP against GitHub's published SHA-256, and ran a fixed-file metadata probe using its MXC sandbox with the :workspace permission profile and managed configuration. No application/runtime override was installed. The same bundled Node executable reports:
The native lookup succeeds outside isolation. The alpha.5 sandbox probe therefore does not establish a fix for this loader failure. No alternate browser controls were used and no Chrome/session data, credentials, private paths, or raw logs are included.
Is there a supported corrected Node REPL/runtime build or an official compatible rollback route for the bundled Chrome runtime? A Chrome-only downgrade appears unlikely to bypass a loader failure that occurs before plugin execution, but no such downgrade has been tested here.
jtunzi commentedon Oct 13, 2026
Follow-up on the same Windows computer from my October 11 comment. On October 8, 2026, the in-app Browser successfully returned a live page title and accessibility tree while AppX 26.1002.7124.0 was installed. On October 10, importing the Browser client failed with
EPERM: operation not permitted, realpathunder AppX 26.1007.2314.0. Windows 11 26H2 had been installed on September 30, before the successful test.This timeline narrows the change window but does not establish the root cause; other reports show the same error on 26.1002. Is there an OpenAI-supported way to temporarily roll back the Windows app using an official signed package, or a fixed build for this error? The published MSIX link currently provides only the latest build.