Skip to content

[macOS Work] Public Git commands fail DNS and both network permission requests and sandbox escalation are blocked #62291

Open

Description

@ZaidLT

Environment

  • Codex Desktop 26.1111.21308 on macOS, Apple Silicon
  • ChatGPT Work in a local project, reproduced in a fresh chat with Approve for me selected
  • The permissions menu only offers Approve for me and Full access. Ask for approval is absent, and the desktop app settings do not show a Data controls entry.

Steps to reproduce

  1. Start a fresh Work chat in a local project and select Approve for me.
  2. Ask the agent to run git ls-remote https://github.com/github/gitignore.git HEAD. The repository is public.
  3. Ask the agent to request network-only permission for the turn, then retry. If that request is unavailable, ask it to request a one-time sandbox escalation for the same command.

Actual behavior

  • The sandboxed Git command exits 128 with Could not resolve host: github.com.
  • Unauthenticated curl requests to api.github.com, cloudresourcemanager.googleapis.com, and management.azure.com also fail with curl exit 6.
  • The shell reports CODEX_SANDBOX_NETWORK_DISABLED=1.
  • The affected session reports request_permissions: false and sandbox_approval: false. The sandbox escalation is rejected before the command runs or reaches automatic review.
  • The identical public Git command succeeded after a one-time escalation in a separate Codex session. I was also able to continue GitHub work using the Codex CLI in my IDE.

Expected behavior

Provide a supported way to grant shell network access to the Work chat while retaining workspace-scoped filesystem writes. If the active policy intentionally blocks network permission requests and sandbox escalation, show that restriction in the app and explain which setting controls it.

Related reports

Activity

  1. added
    bug
    app
    sandbox
    connectivity
    on Nov 18, 2026
  2. ZaidLT commented on Nov 20, 2026

    @ZaidLT
    Author

    Update on the reproduction across fresh Work chats

    After updating to 26.1111.21308, I started several fresh Work chats associated with a local project. Every new chat I tried defaulted to In the cloud and had the same Git DNS failures and blocked permission requests.

    I only figured out where the chats had started after hovering over an unlabeled icon at the top of the chat. Its tooltip reads:

    This chat was started in the cloud, so ChatGPT won't be able to access files on your computer unless you add them to your conversation

    I eventually found the control in a different place. When starting a new chat, the Where should this chat run? control at the bottom of the new-chat screen lets me select On your computer.

    Is In the cloud the expected default for new Work chats associated with a local project? Can I make On your computer the default? Please show the selected location as a visible label before the first message is sent and explain how it affects shell networking and approval options.

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

    appbugconnectivitysandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions