@openai/codex is vulnerable to Server-Side Request Forgery (SSRF)
57
Medium Risk
Codex cloud task requests can carry saved ChatGPT credentials. The cloud task client does not restrict the configured backend URL to trusted origins and follows HTTP redirects, so a redirect or an untrusted backend base URL can forward the credentials to an attacker-controlled destination. This exposes the user's authentication token. The fix validates the backend URL against trusted HTTPS origins, rejects URLs carrying user info, queries, or fragments, and disables redirects before credentials are loaded.
You are affected if you are using a version that falls within the vulnerable range and you use the Codex cloud tasks feature with a backend URL or backend redirect that can be influenced by untrusted input.
@openai/codex is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.1.4160940 - 0.151.0.
Upgrade the @openai/codex library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.