Codex sandbox permission profiles and Codex CLI 0.170–0.172
OpenAI explains how the Codex sandbox enforces filesystem and network limits, while Codex CLI 0.170 to 0.172 add GPT-6.2, remote sessions, and TUI changes.
Editorial Team
The Authority AI Tools editorial team maintains this directory using vendor documentation, dated source checks, product changelogs, and clearly identified hands-on observations where available.
OpenAI published a detailed explanation of the Codex sandbox on November 18, 2026, and shipped Codex CLI 0.170.0, 0.171.0, and 0.172.0 between November 18 and November 24. This update summarizes the sandbox configuration model and the most relevant CLI and app changes. (https://openai.com/index/inside-the-codex-sandbox/; https://developers.openai.com/codex/changelog)
How the Codex sandbox works
OpenAI says the sandbox lets Codex work in the user's existing environment "within filesystem and network limits you control." It uses operating-system sandboxing on macOS, Windows, and Linux behind a common API, and child processes inherit their parent's restrictions, including descendants that outlive the original process. The shell tool is the main consumer, and the codex sandbox command runs arbitrary commands under a configured profile outside an agent session. (https://openai.com/index/inside-the-codex-sandbox/)
Permission profiles
Sandbox behavior is configured with permission profiles in config.toml:
:workspaceallows writes in the workspace, keeps.gitand.codexread-only, allows broad reads subject to OS permissions, and disables network access by default.:danger-full-accesshas full, direct network access by default.- Custom profiles can extend a built-in profile; OpenAI's example
devprofile adds write access to a build cache, makes.devcontainerand.vscoderead-only, and denies**/*.envandsecrets.
Filesystem rules grant read, write, or deny. Network access can be off, fully on, or routed through a proxy with exact or wildcard domain rules, where deny rules win over allow rules. Administrators can use requirements.toml and allowed_permission_profiles to limit which profiles users may select. (https://openai.com/index/inside-the-codex-sandbox/)
Codex CLI 0.170.0 (November 18)
This release added WebRTC negotiation for realtime voice calls in the TUI, refreshed authentication headers for OpenTelemetry HTTP exporters, and experimental support for identically named MCP servers across environments. Fixes include sandbox permission preservation for child threads and MCP OAuth credential races, and the sandbox documentation was updated to explain permission profiles. (https://developers.openai.com/codex/changelog)
Codex CLI 0.171.0 (November 20)
Version 0.171.0 added GPT-6.2 Sol and Astra to model catalogs, with Sol as default, and enabled the TUI workspace by default with document previews, image previews, and subagent transcripts. It also added codex exec --remote <ADDR> for noninteractive sessions on an existing app server, /rc and /remote for remote control and device pairing, and configurable undo and redo in the prompt composer. Permission profiles now stay intact when changing working directories. (https://developers.openai.com/codex/changelog)
Codex CLI 0.172.0 (November 24)
Version 0.172.0 adds tab completion for supported slash command arguments, Shift+Up and Shift+Down navigation between task groups in the agent command center, lazy start for optional stdio MCP servers with cached tool lists, and per-tool approval reviewers for connected app tools in config.toml. App-server clients can select Amazon Bedrock Runtime during setup. codex exec resume now restores saved sandbox permissions and workspace roots, and Code Mode uses gRPC for all host connections, deprecating the code_mode_host_grpc setting. (https://developers.openai.com/codex/changelog)
Codex app and mobile updates
Codex app 26.1117 (November 19) can open ZIP files to browse and preview their contents without extracting them, and 26.1120 (November 23) previews CSV files as tables with a View source option. ChatGPT for iOS 1.2026.314 adds a Codex project picker for Cloud or a paired computer, saved side chats on paired computers, and Command + N on iPad. (https://developers.openai.com/codex/changelog)
Earlier releases are covered in our Codex CLI 0.167–0.169 update.
Sources
- OpenAI — Inside the Codex sandbox (November 18, 2026): https://openai.com/index/inside-the-codex-sandbox/
- OpenAI — Codex changelog: https://developers.openai.com/codex/changelog
Free Resource
2026 AI Coding Tools Comparison Chart
Side-by-side comparison of features, pricing, and capabilities for every major AI coding tool.
No spam, unsubscribe anytime.
Frequently Asked Questions
What is Codex sandbox permission profiles and Codex CLI 0.170–0.172?
Related Articles
Claude Ship beta: Claude reviews, fixes, and approves pull requests
Anthropic's Claude Ship combines Code Review, PR Steward, and policy-based Claude Approvals, with a /ship command in Claude Code for GitHub repositories.
Read more →Product UpdatesGemini 4 Neon launches in the Gemini API, Antigravity, and Cursor
Google's Gemini 4 Neon arrives November 18 with a 1M-token context window, four thinking levels, and $3/$15 pricing across the Gemini API, Antigravity, and Cursor.
Read more →Product UpdatesWarp adds linked billing with Claude Platform organizations
Warp teams can link a Claude Platform organization so Anthropic bills Claude API usage in Warp directly, without sharing an API key.
Read more →