Intel

AIKIDO-2026-611492

@openai/codex is vulnerable to Improper Link Resolution

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 15, 2026
October 15, 2026

55

CVE Score

Medium

Improper Link Resolution

Are you affected? Scan for Free

TL;DR

Codex's Windows sandbox reads and rewrites a persistent deny-read ACL bookkeeping file using plain file reads and writes that follow reparse points and hard links. A reparse point or hard link placed at the bookkeeping file's path can redirect those reads and writes to an unintended file, corrupting the record of denied files or losing previously applied restrictions. A concurrent legacy writer could also race the recovery logic and leave bookkeeping in an inconsistent state. The fix opens the file without following reparse points, validates it has a single hard link, and retries past in-progress writers before trusting its contents.

How do I fix this?

Upgrade the @openai/codex and/or the @openai/codex-sdk library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run Codex on Windows with filesystem deny-read sandbox restrictions enabled.

Versions

0.0.1 - 0.161.0

Fixed in 0.162.0

Background info

@openai/codex is vulnerable to Improper Link Resolution in versions 0.0.1 - 0.161.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea