LATEST View all updates
AI

OpenAI Codex Heapjack and Overpatch: Sandbox Escapes, Affected Builds and Fixes

Two patched Codex sandbox escapes affected different trust boundaries. Check CLI and Desktop builds separately.

Coding-agent sandbox and host trust boundaries representing the Heapjack and Overpatch disclosures

Signal Brief

  • Overpatch and Heapjack were two different Codex sandbox failures, not one universal exposure affecting every installation the same way.
  • The disclosed fixed floors are Codex CLI 0.149.0 or later for Overpatch and Codex Desktop 26.818.21641 or later for Heapjack.
  • Heapjack's documented path involved a Desktop-installed privileged helper, so it should not be generalized to every standalone CLI installation.
  • TPS found no authoritative evidence of active malicious exploitation or verified CVE assignments during this review.

OpenAI Codex Heapjack Overpatch research disclosed two separate sandbox escapes that OpenAI says were fixed in August 2026. The vulnerabilities affected different trust boundaries and should not be treated as one universal Codex flaw. Overpatch affected the Codex CLI workspace-write boundary, while Heapjack involved a privileged helper installed by Codex Desktop and was demonstrated from a read-only session under the researchers’ documented configuration.

The practical question for Codex users is therefore not simply whether they use Codex. They should inventory the CLI and Desktop separately and compare each installed build with the disclosed fixed floor. Accomplish AI identifies Codex CLI 0.149.0 or later as fixed for Overpatch and Codex Desktop build 26.818.21641 or later as fixed for Heapjack.

Heapjack and Overpatch are different sandbox failures

Issue Affected area Boundary demonstrated Disclosed fixed floor
Overpatch Codex CLI Writes outside the intended workspace boundary under the demonstrated pre-fix condition CLI 0.149.0 or later
Heapjack Codex Desktop-installed helper Privileged helper actions outside the intended sandbox boundary under the documented configuration Desktop 26.818.21641 or later

The distinction matters because the two issues do not share the same prerequisite. A developer using an older CLI should not automatically assume the Heapjack path applies, while a Desktop installation can introduce configuration relevant to later Codex use.

Heapjack and Overpatch comparison showing Codex CLI and Desktop sandbox boundaries and fixed builds
Infographic separating the affected Codex component, trust boundary and disclosed fixed build for Heapjack and Overpatch.

What Overpatch changed in the CLI trust boundary

Overpatch concerned the behavior of the Codex CLI while operating under workspace-write. The intended security model allowed writes within the approved workspace while restricting writes outside it. The researchers demonstrated that the affected patch path could cross that intended filesystem boundary.

TPS is not reproducing the exploitation procedure. For defensive purposes, the important facts are the affected trust boundary and the disclosed fixed version: users operating an older Codex CLI should move to version 0.149.0 or later, or follow newer OpenAI guidance if it supersedes that floor.

What Heapjack changed in read-only mode

Heapjack involved a different architecture. The researchers describe a JavaScript helper installed by Codex Desktop that communicated with a more privileged native parent process. Under the documented pre-fix configuration, untrusted sandboxed JavaScript could cross the intended trust separation and cause actions outside the restricted sandbox.

The demonstration is significant because it originated from read-only mode, but that does not mean every read-only Codex session or every CLI-only installation had the same exposure. The disclosed path depended on the relevant Desktop-installed helper and global Codex configuration.

Was every Codex CLI user exposed to Heapjack?

No universal exposure claim is supported by the reviewed evidence. The researchers’ Heapjack path involved a helper placed into global Codex configuration by the Desktop application, which could then be available to subsequent Codex use. That is materially different from saying every standalone CLI installation contained the same vulnerable path.

Administrators should therefore inventory whether Codex Desktop had been installed in addition to checking the current CLI version.

OpenAI says both issues were fixed in August

Accomplish AI says it reported both vulnerabilities to OpenAI on August 12 and that both were fixed within eight days. OpenAI later told BleepingComputer that both issues had been addressed in August and said it had strengthened controls around agent write locations and expanded sandbox testing.

TPS did not recover a dedicated OpenAI security advisory that names Heapjack and Overpatch and maps each issue to a formal CVE. The absence of such an advisory does not negate the confirmed patch state, but it means CVE identifiers and a complete official affected-version matrix should not be invented.

Is malicious exploitation confirmed?

TPS did not establish authoritative evidence that Heapjack or Overpatch was exploited maliciously in the wild. The public material reviewed for this article documents researcher demonstrations and subsequent fixes, not an active compromise campaign.

That distinction should remain explicit. A demonstrated sandbox escape can justify prompt patch verification without being described as an actively exploited zero-day event.

What Codex users should check now

Check the Codex CLI version.

If the CLI is older than 0.149.0, update to 0.149.0 or a newer supported release.

Check Codex Desktop separately.

If Desktop is installed, verify that it is build 26.818.21641 or later.

Account for prior Desktop installation.

Heapjack’s disclosed path involved a Desktop-installed helper in global Codex configuration, so CLI and Desktop exposure should not be evaluated as completely independent when both have been used.

Treat unfamiliar repositories as untrusted input.

Sandbox restrictions reduce risk but should not be treated as proof that repository-controlled content can never reach a host boundary.

Keep restrictive modes enabled.

The disclosure does not justify disabling sandbox or approval controls. Update the product while retaining the strongest practical isolation settings.

Follow newer OpenAI guidance.

If OpenAI later publishes a dedicated advisory or newer fixed-version requirement, use that controlling guidance instead of relying indefinitely on the disclosure-era floors.

What remains unresolved

TPS did not establish formal CVE assignments, a complete lower affected-version range, identical Heapjack behavior across every operating system or evidence of malicious exploitation. The researchers’ host-action demonstration included platform-specific behavior, so the exact proof-of-concept impact should not be generalised across Windows, Linux and macOS without additional evidence.

This same URL should be updated if OpenAI publishes a dedicated advisory, CVEs are assigned, the affected build or platform scope changes, additional sandbox hardening is documented or credible evidence of real-world exploitation emerges.

Public provenanceVerification & change history

This log separates publication, substantive reader-facing updates and source-verification checks. Older maintenance activity may predate detailed public logging.

  1. Verified

    TPS completed a source-verification pass.

  2. Published

    Article first published.

Trust boundary

Disclaimer

ThePulseSignal (TPS) provides this evidence-led article for informational and editorial guidance. Heapjack and Overpatch were disclosed after fixes were available, but their exposure conditions differ and TPS did not establish universal impact, CVE assignment or active exploitation. The fixed-build floors here come from the original researchers and current corroborating evidence. Verify current OpenAI Codex release and security guidance before making consequential security or deployment decisions.