Skip to content

[Windows / Work] Full access appears enabled but SSH runs as CodexSandboxOffline; reselecting permissions restores access #61794

Open

Description

@mower07

What version of the Codex App are you using?

Windows package OpenAI.Codex 26.1111.2228.0; bundled runtime 0.169.0-alpha.11.1 (inspected locally).

Subscription / platform

ChatGPT Pro; Windows x64, native PowerShell, local execution through ChatGPT Work. Observed 2026-11-16.

What issue are you seeing?

The UI indicated Full access, but an affected conversation executed commands as CodexSandboxOffline and could not read the Windows user's SSH configuration. The user reports that explicitly selecting Full access again restored SSH in a new conversation, despite Full access already being displayed.

This report distinguishes the affected conversation's diagnostics from the user's successful check in a new conversation; recovery inside the original conversation was not verified.

Observed evidence (identifiers redacted)

Affected conversation:

  • whoami -> \codexsandboxoffline
  • Reading C:\Users<user>.ssh\config -> Access denied
  • ssh-add -l -> Error connecting to agent: No such file or directory
  • ssh -o BatchMode=yes -o ConnectTimeout=10 hostname -> Could not resolve hostname
  • Effective execution policy: workspace-write, restricted networking, granular approvals with sandbox_approval=false.
  • The local config.toml already contained sandbox_mode="danger-full-access" and approval_policy="never".
  • Normal PowerShell SSH and an older conversation worked on the same machine.
  • Restarting the application / SSH connection did not restore the affected conversation's access.

After the user explicitly selected Full access again, they supplied this successful output from a new conversation:

  • whoami -> <normal-user>
  • ssh -o BatchMode=yes -o ConnectTimeout=10 hostname ->

No server SSH configuration or key changes were needed for this recovery.

Steps / reproduction limits

  1. Have a working Windows SSH alias and credentials under the normal Windows user.
  2. Open a local Work conversation with Full access apparently enabled/displayed.
  3. Run whoami and the read-only SSH hostname probe above.
  4. In the affected state, observe the sandbox account and inaccessible SSH configuration.
  5. Explicitly reselect Full access, even if already shown as selected, and repeat the probe in a new conversation.

This is an observed incident and user-confirmed workaround, not a deterministic minimal reproduction. The initial misleading Full access state included the General settings UI; the exact control clicked for the successful reselection was not independently captured. The evidence does not establish whether the original defect is UI state, permission persistence/propagation, or a session snapshot. A causal app-update regression is not established.

Expected behavior

The UI should distinguish permission availability/defaults from the current conversation's effective permissions. If Full access is shown as active, it should agree with the policy applied to subsequent execution. If an override or pending change prevents this, show its source and when the new selection takes effect. Users should not need to reselect an apparently active mode to make it apply.

Related reports

#56498 (SSH in new versus old chats), #57671 and #55828 (Work remains restricted), #56663 and #32338 (display/runtime permission mismatch). A shared root cause is not confirmed. Please consolidate if appropriate.

No private keys, tokens, server addresses, account identifiers, raw logs, or conversation transcripts are included.

Activity

  1. added
    bug
    app
    windows-os
    sandbox
    on Nov 16, 2026
  2. Chota-Cabras commented on Nov 21, 2026

    @Chota-Cabras

    Confirmed deeper Windows socket-level diagnostic (2026-11-21): Within Codex/ChatGPT local execution, an attempted TCP connection to 35.214.207.120:18765 returns Windows socket AccessDenied / WSAEACCES error 10013, before any SSH authentication. Ordinary manually launched PowerShell on the same machine returns TcpTestSucceeded: True for that exact IP/port. The 2players SSH alias still also fails DNS inside Codex. Bypassing DNS with the IP does not bypass the outbound socket restriction. Switching the assistant model to GPT-6.2 did not change the permission. Full access was selected in the conversation composer, and whoami showed the regular Windows account. Strong evidence that the Codex execution context is subject to network/socket restrictions despite the displayed Full access setting. Please examine enforcement and permission propagation; changing SSH credentials or server-side SSH settings is not indicated.

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions