ZDI-26-305: (0Day) OpenAI Codex Sandbox Escape Vulnerability

Published Apr 28, 2026
·
Updated

This vulnerability allows remote attackers to bypass the sandbox on affected installations of OpenAI Codex. User interaction is required to exploit this vulnerability in that the target must use Codex to process a repository containing malicious JavaScript. The ZDI has assigned a CVSS rating of 8.6.

Affected Software

1 affected component
OpenAI OpenAI Codex

Event History

Apr 28, 2026
Advisory Published
via ZDI·05:00 AM
Data Sourced
via ZDI·05:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of ZDI-26-305?

The severity of ZDI-26-305 is critical due to the ease of exploitation and potential impact on security.

2

How do I fix ZDI-26-305?

To fix ZDI-26-305, ensure that you update to the latest version of OpenAI Codex that addresses this vulnerability.

3

What are the potential impacts of ZDI-26-305?

The potential impacts of ZDI-26-305 include unauthorized access to sensitive information and system compromise.

4

Is user interaction required for exploiting ZDI-26-305?

Yes, user interaction is required to exploit ZDI-26-305 as it necessitates processing a repository containing malicious JavaScript.

5

Which software is affected by ZDI-26-305?

ZDI-26-305 affects installations of OpenAI Codex.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203