Skip to main content

Agent Zero EUVDEUVD-2026-137983

| CVE-2026-138389 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-11-30 VulDB GHSA-gpc4-jwxv-r8fj
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed agent-zero instance
  2. Exploit
    Request protected API endpoint
  3. Execution
    requires_auth treats auth as unconfigured
  4. Impact
    Gain 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Agent-Zero 2.6
Agent-Zero 2.3
Agent-Zero 2.0
Agent-Zero 2.12
Agent-Zero 2.8
Agent-Zero 2.4
Agent-Zero 2.2
Agent-Zero 2.10
Agent-Zero 2.14
Agent-Zero 2.11
Agent-Zero 2.7
Agent-Zero 2.1
Agent-Zero 2.5
Agent-Zero 2.13
Agent-Zero 2.16
Agent-Zero 2.9
Agent-Zero 2.15

Affected Packages

euvd agent_zero no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 5.6 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 30, 2026 - 06:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 30, 2026 - 05:30 cve.org
MEDIUM 6.9

DescriptionCVE.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

EPSS Score
0.5%
Top 64% exploitable
Prevalence
Low
open-source AI agent framework, niche developer tool, limited production footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy