Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.928.21956 (client-reported macOS Desktop version)
What subscription do you have?
ChatGPT paid subscription Pro $100
What platform is your computer?
Darwin 25.6.0 arm64 arm
What issue are you seeing?
After updating the unified ChatGPT/Codex Desktop app on September 30, 2026, I observed inconsistent shell permissions between an existing local Codex conversation and a newer conversation in a ChatGPT project.
The existing conversation shows the orange Full access control and successfully runs network-dependent local CLI tools. The affected newer conversation does not show that control, and its shell commands cannot resolve public hosts or send packets. This blocks internal engineering CLI workflows as well.
Relevant persisted user configuration:
approval_policy = "never"
sandbox_mode = "danger-full-access"Affected shell diagnostics, reproduced September 30 and again October 1 (Asia/Shanghai):
$ printenv CODEX_SANDBOX_NETWORK_DISABLED
1
$ curl --noproxy '*' --connect-timeout 5 --max-time 8 -I https://www.baidu.com
curl: (6) Could not resolve host: www.baidu.com
Additional September 30 tests:
$ ping -c 2 -W 1000 www.baidu.com
ping: cannot resolve www.baidu.com: Unknown host
$ ping -c 2 -W 1000 1.1.1.1
ping: sendto: Operation not permitted
2 packets transmitted, 0 packets received
The affected runtime reports workspace-write filesystem restrictions and restricted networking rather than full access. A local CLI also fails to create its existing SSO cookie lock outside the writable roots with PermissionError / Operation not permitted, so the restriction affects both network and filesystem access.
Important scope clarification: these conversations run on the same Mac/account but have DIFFERENT working directories and entry points. The working conversation is a local Codex task; the affected one is backed by a ChatGPT project mirror. This is not a controlled same-directory A/B test. I cannot yet tell whether this is an upgrade regression, a managed Work/project execution policy, or a failure to propagate permissions. The app does not make that distinction clear. The version used before the upgrade has not been verified, and I have not tested a downgrade.
What steps can reproduce the bug?
- On macOS Apple Silicon, use Desktop 26.928.21956 with the user configuration shown above.
- Open an existing local Codex conversation: it shows Full access and can run network-dependent CLI operations.
- Open a newer Work conversation from a ChatGPT project and run the same type of local CLI operation.
- Compare the composer: the affected project conversation has no Full access control.
- Ask the affected conversation to run:
printenv CODEX_SANDBOX_NETWORK_DISABLED
curl --noproxy '*' --connect-timeout 5 --max-time 8 -I https://www.baidu.com
ping -c 2 -W 1000 1.1.1.1- Observe the blocked DNS/network diagnostics above despite the persisted full-access configuration.
Restarting the app and retrying commands did not resolve the problem. Exact private conversation identifiers and project paths are omitted from this public report; they can be provided privately to support if needed.
What is the expected behavior?
If local permissions apply to this Work/project execution mode, the effective permissions should match the explicitly configured Full access setting.
If this mode intentionally uses a separate managed sandbox and ignores local Codex permissions, the app should clearly display that effective policy and explain why the Full access control is unavailable, including the supported way to authorize required network access and local CLI state directories.
Please clarify which behavior is intended and investigate the permission selection/propagation for new project-backed conversations.
Additional information
Observed starting September 30, 2026, after a Desktop update; reproduced October 1.
Environment: macOS Apple Silicon; uname -mprs: Darwin 25.6.0 arm64 arm. Desktop version 26.928.21956 is reported by the client. No API-key authentication is used for Codex.
The fact that the same Mac still supports working CLI requests in the other conversation is a useful control, but does not by itself identify the component selecting the affected execution policy.
Related reports reviewed: #28281 (Desktop permission propagation), #48821 (Full access not inherited by other chats), #49088 (sandbox permissions lost on app-server cold resume). They differ in platform or trigger; I am not asserting a shared root cause.
This report omits company names, business data, internal hostnames, account identifiers, private session IDs, credentials, absolute user paths, and screenshots containing private conversations.
Activity
github-actions commentedon Sep 30, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
mayuelei66 commentedon Sep 30, 2026
In codex work mode,new work conversation can be delete conversation,old work can not,which is also wired。
zkwasm commentedon Oct 25, 2026
Reproduced on October 25, 2026, on macOS arm64, Codex Desktop 26.1021.31345 (client-reported version). This is blocking an actual SSH deployment workflow.
Observed behavior:
Operation not permitted. A direct TCP check withncfails with the same error, before SSH authentication.curlto example.com fails withCould not resolve host.We have not established whether this is an upgrade regression, an intentional Work execution policy, or permission propagation failure. The working and failing session entry points have not been controlled in an A/B test.
Please provide a supported way to authorize network access for these Work/project conversations, or clearly expose their effective restrictions and a way to move the task to a compatible local session. The lack of a visible permission control makes a core coding/deployment workflow unexpectedly stop midway.
Server addresses, credentials, private project paths, and conversation identifiers are omitted.
47815 commentedon Oct 25, 2026
Same here on ChatGPT Desktop 26.1021.31345 (build 21828), macOS Apple Silicon, bundled Codex 0.164.0-alpha.11.1. Personal account, no MDM, no requirements.toml / managed config.
Settings: Work → Local network access On, Local file access Workspace write, Data controls → Work network access On.
Result in three Work chats, including two new ones created after enabling the settings:
Control: the bundled CLI from Terminal with danger-full-access reaches HTTPS and writes anywhere, so the machine's network is fine.
I've also filed a private report with thread IDs. Possibly related: #54837, #55922. #49809 appears to cover CLI/TUI only, not Work.
dabco commentedon Oct 25, 2026
Additional reproduction on October 25, 2026.
Environment: Mac mini, Apple Silicon; macOS 27.0.1; ChatGPT Desktop 26.1021.31345, build 21828; personal Pro account.
Work network access is enabled, but the affected Work conversation has no permission selector beneath the composer.
Same HTTPS test on the same Mac:
CODEX_SANDBOX_NETWORK_DISABLED=1andsandbox_approval=false. No callablerequest_permissionstool was available.The in-app browser can load example.com while the Work shell remains blocked. New chats, app/Mac restarts, another network and testing the macOS firewall off/on did not restore Work shell access.
This also blocks the official Sites workflow from reaching
git.chatgpt-team.site.These are different product entry points, so this comparison does not establish the root cause. Could the Work/runtime team clarify which policy controls these sessions and provide a supported way to request network access?
Private account details, project paths, credentials and session IDs have been omitted.
47815 commentedon Oct 25, 2026
Additional detail: in a new Work chat the permission selector is visible before the first message and defaults to Full access; it disappears after the first message. Commands in that chat still get CODEX_SANDBOX_NETWORK_DISABLED=1 and fail DNS, with no approval prompt. So the selected Full access isn't applied to the execution environment.
aierdiao commentedon Nov 22, 2026
Same issue on macOS (Codex Desktop, Nov 2026). Inside a Project chat, the shell has no DNS (
scutil --dns→ "No DNS configuration available";curl→ "Could not resolve host" for api.cloudflare.com / github.com), even though~/.codex/config.tomlhassandbox_mode = "danger-full-access". The host Terminal works fine.Workaround: start a regular (non-Project) local chat with Full access — network works there.