Read the docs

Missing authentication in agent0ai agent-zero API middleware

Priority HIGH 70CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.

Summary

agent0ai agent-zero versions up to 2.16 are affected. The requires_auth function in helpers/api.py, part of the authentication middleware, does not enforce authentication (CWE-306). A remote attacker without credentials can reach protected functionality. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

A vulnerability was detected in agent0ai agent-zero up to 2.16. Affected is the function requires_auth of the file helpers/api.py of the component Authentication middleware. Performing a manipulation results in missing authentication. The attack can be initiated remotely. The exploit is now public and may be used. The pull request to fix this issue awaits acceptance.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00499 35th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
agent0aiagent-zero2.0; 2.1; 2.2; 2.3; 2.4; 2.5; 2.6; 2.7; 2.8; 2.9; 2.10; 2.11; 2.12; 2.13; 2.14; 2.15; 2.16—No fix listedCNA
  • agent-zero Vendoragent0ai Affected 2.0; 2.1; 2.2; 2.3; 2.4; 2.5; 2.6; 2.7; 2.8; 2.9; 2.10; 2.11; 2.12; 2.13; 2.14; 2.15; 2.16 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:agent-zero:agent-zero:*:*:*:*:*:*:*:*——Agent Zero
  • cpe:2.3:a:agent-zero:agent-zero:*:*:*:*:*:*:*:* Versions — — ·Agent Zero

Remediation

The sources list no fixed version for agent-zero. A pull request to fix this issue awaits acceptance.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-138389
  2. 2026-11-30 Alias added: GHSA-gpc4-jwxv-r8fj
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-03751 frdel/agent0ai agent-zero document_query.py handle_pdf_document server-side request forgery CVSS 4.0MEDIUM 5.3
  • TI-2026-03750 frdel/agent0ai agent-zero files.py get_abs_path path traversal CVSS 4.0MEDIUM 5.3
  • TI-2026-99651 Protection mechanism failure in agent-zero InfectionChecker.gate CVSS 4.0MEDIUM 5.1
  • TI-2026-34711 Agent Zero < 1.15 Stored XSS via image_get API Endpoint CVSS 4.0MEDIUM 5.3

Sources