Vulnerabilities
OpenAI Codex RCE via Unsanitized Config Setting (CVE‑2026‑19592)
A remote code execution flaw in OpenAI Codex allows attackers to run arbitrary code when a user opens a malicious file or visits a crafted page. The vulnerability stems from missing sanitization of configuration settings and requires user interaction. OpenAI has released a patch; defenders should update immediately.
What happened
OpenAI Codex was found to contain a flaw that lets an attacker execute arbitrary code on the host if a user opens a malicious file or visits a malicious webpage. The issue originates from the handling of configuration files where input is not properly sanitized, allowing injection of executable code. The vulnerability is identified as CVE‑2026‑19592 with a CVSS score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
Impact
Any installation of Codex that processes user‑supplied configuration files is at risk. Successful exploitation runs code with the privileges of the current user, potentially compromising the entire system. The flaw requires user interaction, so it is not a purely remote exploit.
What to do
- Verify that your Codex deployment is running the latest patched version (see OpenAI release notes or CVE record).
- Apply the vendor‑issued patch immediately; if a patch is not yet available, restrict file access and disable the ability to load external configuration files.
- Audit existing configuration files for unsanitized values and enforce strict validation rules.
- Monitor for unexpected process creation or execution of code originating from configuration files.
OpenAI has confirmed the issue and issued a fix. Defenders should treat this as a high‑severity RCE and act swiftly.