Intel

AIKIDO-2026-833155

@ai-sdk/harness-codex is vulnerable to Authorization Bypass

Authorization BypassCVE-2026-64650 Published 2 days ago

63

Medium Risk

This Affects:

JS@ai-sdk/harness-codex
1.0.12 - 1.0.28
Fixed in 1.0.29
Are you affected? Scan for Free

TL;DR

The Codex harness in @ai-sdk/harness-codex relays tool calls from sandboxed code to host-exposed tools, and a fallback authorization path accepts any request whose calling process command line contains the allowed Codex CLI shim path. On Linux the relay reads /proc and grants authorization on that path match instead of requiring a model-authorized tool-call event. Untrusted code running in the sandbox, such as a malicious dependency or build script, can therefore invoke arbitrary host tools including secret lookups, deployment operations, and cloud API calls. The fix removes the process-path fallback and only accepts relay requests that match a short-lived, one-time authorization derived from a bridge-observed model event.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the harness on Linux with one or more host-provided tools while untrusted code executes in the sandbox.

Background info

@ai-sdk/harness-codex is vulnerable to Authorization Bypass in versions 1.0.12 - 1.0.28.

How to fix this

Upgrade the @ai-sdk/harness-codex library to the patch version.