What happened
Before the fix, agent-zero's requires_auth middleware in helpers/api.py allowed requests without enforcing authentication, exposing API endpoints remotely; the exploit is public and CISA SSVC flags exploitation as PoC (CVSS 3.1 7.3, CWE-287/306). The CLI/API of this autonomous agent framework is reachable by unauthenticated remote callers.
Why it matters
agent-zero is a fast-moving open-source autonomous agent framework. An unauthenticated caller reaching its API can drive the agent's tools, read its sessions and possibly invoke code execution affordances — a direct attack on a live agent deployment.
Attack vector
The requires_auth function in helpers/api.py fails to enforce authentication in the middleware, so a remote unauthenticated attacker can reach API endpoints intended to require a session, gaining access to agent state, tool execution and session data (CWE-287/CWE-306). The exploit is now public.
Affected systems
agent0ai agent-zero <= 2.16 (fix PR #2079 pending)
Mitigation
No tagged fix yet; track PR #2079 / issue #2019, and restrict network exposure / place the API behind an authenticated reverse proxy until patched.