@openai/agents-core is vulnerable to Improper Authorization
59
CVE Score
Medium
Improper Authorization
The runner's function tool approval flow evaluates a tool's needsApproval callback before honoring an approval decision that is already recorded for that tool call. When needsApproval is dynamic and re-evaluates to a non-approval-required result after a human-in-the-loop pause and resume, a tool call the user previously rejected can still execute because the stored rejection is never consulted. This affects gated operations including shell, apply patch, computer use, and custom function tools. The fix checks the recorded approval or rejection first and only invokes needsApproval when no decision exists.
Upgrade the @openai/agents-core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and rely on human-in-the-loop tool approvals.
0.0.1 - 0.11.8
Fixed in 0.12.0@openai/agents-core is vulnerable to Improper Authorization in versions 0.0.1 - 0.11.8.
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.