Cases › security breach › LR-2026-0724
Researchers break out of OpenAI Codex sandbox twice
Preliminary Why: Publisher not yet named · subject to change
Status: fix reported
No source states: loss or records, agent tool, deployer, industry.
Severity minor: test: contained to one evaluation with no third party touched; no exploitation indicated in the sources
Security researchers found two sandbox escape flaws in OpenAI’s Codex coding agent, named Heapjack and Overpatch. Heapjack affected a JavaScript component installed with Codex Desktop; the researchers said a malicious repository could exploit it to run commands on the computer, and their demonstration worked even in strict read-only mode with no approval request shown. Overpatch affected the open-source Codex command-line tool, where the patching mechanism could be manipulated into gaining permission to write outside the project workspace. The researchers reported both issues to OpenAI, which fixed them within eight days, and the disclosure gave no indication either flaw had been exploited in the wild.
What happened
What was done
“Both vulnerabilities patched by OpenAI”
Vulnerability scanning of AI components
Same developer, same risk, after the fix: LR-2026-0788 · LR-2026-0792 · LR-2026-0069
Risks
Read from the sources; not yet reviewed by a person.
Controls
Not yet read for controls. Controls that mitigate the primary risk:
HarnessSandboxed code execution · Network egress control · Fail-closed defaults
ApplicationSegmentation of agent components · Vulnerability scanning of AI components · Live behaviour monitoring · Adversarial testing before deployment
Similar incidents
Evidence
- Cause a safeguard that was in place did not hold
No source states: what it reached or did, when it happened, when it was found, how many records were exposed, the direct loss, a count of the other parties affected, any court case, what set it off.
Show the full account: 4 items from the primary sources
What happened, in order
- August 12 Researchers reported the issues to OpenAI.
Not dated in the sources:
- OpenAI fixed both vulnerabilities within eight days of the report.
- Heapjack was fixed in Codex Desktop build 26.818.21641 and Overpatch in Codex CLI 0.149.0.
- Disclosure stated no indication that the vulnerabilities were exploited in the wild.
Show every field, with its source and grade
The AI system
What happened
Impact
Notes on gaps
Remediation adds J1 (known flaws patched) as the closest control for the fixes.
LR-2026-0724 · version 1 · published 2026-11-01 after automatic checks; not yet checked field by field by a person · JSON