Requires permissions escalation for every network request even when `network_access = true`
Open 💬 9 comments Opened Jan 15, 2026 by dhentschel-truepic
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.84.0
What subscription do you have?
It's an organization subscription. I don't know the details.
Which model were you using?
gpt-5.2-codex medium
What platform is your computer?
Darwin 25.2.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Terminal
What issue are you seeing?
All of a sudden, this morning, codex is asking me for permission every time I want it to do something that requires network access:
› Why do you keep asking for network access? You should already have network access.
• I’m in a sandboxed mode by default, and any command that makes a network request requires explicit escalation. That’s why you see me request network access when calling Jira
APIs. If you want, I can proceed without prompting each time by continuing to run those commands with the required network permission.
› Yes, but `$CODEX_HOME/config.toml` has:
[sandbox_workspace_write]
network_access = true
I've been using this for weeks and you've never asked for network access. The config file hasn't changed. Why is it all-of-a-sudden not working?
• The tool runs inside a sandbox requiring explicit permissions for network access despite approval_policy on-request. Should I proceed with escalated network requests silently?
─ Worked for 5s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• In this session, the tool is configured with approval_policy=on-request, so I must explicitly request escalation for any command that might use the network—even if your global
config allows it. That’s why it feels different from prior sessions.
If you want me to proceed, I’ll keep running Jira API calls with the required network permission.
› Nothing has changed in the config. Where did that approval policy change come from?
• It’s coming from the session/tool configuration I’m given at runtime, not from your config.toml. I don’t control or see how that policy is set—only that it’s enforced for this
session, so I have to request escalation for networked commands.
What steps can reproduce the bug?
› Please show me the results of a curl call to get `https://www.google.com/`.
• Running curl -L https://www.google.com/
Would you like to run the following command?
Reason: Need network access to run curl against an external URL.
$ curl -L https://www.google.com/
› 1. Yes, proceed (y)
2. Yes, and don't ask again for commands that start with `curl -L https://www.google.com/` (p)
3. No, and tell Codex what to do differently (esc)
Press enter to confirm or esc to cancel
What is the expected behavior?
It should run the curl command without prompting since I have this in my config.toml:
[sandbox_workspace_write]
network_access = true
This has been working well for many weeks, and as of this morning, it is prompting me for every command.
Additional information
_No response_
9 Comments
Thanks for the bug report. Does the problem go away if you downgrade to an earlier version? Do you happen to know which version was the last one that didn't exhibit this behavior for you?
I'm running into the same issue after upgrading from v0.80.0 to v0.84.0
Confirmed. I downgraded to
0.80.0and it will happily make the request:However,
0.81.0(and0.84.0as well) requires escalation:Thanks, that's very helpful!
Can you do
/feedback?This is my current config.toml which has no issues on 0.80.0 but in 0.84.0 it requires escalation on file writes in the project directory and anything for network access.
sandbox_mode = "workspace-write"
model_reasoning_effort = "high"
[projects."/var/www/test"]
trust_level = "trusted"
sandbox_mode = "workspace-write"
[sandbox_workspace_write]
network_access = true
/feedbacksent. Thread ID:019bc89d-bccb-72d3-b257-eaf64f4fff1csame. is it fixed?
Sent feedback with
/feedback. Thread ID: 019be51d-543a-76c3-b9a6-3e22cfd0d394