Intel

AIKIDO-2026-833155

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

CVE-2026-64650Published Aug 5, 2026
August 5, 2026

63

CVE Score

Medium

Authorization Bypass

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.

How do I fix this?

Upgrade the @ai-sdk/harness-codex 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 the harness on Linux with one or more host-provided tools while untrusted code executes in the sandbox.

Versions

1.0.12 - 1.0.28

Fixed in 1.0.29

Background info

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

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