Codex CLI Windows elevated sandbox fails mid-ACL: deny-read on OS-managed dirs hits Access Denied

cross2k13 · ghdev · 2026-10-14

openai/codex issue #53796: Codex CLI 0.162.0-alpha.17.2 on Windows 11 (26H2, build 26300.9711) fails when the elevated sandbox applies deny-read rules to OS-managed directories.

The helper successfully added two deny ACEs to an owned protected directory, then failed opening a deny ACL target (C:\ProgramData) for update with "Access is denied (os error 5)". The synthetic-only PowerShell payload never launched. The invocation used windows.sandbox=elevated, features.prefermxc=false, a named permission profile and --include-managed-config, with a redacted policy covering root read, multiple deny rules, and network.enabled=false. The author restored and verified the directory's pre-test DACL and notes this is one observed invocation, not a claim that all elevated configurations fail.

Original post →

More from coding & agent

coding & agent channel →