| Título | agent0ai agent-zero 2.15 Authentication Bypass |
|---|
| Descrição | Agent Zero up to version 2.15 can serve its HTTP API and WebSocket endpoints without authentication when the AUTH_LOGIN entry in usr/.env is missing, which may lead to remote code execution as the application user. Authentication is required only when a credential value is present in the environment; when the value is absent, the request guard executes the protected handler instead of rejecting it. The file is rewritten in place whenever settings are saved, so a crash, power loss, a full disk or an interrupted write during that save, an emptied file, or a replaced file leaves the next process without the line and the product starts with authentication disabled. An unauthenticated network client can then read the settings, drive the agent and its tools, and open the WebSocket channels. The issue was verified with the real product: with the line present the protected request was redirected to the login page and a valid session returned the protected data; with the line removed the same request returned the protected data without any session; restoring the line restored the redirect. |
|---|
| Fonte | ⚠️ https://github.com/agent0ai/agent-zero/issues/2019 |
|---|
| Utilizador | EM11 (UID 102789) |
|---|
| Submissão | 06/11/2026 08h26 (há 23 dias) |
|---|
| Moderação | 29/11/2026 16h01 (23 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 445192 [agent0ai agent-zero até 2.16 Authentication middleware helpers/api.py requires_auth Autenticação fraca] |
|---|
| Pontos | 20 |
|---|