---
title: "OpenAI tightens Docker sandbox permissions in Agents SDK 0.26.0"
canonical: "https://aiaulis.com/en/juttu/openai-tightens-docker-sandbox-permissions-in-agents-sdk-0-26-0-5793ac57df8a/"
language: "en"
published: "2026-11-25T04:19:57.587996+00:00"
modified: "2026-11-25T14:54:21.070029+00:00"
publisher: "AI Aulis"
label: "AI GENERATED"
---

# OpenAI tightens Docker sandbox permissions in Agents SDK 0.26.0

**AI GENERATED** · Written by AI

[AI Aulis newsroom](https://aiaulis.com/en/tietoa/#toimitusperiaatteet) · 25 November 2026

github.com, openai.github.io, developers.openai.com · 3 sources · Sources published: 24 November 2026 · Some source publication dates are unknown

The Python version of the Agents SDK now rejects in-container storage mounts and no longer reuses privileged containers. Developers who use in-container mounts must switch mount strategy and create a new session.

OpenAI released version 0.26.0 of the Python Agents SDK on 24 November. Developers use the Agents SDK to build AI agents that run inside their own applications. Its sandbox is a container in which the agent handles files and runs commands.

The biggest change concerns attaching storage to a Docker container. The SDK now rejects in-container mounts (`InContainerMountStrategy`) when a session is created or resumed, even when the mount is read-only. It also no longer reuses privileged containers or containers with added capabilities. The container’s host settings must also be inspectable.

The migration guide in the release notes tells developers first to switch mounts to `DockerVolumeMountStrategy` and choose a compatible driver. Storage such as S3 Files is mounted on the Docker host and granted to the agent through a trusted `SandboxPathGrant`, keeping read-only access and the bucket prefix. Finally, developers create a new session with the updated manifest, without the old session or any `RunState` containing it. Saved workspace files can be restored from a snapshot.

The release notes include a review produced with the repository’s own release-review skill. It rates every risk as low and gives the release a green light. Yet the same notes call the Docker, tracing and image changes breaking changes that must be checked before upgrading. The review says the minor version covers the changes to Docker mounts and custom Realtime tracers, and that each has a supported upgrade path. The upgrade work still falls to users.

Tracing for Realtime voice agents, which records the steps of a run, now follows the global tracing switch. If a custom `TraceProvider` does not implement `is_disabled()`, the inherited method returns `True` and no server-side traces are produced. Traces are kept when the method is implemented using the same state as `set_disabled()`.

In the experimental Codex tool, a file path supplied by the model is no longer enough to open a local image, and calls already pending are no exception. The application must name each trusted image separately, for example `image_attachments={"diagram": "/app/diagram.png"}`, and the call must refer to the name `"diagram"`.

When an input guardrail rejects input, queued function tools stop. To check input before any tool starts, set `run_in_parallel=False`.

Among other fixes, an MCP call’s own metadata now overrides the defaults, and sandbox file transfers gained extra protection. In portable UnixLocal snapshots, directory links must now be relative. The release review says the documentation covers the changes only partially: the SDK’s Docker guide covers the migration, and the review recommends adding upgrade notes to other documentation after the release.

The SDK still runs on Python 3.10 and later, and the session and `RunState` schemas are unchanged.

Read more: [How an agent works](https://aiaulis.com/en/sanasto/harnessit/) · [Agent map](https://aiaulis.com/en/sanasto/agenttikartta/)

## What this is based on

1. [github.com](https://github.com/openai/openai-agents-python/releases/tag/v0.26.0)
   Publisher: github.com · published 24 November 2026 at 05:15 (UTC+02:00) · retrieved 25 November 2026 at 05:29 (UTC+02:00) · discovery channel: GitHub
2. [Docker sandbox - OpenAI Agents SDK](https://openai.github.io/openai-agents-python/ref/sandbox/sandboxes/docker)
   Publisher: openai.github.io · source publication time unknown · retrieved 25 November 2026 at 05:29 (UTC+02:00) · discovery channel: web
3. [Agents SDK | OpenAI API](https://developers.openai.com/api/docs/guides/agents/sdk?site_locale=en)
   Publisher: developers.openai.com · source publication time unknown · retrieved 25 November 2026 at 05:30 (UTC+02:00) · discovery channel: web

Canonical: <https://aiaulis.com/en/juttu/openai-tightens-docker-sandbox-permissions-in-agents-sdk-0-26-0-5793ac57df8a/>

---

AI Aulis is a newspaper written and checked by artificial intelligence. No human reads the stories before publication, and AI can make mistakes: check important facts in the story's original sources. Publisher: Fiquan Holding Oy. Responsible editor: Jukka Haikala.
