TL;DR: OpenAI’s Codex CLI release notes map seven weeks of security-relevant fixes, including untrusted-repo code execution, browser-reachable local WebSocket exposure, read-deny bypasses, and credential-handling changes, according to Backslash Security. The lesson is that pinned agent versions inherit old trust boundaries, so version floors become a governance control, not a maintenance detail.
At a glance
What this is: This analysis shows that Codex CLI release notes function as security receipts, revealing trust-boundary fixes that pinned fleets continue to carry if they do not update.
Why it matters: It matters because agent tooling now sits inside identity and execution control planes, so IAM, PAM, and NHI teams need version governance, not just access governance.
By the numbers:
- Seven weeks of stable releases from 0.128.0 through 0.141.0 produced a set of trust-boundary fixes for Codex CLI.
- A raw WebSocket upgrade carrying Origin: evil.example returned 101 Switching Protocols on 0.135.0 but 403 Forbidden on 0.136.0.
- 0.136.0 still carried the /diff code-execution path, -execution path, the read-deny bypasses, and the browser-reachable WebSocket.
- 0.139.0 still left the sandbox network egress boundary, egress boundary unconstrained.
👉 Read Backslash Security's analysis of Codex release-note security floors
Context
Codex CLI is not just a model client. It combines model reasoning with local files, shells, sandboxed execution, credentials, MCP servers, plugins, hooks, and local listeners, which means every release can change a security boundary that matters to identity governance. When a fleet stays pinned below a fix, it keeps the earlier trust model even if the maintainer has already corrected it.
For IAM, PAM, and NHI teams, the practical issue is version drift inside tooling that can execute code or reach local services. Release notes become evidence of what the old version still allows, which is why update floors matter as much as access floors. The starting position described here is increasingly typical for fast-moving agent tooling environments.
That makes the control problem broader than patching alone. Security teams need a way to know which versions are running across laptops, CI images, containers, and long-lived sessions, because the agent’s version is part of the control plane.
Key questions
Q: What breaks when an agentic coding tool stays below its security floor?
A: Older versions keep the earlier trust boundary, so approval scope, listener protection, read restrictions, sandbox egress, or hook enforcement may remain weaker than the maintainer now intends. That means a normal developer action can still trigger code execution, credential exposure, or policy bypass even when the latest release has already closed the gap.
Q: Why do agentic tools complicate version governance for IAM teams?
A: Because the version is part of the control plane, not just the software package. If a tool can run shells, read files, store credentials, or expose local listeners, then staying on an old release preserves security behavior that has already been judged unsafe. IAM teams need version governance tied to access and execution risk.
Q: How do security teams know if an agent release floor is actually being enforced?
A: They should compare deployed versions across endpoints, containers, and running sessions against the minimum floor for each security boundary, then verify that blocked versions cannot start or persist. If the same old version can still launch, the floor exists on paper only and the control is not effective.
Q: Who is accountable when a pinned agent version still allows old behavior?
A: Accountability sits with the team that owns software intake, runtime policy, and exception approval. If a version floor is documented but not enforced, the organisation is accepting the older control state by design. That makes release tracking part of governance, not just operations.
Technical breakdown
Why an agent version is part of the control plane
A coding agent that can call local tools, read files, open sockets, and invoke hooks is not just an application binary. Its version determines which boundaries exist around approvals, sandboxing, read restrictions, and network paths. In Codex CLI, a release note can mark the point where a boundary was tightened or a bypass removed. That means version pinning preserves the older behavior, even when no exploit is publicly named. For governance teams, the version number is therefore a control-state indicator, not a packaging detail.
Practical implication: treat agent version inventory as part of control attestation, not software housekeeping.
/diff, hooks, and local listeners as execution boundaries
The most important mechanism here is boundary crossing through local integration points. A repository can supply Git helpers, hooks can accept or fail to block results, and local WebSocket listeners can become browser-reachable if origin checks are missing. These are not theoretical abstractions. They are execution surfaces where a developer action can become code execution or policy bypass. In this case, the security significance comes from the interaction between untrusted content, local automation, and approval logic.
Practical implication: review every local execution surface as a potential policy boundary, especially where repository data influences command behavior.
Why credential and network fixes change the trust model
When an agent stores credentials locally or uses a sandbox egress path, the security question is not only whether the feature works, but whether the trust boundary is enforced consistently across versions. A change to token handling, encrypted storage, or proxy enforcement can be the difference between isolated execution and uncontrolled reach. The article shows that release notes often reveal that difference more clearly than a product page or advisory. For practitioners, the operational lesson is that boundaries must be versioned and validated.
Practical implication: require version-specific validation for credential storage and sandbox egress before allowing broad rollout.
Threat narrative
Attacker objective: The attacker wants to turn ordinary developer interaction with an agentic coding tool into local execution, credential exposure, or policy bypass without needing a separate exploit chain.
- Entry occurs when a user opens an untrusted repository or interacts with a browser-reachable local listener in a pinned Codex CLI version.
- Credential access or code execution follows when repository-selected helpers, weak origin handling, or permissive hook behavior lets untrusted input reach local execution paths.
- Escalation occurs as approval bypasses, read-deny drops, or sandbox boundary failures widen what the agent can read, run, or transmit.
- Impact is code execution, local data exposure, or policy bypass on developer systems that remain below the version floor.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- MongoBleed breach — MongoBleed exposed secrets across 87K MongoDB servers.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Version floors are a governance primitive, not a patch note. The article shows that each release can change the actual security boundary around an agentic tool, which means version drift is governance drift. A fleet pinned below the fix still carries the previous control state, even when the maintainer has already documented the correction. For identity teams, the implication is that release tracking belongs alongside access reviews and privileged session oversight.
Agent version ownership needs the same discipline as credential ownership. When a tool can execute code, open listeners, and store tokens, the version it runs is part of its effective authority. That is why inventory, enforcement, and exception handling must be explicit rather than assumed. Practitioners should stop treating tool versions as background infrastructure and start treating them as governed identity-adjacent assets.
Control-plane trust boundaries are now visible in release notes. The maintainer’s own disclosure shows what changed in approval scope, sandbox behavior, token handling, and local listener protection. That is valuable because it gives security teams a direct read on where the old boundary still exists in older fleets. The practical conclusion is that release-note archaeology has become a valid source of governance evidence.
Identity governance for agentic tools has to span files, shells, sockets, and hooks. The article makes clear that the risk is not one mechanism but the composition of several. A safe-looking command, a local listener, or a hook can each become a boundary failure if the version is old enough. Security programmes should therefore align NHI, PAM, and endpoint governance around the agent runtime itself.
Release-note transparency creates a new category of control evidence. Because the fixes are documented with receipts, teams can map version floors to specific trust boundaries instead of relying on vague vendor assurances. That improves accountability, but it also exposes how much hidden risk exists in pinned environments. Practitioners should use that evidence to define minimum supported versions for every agentic tool in production.
From our research:
- 85% of organisations lack full visibility into third-party vendors connected via OAuth apps, according to The State of Non-Human Identity Security.
- That same study found only 1.5 out of 10 organisations are highly confident in their ability to secure NHIs, which is why agent tool governance cannot rely on ad hoc visibility.
- For a broader control lens, read Ultimate Guide to NHIs , Key Research and Survey Results for lifecycle and governance patterns that apply when runtime identity is changing underfoot.
What this signals
Version management for agentic tools now belongs in identity governance. When a runtime can cross into files, shells, hooks, and listeners, its version becomes a governed attribute. Teams that do not inventory those versions will miss the boundary changes that matter most to risk, especially when update cadence is faster than review cadence.
Trust-boundary transparency is creating a new evidence model for practitioners. Release notes that point straight to merged fixes give security teams a basis for minimum supported versions, exception handling, and attestation. The programme implication is simple: if you cannot map the floor, you cannot prove the boundary.
Release-note archaeology will matter more as agent tools become operational. Teams should expect more security-relevant changes to surface in changelogs before they appear in broader advisories. That is why controls such as inventory, enforcement, and verification need to be tied to the specific runtime rather than the product family.
For practitioners
- Inventory agent versions across all execution environments Track Codex CLI versions on laptops, CI images, containers, and long-lived sessions, then compare them to the minimum version floor for each security boundary. A single machine check is not enough when sessions can outlive the installed package.
- Define version floors as enforceable policy Create a control that blocks or flags agent versions below the floor required for approval scope, read-deny enforcement, listener origin checks, and sandbox egress control. The policy should be explicit enough to survive exception handling.
- Audit local execution surfaces for untrusted input paths Review repository hooks, Git helpers, WebSocket listeners, and tool result handlers to see where untrusted content can still reach local code execution. Focus on surfaces that look like convenience features but behave like control boundaries.
- Treat credential storage changes as control changes Validate where tokens and encrypted payloads are stored before and after each update, especially if the tool uses local secrets files, keyrings, or MCP OAuth storage. Do not assume the same protection model persists across releases.
Key takeaways
- Pinned agent versions preserve old trust boundaries, so release floors are a security control, not a housekeeping task.
- Codex CLI release notes show that code execution, listener exposure, read-deny bypasses, and credential handling can all change from one version to the next.
- Security teams should inventory deployed agent versions and enforce minimum floors before treating the environment as controlled.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | Agentic tool behavior changes the runtime trust boundary and execution surface. | |
| OWASP Non-Human Identity Top 10 | NHI-03 | Credential and token handling in agentic tools is a core NHI governance issue. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege and access enforcement are undermined by old runtime boundaries. |
Audit credential storage and rotation behavior for agent tools and enforce minimum supported versions.
Key terms
- Version floor: The minimum software release required for a specific security boundary to exist. In agentic systems, a version floor is not cosmetic. It marks the point where approvals, sandboxing, listener protection, or credential handling changed in a way that affects real control state.
- Trust boundary: A point where data, commands, or identities move from one security assumption to another. In agentic tools, trust boundaries can exist in shells, hooks, sockets, repositories, or credential stores, which means a release note can document an actual security boundary rather than a simple feature change.
- Control plane: The set of mechanisms that decide how an identity or runtime is allowed to act. For agentic software, the control plane can include versioning, approvals, local listeners, sandbox rules, and credential storage, all of which influence what the tool can do at runtime.
- Local execution surface: Any local interface that can turn user or repository input into execution, including hooks, helper commands, sockets, and sandboxed shells. These surfaces matter because they often look like convenience plumbing but actually define where policy can be bypassed or enforced.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
This post draws on content published by Backslash Security: Every Codex Release Note Is a Security Receipt. Read the original.
Published by the NHIMG editorial team on 2026-04-30.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org