Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed agent-zero instance
-
ExploitRequest protected API endpoint
-
Executionrequires_auth treats auth as unconfigured
-
ImpactGain unauthenticated access to agent
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Per the supplied fix (PR #2079), the authentication bypass manifests when AUTH_LOGIN is absent from the environment while the instance is still meant to be protected: the pre-fix is_auth_configured returned bool(user) based on AUTH_LOGIN alone, and save_dotenv_value used a non-atomic read/seek/truncate write that could drop the AUTH_LOGIN line on a crash mid-write, leaving auth effectively disabled even with a password present. The instance must be network-reachable. Limiting factor: a properly populated .env that retains AUTH_LOGIN is not bypassable this way, so the exploitable population is instances that have hit the credential-loss/partial-write state - not every default deployment. The description's broader 'missing authentication' framing is not reconciled with this narrower mechanism in the available sources. |
| Impact | Signals are mixed and point to a medium, schedule-driven priority rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with VulDB's 6.9 and the CWE-306 'Missing Authentication' label paint a remote, unauthenticated-looking flaw, but the supplied source evidence (fix PR #2079) narrows the real mechanism: pre-fix, is_auth_configured keyed off AUTH_LOGIN presence alone, and non-atomic .env writes could drop that line, so authentication was silently disabled only in a specific lost-credential state - not against every default install. No CISA KEV listing and no EPSS score are provided, so widespread automated exploitation is not evidenced; exploitation status is only an unverified public PoC reference. The vuln.today Decision label is 'this_month', consistent with a real-but-not-critical issue. Note two data conflicts to verify: the description locates the flaw in requires_auth of helpers/api.py, yet the fix diff touches helpers/login.py and helpers/dotenv.py, not api.py; and intelligence says 'Patch: Available from vendor' while the description and PR state the fix 'awaits acceptance' (not yet merged). VulDB rates impact Low across C/I/A, but a genuine auth bypass on agent-zero - an AI agent that can execute code - could be materially higher; treat the Low rating as conservative. |
| Exploit ScenarioDerived | A remote attacker reaches a network-exposed agent-zero instance (≤2.16) whose authentication has been silently disabled after the AUTH_LOGIN value was dropped from its .env file (for example by a crash during a non-atomic credential write), and then calls protected API endpoints without credentials. A public PoC reference exists on the project issue tracker, but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Authentication on Agent Zero through 2.16 can be silently lost, allowing unauthenticated network requests to reach HTTP and WebSocket endpoints that should require a login. The pre-fix is_auth_configured() check looked only at whether AUTH_LOGIN was set, and save_dotenv_value rewrote usr/.env with a non-atomic read/seek/truncate sequence, so a crash mid-write could drop the AUTH_LOGIN line and leave the instance open even though AUTH_PASSWORD remained. Exposure is therefore limited to instances that have entered this partial-credential state while still network-reachable; a public PoC reference exists but is not verified as working exploit code, and no KEV listing confirms active exploitation.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - PR https://github.com/agent0ai/agent-zero/pull/2079 is the vendor's fix and, per the supplied data, is still awaiting acceptance as of analysis, so confirm on the project page whether it has landed and whether a tagged release beyond 2.16 exists before upgrading. Because the defect is triggered by a missing AUTH_LOGIN line, the most direct compensating control is to verify that usr/.env contains both AUTH_LOGIN and AUTH_PASSWORD after any crash, restart or configuration save, and to back the file up before changes; this fully closes the bypass path but relies on manual verification and does not fix the non-atomic write. Restricting the web UI and API to trusted networks or fronting it with an authenticating reverse proxy limits exposure to unauthenticated remote requests at the cost of breaking legitimate remote access, and it does not protect endpoints already reachable by insiders. Patch status and advisory details should be tracked through https://github.com/agent0ai/agent-zero/pull/2079 and https://vuldb.com/vuln/445192.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Agent Zero is a Python-based autonomous agent framework whose web UI and API are guarded by an authentication middleware; the flaw is a CWE-306 missing authentication for critical function condition in that gate. According to the supplied fix, helpers/login.py derived its decision from dotenv.get_dotenv_value(dotenv.KEY_AUTH_LOGIN) alone, so auth was considered unconfigured whenever the login name was absent, regardless of a still-present password. Compounding this, helpers/dotenv.py's save_dotenv_value performed an in-place open("r+") / readlines / seek(0) / writelines / truncate cycle on usr/.env, which is not atomic: a crash or interrupted write could truncate the live file and drop the AUTH_LOGIN line. The fix in PR #2079 writes to a sibling tempfile created with tempfile.mkstemp, fsyncs it and os.replace()s it onto usr/.env, and reworks the auth helpers so either credential remnant keeps authentication required and the session hash covers both halves. The CPE cpe:2.3:a:agent0ai:agent-zero:*:*:*:*:*:*:*:* covers all versions through 2.16; note that the CVE description attributes the issue to requires_auth in helpers/api.py, whereas the public fix touches helpers/login.py, helpers/dotenv.py and adds tests/test_auth_lost_credentials.py, and the available sources do not reconcile the broader 'missing authentication' wording with this narrower credential-loss mechanism.
Know when Agent Zero gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Bypass requires a non-default dropped-AUTH_LOGIN state per the fix, so AC:H; remotely reachable with no authentication, so AV:N/PR:N; impacts kept Low per source.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Agent Zero
View allCross-site scripting in the Agent Zero Web UI before 1.15 allows injected JavaScript in chat messages or uploaded files
Directory traversal in agent-zero 1.7 through 1.10 allows remote attackers to write files to arbitrary locations outside
An issue in the component /api/download_work_dir_file.py of Agent-Zero v0.8.* allows attackers to execute a directory tr
A vulnerability was found in frdel Agent-Zero up to 0.8.4. It has been rated as problematic. This issue affects the func
Agent Zero 0.9.7-10's get_abs_path function in python/helpers/files.py is vulnerable to path traversal, allowing authent
A Server-Side Request Forgery (SSRF) vulnerability exists in frdel/agent-zero version 0.9.7 within the handle_pdf_docume
Fail-open behavior in the _infection_check plugin's InfectionChecker.gate allows Agent Zero deployments up to and includ
A vulnerability classified as critical was found in frdel Agent-Zero 0.8.1.2. Rated medium severity (CVSS 5.3), this vul
Insecure permissions in Agent-Zero v0.8.* allow attackers to arbitrarily reset the system via unspecified vectors. Rated
EUVD-2026-137983
GHSA-gpc4-jwxv-r8fj
NVD
CVE.org
EPSS
VulDB
Exploit-DB