Researchers escape OpenAI Codex sandbox to run commands on host
Summary
Security researchers discovered two sandbox escape vulnerabilities in OpenAI Codex, a coding assistant tool that runs code in a restricted environment (sandbox, a confined area where untrusted code cannot access the wider system). The more critical flaw, called Heapjack, allows an attacker to execute commands on a developer's computer without permission by reading a security token from shared memory and impersonating the trusted system. Both vulnerabilities were reported to OpenAI on August 12 and fixed within eight days.
Solution / Mitigation
Both flaws were fixed within eight days of being reported to OpenAI on August 12, according to Oren Yomtov of Accomplish AI. The source does not specify which version numbers contain the fixes or provide details about the specific patches applied.
Classification
Affected Vendors
Related Issues
CVE-2026-63086: text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compat
CVE-2026-34371: LibreChat is a ChatGPT clone with additional features. Prior to 0.8.4, LibreChat trusts the name field returned by the e
Original source: https://www.bleepingcomputer.com/news/security/researchers-escape-openai-codex-sandbox-to-run-commands-on-host/
First tracked: September 20, 2026 at 02:01 PM
Classified by LLM (prompt v3) · confidence: 92%