@openai/codex is vulnerable to Improper Link Resolution
55
CVE Score
Medium
Improper Link Resolution
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.
Upgrade the @openai/codex and/or the @openai/codex-sdk library to the patch version.
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.
0.0.1 - 0.161.0
Fixed in 0.162.0@openai/codex is vulnerable to Improper Link Resolution in versions 0.0.1 - 0.161.0.
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.
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.