Codex Desktop on Windows applies networkAccess=false despite network access being enabled
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.21434 (build 13901, prod)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Bug description
Codex Desktop on Windows disables network access inside the workspace-write sandbox even though Allow network access is enabled in Settings and network_access = true is configured in config.toml.
Codex Desktop version: 26.1007.21434 (build 13901, prod)
Application settings:
- Approval policy: On request
- Sandbox settings: Workspace write
- Allow network access: Enabled
- Web search: Live
Actual sandbox environment: CODEX_PERMISSION_PROFILE=:workspace CODEX_SANDBOX_NETWORK_DISABLED=1 Effective sandbox mode: workspace-write Effective network policy: restricted
Prompt used: Check Internet access inside the current Codex Desktop Windows sandbox. Do not request elevated permissions, run outside the sandbox, or modify any files. Run whoami, inspect sandbox environment and resolve www.nuget.org.
Observed failures: Resolve-DnsName www.nuget.org: Access is denied Node HTTPS api.nuget.org: getaddrinfo ENOTFOUND api.nuget.org npm.cmd ping: No PONG received
The problem persists after restarting Codex Desktop and opening a new conversation.
What steps can reproduce the bug?
Steps to reproduce
- Open Codex Desktop on Windows 11.
- Go to Settings > Configuration > Codex.
- Set Approval policy to "On request".
- Set Sandbox settings to "Workspace write".
- Enable "Allow network access".
- Open the user
config.tomland verify:
sandbox_mode = "workspace-write"
[windows]
sandbox = "elevated"
[sandbox_workspace_write]
network_access = true
- Close and restart Codex Desktop.
- Open a new conversation in a local workspace.
- Ask Codex to execute the following commands inside the sandbox only:
whoami
$env:CODEX_SANDBOX_NETWORK_DISABLED
$env:CODEX_PERMISSION_PROFILE
Resolve-DnsName www.nuget.org
- Observe that the sandbox has
CODEX_SANDBOX_NETWORK_DISABLED=1, and DNS resolution fails withAccess is denied.
The issue reproduces in newly created conversations, not only previously restored ones. No elevation or system modifications are required to reproduce it.
What is the expected behavior?
When "Allow network access" is enabled and [sandbox_workspace_write].network_access = true, Codex Desktop should permit outbound network requests within the workspace-write sandbox.
Expected results:
- Effective network policy allows network access.
CODEX_SANDBOX_NETWORK_DISABLEDis not set to1.- DNS resolution and HTTPS requests work without requiring execution outside the sandbox.
- The selected network permission remains effective after restarting the application and opening or restoring conversations.
The sandbox should retain its normal workspace-write filesystem restrictions and On-request approval policy. Full Access should not be necessary.
Additional information
Diagnostic findings
Codex Desktop: 26.1007.21434, build 13901, prod.
A restored-session event on October 12, 2026, at 12:11:48 (UTC+7) contained:
sandboxPolicySource=default hasLatestThreadSettings=false hasLatestTurnParams=false shouldSendPermissions=false derivedSandboxPolicy: workspaceWrite, networkAccess=false responseSandboxPolicy: workspaceWrite, networkAccess=false responseActivePermissionProfile=:workspace responseApprovalPolicy=on-request
At 12:11:59: useAppServerPermissionDefault=true
Additional observations:
- UI and config.toml both enable network access.
- No duplicate sandbox/network settings or relevant profile overrides found.
- Two permissionProfile/list calls appear without response payloads.
- Logs do not reveal the merged configuration or why the default has networkAccess=false.
- Codex CLI --no-daemon successfully accesses HTTPS under CodexSandboxOnline.
- One Desktop session temporarily accessed HTTPS, but became restricted again after restart.
Please investigate default profile generation and policy merging, including permissionProfile/list, config/read, configRequirements/read, and restored-session permission derivation. The root cause remains unconfirmed.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #52236
Powered by Codex Action
Additional evidence of a similar Node ENOTFOUND symptom on Windows. I have not established that this has the same root cause as the UI/effective-policy mismatch reported above.
Environment verified from saved runtime metadata:
- Windows (exact edition/build not verified in this diagnostic).
- Bundled Node.js 24.19.0; runtime bundle 26.1011.11113.
- Installed
@openai/codexCLI package 0.147.0. This does not establish the affected desktop/app-server version; those versions are unverified. - Effective execution contract:
sandbox_mode=workspace-write, network access restricted. I have not verified an enabled-network UI setting or config mismatch for this case.
A single request from the original isolated executor to https://fapi.binance.com/fapi/v1/time at 2026-10-13T15:03:25.810Z failed by 15:03:25.826Z with:
getaddrinfo ENOTFOUND fapi.binance.com
There was no HTTP response or serverTime. The worker used the bundled Node https.get, normal certificate validation/default DNS lookup, a 5-second timeout, no retries or redirects, no custom resolver/proxy/direct IP, and no escalation or alternate execution environment. Worker exit and cleanup were confirmed.
Earlier, at approximately 00:21 UTC on the same date, the same installed Node executable in ordinary desktop PowerShell resolved this hostname successfully (four addresses). A normal desktop browser also received a response. These controls were not contemporaneous and used a different security context, so they do not establish causation or prove that the isolated executor recovered.
Could maintainers clarify whether this failure is expected under the effective restricted-network profile, and which supported non-sensitive diagnostic can distinguish an intentional policy denial from a resolver failure inside that same executor? In particular, is there a supported way to inspect the effective DNS/HTTPS policy and correlate the request with a denial/resolver event without disabling isolation or granting broader access?
Sharing here rather than opening a duplicate; please let me know if this belongs in a separate report. No credentials, private project files, or raw private logs are included.
I encountered similar symptoms in the ChatGPT Windows desktop app after upgrading Codex CLI from 0.161.0 to 0.163.0: SSH worked in ordinary PowerShell, but sandboxed SSH failed with connect … port 22: Permission denied, despite sandbox_workspace_write.network_access = true.
In my case, the sandbox had both CODEX_SANDBOX_NETWORK_DISABLED=1 and CODEX_NETWORK_PROXY_ACTIVE=1, with runtime-provided HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY endpoints. Direct connections were blocked, but the managed proxy was usable. Explicitly routing SSH through the provided SOCKS5 proxy using a ProxyCommand helper allowed connections to both public and private servers. Separate SSH account isolation issues then surfaced: the sandbox account could not read my Windows user’s known_hosts or private key. After configuring strict host-key verification and authorizing a dedicated sandbox key, SSH login succeeded and returned the remote hostname and username with exit code 0.
You could check those environment variables inside the affected sandbox, then test an HTTP/HTTPS client explicitly configured to use the supplied proxy against a policy-allowed destination. For Node versions supporting it, try node --use-env-proxy your-test.js; see [Node’s proxy documentation](https://nodejs.org/docs/latest-v24.x/api/http.html#built-in-proxy-support). Use the endpoints supplied by your runtime rather than copying mine.
This resolved my SSH access without disabling the sandbox. However, it does not establish that your logged networkAccess=false mismatch has the same root cause. My result shows that CODEX_SANDBOX_NETWORK_DISABLED=1 alone does not prove all proxy-mediated networking is unavailable.
I am experiencing a similar issue with the Codex desktop app on Windows.
Configuration
“Allow network access” is enabled in the app settings. My local config.toml also contains:
sandbox_mode = "workspace-write"
[windows]
sandbox = "elevated"
[sandbox_workspace_write]
network_access = true
Actual behavior
Despite this configuration, a PowerShell command executed by Codex reports:
CODEX_SANDBOX_NETWORK_DISABLED=1
Network tests inside the same execution environment fail:
curl.exerequests tohttps://www.openai.com,https://www.baidu.com, andhttps://github.comfail with error 6:Could not resolve host.- A request to
https://1.1.1.1fails with error 7:Could not connect to server. - Connecting to a temporary TCP listener on
127.0.0.1fails with a socket access-permission error.
Troubleshooting already attempted
- Verified that network access is enabled in both the app settings and
config.toml. - Used the Repair option in Settings.
- Restarted the app and retried the network tests.
The issue persists after these steps. In earlier testing, a separately launched Codex CLI session with an explicit network-access configuration could access the network, while the desktop session remained restricted.
Expected behavior
The desktop app should apply the enabled network permission while retaining the workspace-write filesystem restrictions.
These symptoms appear consistent with this issue, although I cannot confirm that the underlying cause is identical. Could the team investigate why the desktop execution environment still disables network access despite the configured setting?
Please let me know which specific logs or diagnostic information would help. I also tried contacting support through help.openai.com, but the support chat repeatedly failed with an error while generating a reply.
Additional diagnostic evidence from my desktop logs:
A thread-resume event on 2026-10-19T08:58:27.806Z contains:
responseSandboxPolicy.networkAccess=true derivedSandboxPolicy.networkAccess=false sandboxPolicySource=default sandboxPolicyChanged=true shouldSendPermissions=false hasCurrentPermissions=false hasExplicitPermissions=false hasLatestThreadSettings=false hasLatestTurnParams=false
The same mismatch appears in multiple resume events from October 12–19.
This shows a discrepancy between the returned sandbox policy and the policy derived by the desktop client. It does not establish which policy ultimately reaches the executor, but may help narrow the investigation to default permission handling during thread restoration.
Additional reproducible evidence on Windows after a recent Codex/ChatGPT desktop update (2026-10-21). This is blocking normal development and FTP deployments across multiple local projects.
Environment
- Windows NT 10.0.26300 (x64); native PowerShell 7.6.5 in the Codex executor.
- Windows sandbox configuration:
[windows] sandbox = "unelevated". - User
config.tomlexplicitly setsapproval_policy = "on-request",sandbox_mode = "workspace-write", and[sandbox_workspace_write] network_access = true. - Desktop preferences show both default permissions and Full Access enabled. However, the effective execution context still reports workspace-write with networking restricted.
- Desktop runtime metadata contains
BROWSER_USE_CODEX_APP_VERSION=26.1016.51333(exact build in the application's About dialog was not separately verified). Separately installed Codex CLI is version0.163.0.
Actual behavior in Codex Desktop
CODEX_SANDBOX_NETWORK_DISABLED=1.- Direct TCP connection to an external FTP server on port 21 fails immediately with
System.Net.Sockets.SocketException,SocketErrorCode: AccessDenied,NativeErrorCode: 10013(WinError 10013). This is not a DNS or authentication failure. - When the agent requests permission, the runtime refuses before displaying any user approval dialog:
request_permissions: false. The user has already approved the intended deployment. - Updating the user configuration did not fix the current desktop session; this report does not claim that a fresh desktop process was exhaustively retested.
Control tests on exactly the same Windows PC
- Ordinary Windows PowerShell:
Test-NetConnection <same-host> -Port 21returnsTcpTestSucceeded: True. - Standalone Codex CLI started outside the desktop host with
codex --no-daemon -C <workspace> -s workspace-write -a on-request -c 'sandbox_workspace_write.network_access=true':CODEX_SANDBOX_NETWORK_DISABLEDis not set and the same external FTP server:21 TCP connection works.
Expected behavior
The desktop app should honor the requested network access and approval settings as the CLI does, or should show a working permission request instead of silently denying it. Users should not need to abandon the GUI or grant danger-full-access for normal version-controlled development/deployments.
Please investigate desktop permission-profile derivation, overridden network policies, and why request_permissions is forced to false. Production host details, private project paths and credentials are intentionally omitted.
I can reproduce this issue on Windows with Codex Desktop runtime version 26.1021.31345.
Configuration:
- Sandbox:
workspace-write - Allow Network Access: enabled
[sandbox_workspace_write] network_access = true- Web search: live
Results:
- Codex Desktop:
CODEX_SANDBOX_NETWORK_DISABLED=1 - Interactive Codex CLI:
CODEX_SANDBOX_NETWORK_DISABLED=1 - Non-interactive
codex exec:CODEX_SANDBOX_NETWORK_DISABLED=1 CODEX_NETWORK_PROXY_ACTIVE: absentHTTP_PROXY,HTTPS_PROXY,ALL_PROXY: absent
The sandbox has no confirmed managed-proxy route. No proxy request was attempted because its availability and authorization could not be established.
Host connectivity is working:
Resolve-DnsName github.comsucceeds.curl.exe -I --max-time 10 https://github.comreturns HTTP 200 from regular Windows PowerShell.
I also reset config.toml, restarted the application and Windows, and reproduced the issue in a fresh task.
Could the maintainers clarify why the effective sandbox policy disables network access despite the enabled configuration, and how to inspect the source of the effective policy?
I would prefer to retain workspace-write and avoid switching to unrestricted Full Access.
I have a macos repro:
macOS repro — same behavior, desktop app ignores network_access = true in user config.
- Environment: macOS 26.6.1 (aarch64), Codex desktop 26.1007.41230, CLI 0.164.0-alpha.11.1
- Symptom: All external DNS resolution fails inside sandboxed shells (api.github.com, github.com, google.com). scutil --dns returns "No DNS configuration available"; dns-sd -G v4
returns DNSServiceGetAddrInfo failed -65563 (Service Not Running). Shell exposes CODEX_SANDBOX=seatbelt and CODEX_SANDBOX_NETWORK_DISABLED=1. - Config attempted: ~/.codex/config.toml contains sandbox_mode = "workspace-write" and [sandbox_workspace_write] network_access = true. Fully quit and relaunched the desktop app — new sessions still start with network disabled.
- codex doctor output: filesystem sandbox: restricted · network sandbox: restricted; configuration scope reported as "invocation config, including cloud-managed policy", suggesting the desktop launcher overrides user config with a managed profile.
- Proxy: env | grep -i proxy → empty; codex doctor reports managed proxy: not configured, so no proxy fallback path.
- Worked until: Oct 26, 2026 (earlier that day). No local config changes preceded the breakage; reproduces across fresh sessions.
Additional reproduction on November 4, 2026, in ChatGPT desktop Work using a local Windows/PowerShell workspace. The user explicitly authorized this report. The exact desktop app version has not been verified, and we cannot confirm that the underlying cause is identical to this issue.
Settings and configuration:
- The user supplied a screenshot showing Settings > Data controls > Work network access enabled.
- The local user config.toml contains:
approval_policy = "on-request"
sandbox_mode = "workspace-write"
[windows]
sandbox = "elevated"
[sandbox_workspace_write]
network_access = true
Observed before and after the user reported restarting ChatGPT:
- The command environment reports
CODEX_SANDBOX_NETWORK_DISABLED=1. curl.exe --head --connect-timeout 5 --max-time 8 https://github.comfails withcurl: (6) Could not resolve host: github.com.- Earlier
Resolve-DnsNamechecks for github.com and the deployment source hostname returnedAccess is denied. - No
CODEX_NETWORK_PROXY_ACTIVE,HTTP_PROXY,HTTPS_PROXY, orALL_PROXYvariables were returned by the environment check. No runtime-provided proxy route was available to test.
Impact: an existing ChatGPT Sites production release is blocked at the required source Git push. Local authentication regression tests and the production build pass. The Sites connector recognizes site ownership and successfully issues a fresh source-repository write credential, but the local command executor cannot reach the source repository. Connected-app calls remain available, which is how this comment is being submitted. Production hosting and database have been left unchanged.
This establishes an enabled-setting/effective-execution mismatch; it does not establish the root cause or prove that public DNS or the deployment service is faulty. Please advise how to inspect and correct the effective network policy in the Windows desktop execution environment while retaining workspace filesystem restrictions. No credentials, private source code, local paths, or raw logs are included.
Additional Windows desktop Work evidence, observed November 8, 2026 America/Chicago. The user supplied screenshots of the settings and of a newly created read-only capability-test chat.
The configuration UI shows workspace write with network access enabled. In the original chat, direct command reads still returned CODEX_SANDBOX_NETWORK_DISABLED=1 and no managed-proxy indicator; a saved-profile hostname-only SSH probe was refused at TCP connection time, before authentication.
A fresh chat created after the settings changes reports the same outcome:
- Local command execution succeeds.
- CODEX_SANDBOX_NETWORK_DISABLED=1; inspected managed-network/proxy flags and standard proxy variables are unset.
- Existing trusted SSH profile resolves with BatchMode=yes, IdentitiesOnly=yes and strict host-key checking.
- The hostname-only probe fails with connection-time Permission denied, SSH exit255; authentication never starts.
The fresh-chat result is evidence supplied by the user in a screenshot; its underlying tool trace was not independently retrieved in this reporting chat. The original-chat command results above were directly observed.
The desktop app's own saved SSH connection can connect after revisiting Connections; its separate startup auto-connect discrepancy is documented in #59931. An earlier packaged-PowerShell launch refusal is separately reported in #60336; PowerShell 7.6.9 subsequently started successfully in this chat, so that launch refusal is not currently reproducing. The network block persists after command execution recovered. No causal connection between these symptoms is established.
This rules out the problem being limited to the original chat's saved state, but does not establish the source of the effective policy. Exact desktop package version/OS build remain unverified. No keys, host trust, SSH profile, server configuration or services were changed for these tests. Private paths, host identities, credentials, account/conversation IDs and raw logs are omitted.
Is there a supported way to inspect and correct the policy delivered to a fresh local Work command executor while retaining workspace filesystem restrictions?
Windows, app 26.1106.6628.0, ejecutor 0.167.0-alpha.4.1. Full access guardado y Work network access activado. El ejecutor aplica workspace-write con red restringida; localhost:3306 falla con WinError 10013 antes de autenticarse. Persiste tras reiniciar y en chats nuevos sin proyecto. CLI 0.167.2 con network_access=true conecta correctamente al mismo puerto. Solicitamos identificar y corregir el origen del permiso efectivo. Causa raíz todavía no confirmada.
Additional reproduction on November 13, 2026: Local network access is set to On, but the affected Windows Work execution context still reports “Network access is restricted.” A full application restart and a completely new Work chat did not resolve it.
Detailed reproduction and control results: https://github.com/openai/codex/issues/53501#issuecomment-6853904392
Inside Work, Git fails with getaddrinfo() thread failed to start, Resolve-DnsName returns “Access is denied,” and PowerShell reports the InitializeDefaultDrives failure. A .NET DNS lookup also fails. The identical Git command and DNS resolution succeed in ordinary PowerShell on the same computer. This affects more than Git, but we have not tested every protocol or confirmed the underlying cause.
Feedback ID from the affected conversation: b8667baa-61ff-4e5f-be73-0772f2adf33d.
Sharing this cross-reference here because the enabled-setting/restricted-execution discrepancy appears relevant to this broader issue.
Additional reproduction , 02:04:06 UTC 14 November 2026. The symptoms match this report. I can add one data point: the CLI bundled with the desktop app gets network access on the same machine.
Environment
- Windows 11, version 26H2 (OS build 26300.9974), x64
- Desktop app: OpenAI.Codex 26.1111.2228.0 (Microsoft Store)
- Runtime packages installed: OpenAI.CodexPrimaryRuntime 26.1110.778.0 and 26.1112.611.0
- Bundled CLI:
%LOCALAPPDATA%\OpenAI\Codex\bin\<id>\codex.exe, which reports v0.167.0-alpha.4.1 config.toml:[windows] sandbox = "elevated". It has noapproval_policy,sandbox_mode, or network entries.- Plan: Pro
What happened
- Downloads from local chats worked before. They stopped on the morning of 14 November 2026. I had changed no settings.
- The fault affects new chats, older chats that had downloaded from the same site, chats in a project, and chats outside any project.
- Restarting the app and installing an app update made no difference.
Inside an affected desktop chat
I have replaced the real host name with example.com in the output below.
Resolve-DnsName -Name example.com
-> example.com : Access is denied.
curl.exe --head --connect-timeout 15 --max-time 30 https://example.com/
-> curl: (6) Could not resolve host: example.com
The session reports this effective policy:
- Network access: restricted
- Approval policy: granular.
sandbox_approval,rules, andskill_approvalare automatically rejected.mcp_elicitationsmay prompt. - Filesystem: workspace-write, with additional managed path restrictions
- The
request_permissionstool is not available in the session.
Settings checked
- Settings > Data controls > Work network access > Allow public internet access is on.
- New chats show no permissions control under the message box. Some older chats still show one.
- I added
[sandbox_workspace_write] network_access = truetoconfig.tomland restarted. Nothing changed, so I removed it. %USERPROFILE%\.codex\.sandbox\setup_error.jsondoes not exist.%USERPROFILE%\.codex\.sandbox\sandbox.logdoes not exist either, so I cannot attach it.
Control test: bundled CLI, same machine, same Windows account
codex.exe -c sandbox_workspace_write.network_access=true exec --skip-git-repo-check --sandbox workspace-write "<prompt>"
- Header:
sandbox: workspace-write [...] (network access enabled)andapproval: never curl.exe -I https://example.com/->curl: (35) schannel: AcquireCredentialsHandle failed: SEC_E_NO_CREDENTIALS. This looks like the separate Schannel issue in #46726.- Node.js 24.19.0
https.getto the same site -> an HTTP response from the server. DNS and TLS both worked.
The sandbox on this machine can provide network access when the CLI asks for it. Only sessions that the desktop app starts are restricted, whatever the settings say.
Side note
%USERPROFILE%\.codex\.sandbox-bin still holds codex.exe v0.158 from 29 September and no setup helper. A desktop chat suggested running sandbox setup --elevated from that copy as a repair. It fails with orchestrator_helper_launch_failed: failed to launch setup helper (non-elevated): program not found.
Could a maintainer say where the desktop app's effective network policy comes from? Is there a supported way to restore network access for local chats?
Additional reproduction on 16 November 2026, using local ChatGPT Work on Windows with a personal ChatGPT Pro account.
Environment
- Desktop package observed in the running app resource path:
OpenAI.Codex 26.1111.2228.0. - Command runtime observed in the Node executable path:
OpenAI.CodexPrimaryRuntime 26.1112.611.0. - Native Windows / PowerShell execution.
Settings versus actual execution
- Settings → Data controls → Work network access → Allow public internet access is already enabled. This was enabled earlier today; repeatedly suggesting that I turn it on does not resolve the problem.
- The local user configuration was read directly and contains:
[sandbox_workspace_write]
network_access = true
[windows]
sandbox = "elevated"
- The actual command environment still reports
CODEX_SANDBOX_NETWORK_DISABLED=1. - The task's supplied effective permissions describe restricted network access and automatically rejected sandbox approvals; no supported network permission request tool is exposed.
Observed tests
- A separate headless Playwright Chromium process starts successfully, but navigation to the public demo application fails with
net::ERR_NAME_NOT_RESOLVED. - Independent .NET DNS lookups from the command executor for the application host,
www.microsoft.com, andchatgpt.comall returnNo such host is known. - The same application loads successfully in normal Chrome on the same computer. This is a separate browser execution path, not proof that the command sandbox has connectivity.
- Git access to the Sites source host also fails with
Could not resolve host. - Connected GitHub and plugin APIs continue to work, but these are likewise separate execution paths.
This blocks a straightforward Playwright PNG screenshot task despite the UI and local configuration both enabling internet access. I have not confirmed a successful standalone CLI workaround on this machine, and I am not claiming the precise internal cause is established.
Could you identify which policy source supplies the effective network restriction to local Work sessions, and provide a supported way to reconcile it with the enabled UI setting while retaining workspace filesystem isolation? Ideally, the UI should display the actual effective permission and any overriding policy rather than requiring repeated configuration changes that have no effect.
No firewall, DNS, certificate, or sandbox protections were disabled during these tests. Private application hosts, local paths, credentials, and raw logs are omitted.
Additional reproduction on 17 November 2026 with ChatGPT Work on Windows, using PowerShell 7.6.9.
- Work network access was enabled in the desktop app. After toggling it off and on, setting
[sandbox_workspace_write] network_access = truein the user configuration, and restarting the app, the Work shell still reportedCODEX_SANDBOX_NETWORK_DISABLED=1. We parsed the TOML and confirmed thatnetwork_accessis the booleantrue. - In ordinary Windows PowerShell,
git fetchsucceeded. In the Work shell, against the same GitHub remote from the same checkout, Git returned exit code 128. Two installed Git clients reportedgetaddrinfo() thread failed to startandCould not resolve host: github.com, respectively. The Work shell also failed to resolve the separate deployment Git host.CODEX_NETWORK_PROXY_ACTIVE,HTTP_PROXY,HTTPS_PROXY, andALL_PROXYwere unset. - When we ran the normal release helper in Work, it accepted the short-lived deployment credential on hidden stdin, then failed during its GitHub fetch, before attempting an authenticated push. The release stopped before the build.
How can we identify which policy supplies the effective network setting to this Windows Work shell, and is there a supported way to make the enabled setting take effect while retaining workspace filesystem isolation?
Additional reproduction on 17 November 2026 with ChatGPT Work on Windows, using PowerShell 7.6.9.
- Work network access was enabled in the desktop app. After toggling it off and on, setting
[sandbox_workspace_write] network_access = truein the user configuration, and restarting the app, the Work shell still reportedCODEX_SANDBOX_NETWORK_DISABLED=1. We parsed the TOML and confirmed thatnetwork_accessis the booleantrue.- In ordinary Windows PowerShell,
git fetchsucceeded. In the Work shell, against the same GitHub remote from the same checkout, Git returned exit code 128. Two installed Git clients reportedgetaddrinfo() thread failed to startandCould not resolve host: github.com, respectively. The Work shell also failed to resolve the separate deployment Git host.CODEX_NETWORK_PROXY_ACTIVE,HTTP_PROXY,HTTPS_PROXY, andALL_PROXYwere unset.- When we ran the normal release helper in Work, it accepted the short-lived deployment credential on hidden stdin, then failed during its GitHub fetch, before attempting an authenticated push. The release stopped before the build.
How can we identify which policy supplies the effective network setting to this Windows Work shell, and is there a supported way to make the enabled setting take effect while retaining workspace filesystem isolation?
In my case the problem was the chat runs in cloud environment, i 've started a new chat and switch to desktop environment and it works again. Dont know why it was on cloud mode.
Additional Windows Work reproduction on 22 November 2026, submitted with the affected user's authorization.
Environment: Windows x64, OS version 10.0.26200.0; installed desktop resource path identifies OpenAI.Codex package 26.1117.4957.0; bundled browser/Computer Use version 26.1117.41037; personal Plus account.
The user reports that this workflow worked before the desktop update. Public internet access had been enabled and checked in an earlier investigation on November 21, but I could not finish a fresh UI verification during today's investigation.
Current observations:
- The actual Work command context explicitly describes restricted network access, workspace-write filesystem access, and granular approvals with sandbox escalation automatically rejected.
- The command environment contains CODEX_SANDBOX_NETWORK_DISABLED=1.
- A read-only probe, curl.exe -I --connect-timeout 5 --max-time 8 https://example.com, fails with curl error 6: Could not resolve host: example.com.
- Desktop resume diagnostics for several existing conversations derive a workspaceWrite policy with networkAccess=false and default permission sources.
- Web search and connected GitHub API requests work through their separate supported channels; this is not evidence of networking recovery inside the command executor.
Configuration distinction: the user reports that network_access=true was added during earlier troubleshooting, but today's direct read of the current user config did not contain a [sandbox_workspace_write] network_access entry. It contained sandbox_mode="workspace-write", [windows] sandbox="elevated", and respect_system_proxy=true. I am therefore not claiming a currently verified TOML/UI/effective-policy three-way mismatch.
Local desktop access then became unavailable before configuration repair and a restart could be completed. No successful recovery is claimed.
Could maintainers provide a supported way to inspect the effective permission source for a managed local Work task, reconcile it with the intended internet setting, and distinguish a managed override from missing user configuration? A recovery path that retains filesystem isolation would help.
Private project content, local usernames and paths, account identifiers, tokens, raw logs and screenshots are excluded. This is an additional observation, not proof of a shared internal cause.
I reproduced this on 22 November 2026 in ChatGPT Work on Windows. The chat can still read the local project files, but its PowerShell environment reports CODEX_SANDBOX_NETWORK_DISABLED=1. Running curl.exe -I https://example.com/ in that shell returns curl: (6) Could not resolve host: example.com. The same shell cannot resolve firebasehosting.googleapis.com, and the read-only Firebase Hosting lookup fails. This blocks a Firebase deployment workflow that previously worked.
Feedback ID from the affected chat: 3f959565-bbec-444d-87e1-2c3514b68b0b.
'Any Solution ?
Additional Windows reproduction on ChatGPT/Codex Desktop 26.1120.41243 (MSIX 26.1120.5083.0), November 24, 2026.
Work network access was on, but local execution reported CODEX_SANDBOX_NETWORK_DISABLED=1. Desktop logs showed responseActivePermissionProfile=:workspace and responseSandboxPolicy with workspaceWrite and networkAccess:false. Adding [sandbox_workspace_write] network_access = true and restarting did not change the effective behavior in the tested task. A fresh local task still failed to run git ls-remote https://github.com/openai/codex.git HEAD with getaddrinfo() thread failed to start. The same error occurred for a private Sites Git remote. Outside Codex, Windows reached that remote on TCP 443 and ordinary Git reached authentication.
A one-command network approval worked in this environment: the public Git probe returned a SHA, and an approved authenticated Sites git ls-remote returned the remote branch SHA. A subsequent approved fast-forward push, version save, and production deploy succeeded. This is a per-command workaround; we have not confirmed a fix for the default network policy mismatch.