Skip to content

Windows sandbox setup fails when deny_read_acl_state.json contains null bytes #48094

Open

Description

@eyadthebest

What version of the Codex App are you using (From “About Codex” dialog)?

26.917.9434.0

What subscription do you have?

pro

What platform is your computer?

windows

What issue are you seeing?

Browser-control tools fail before accessing any website.

Sandbox setup refresh repeatedly exits with:
apply deny-read ACLs
Caused by: parse deny-read ACL state
expected value at line 1 column 1

Read-only inspection found that:
%USERPROFILE%.codex.sandbox\deny_read_acl_state.json
contains exactly 22 null bytes.

Restarting Codex and rebooting Windows did not resolve the issue. No ACL files or sandbox settings were modified. The cause of the file corruption is unknown.

Expected behavior:
Sandbox setup should detect invalid persisted state and provide a safe recovery path.

Please advise how to restore the elevated sandbox while preserving existing security boundaries and local sessions. Sanitized logs and version details are attached.

Codex_sandbox_diagnostics.pdf

What steps can reproduce the bug?

  1. Open Codex on Windows 11 Pro (build 26200), with [windows] sandbox = "elevated".
  2. Ask Codex to inspect or interact with an open browser tab.
  3. The browser-control runtime exits before accessing the page.
  4. Sandbox setup refresh fails with:
    apply deny-read ACLs
    parse deny-read ACL state ...\.codex\.sandbox\deny_read_acl_state.json
    expected value at line 1 column 1
  5. Restart Codex or reboot Windows, then repeat the request. The same failure persists.

Read-only inspection found that deny_read_acl_state.json contains exactly 22 null bytes.

These steps reproduce the failure on the affected installation. I do not know what originally corrupted the file or how to reproduce that corruption on a clean installation.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Sep 25, 2026
  2. added
    bug
    windows-os
    sandbox
    on Sep 25, 2026
  3. github-actions commented on Sep 25, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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

    appbrowserbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions