{"id":"CVE-2026-138389","summary":"agent0ai agent-zero Authentication middleware api.py requires_auth missing authentication","details":"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.","modified":"2026-11-30T07:00:09.311151401Z","published":"2026-11-30T05:30:17.817Z","database_specific":{"cwe_ids":["CWE-287","CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138389.json","cna_assigner":"VulDB"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138389.json"},{"type":"WEB","url":"https://github.com/agent0ai/agent-zero/"},{"type":"REPORT","url":"https://github.com/agent0ai/agent-zero/issues/2019"},{"type":"FIX","url":"https://github.com/agent0ai/agent-zero/pull/2079"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138389"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-138389"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1077445"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/445192"},{"type":"REPORT","url":"https://vuldb.com/vuln/445192/cti"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/agent0ai/agent-zero","events":[{"introduced":"855694faf4a963ebe835c289e0fd3d51c28d5365"},{"last_affected":"2b0b3a416d80638379dc575798a4174ab4d3e1d9"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.0"},{"last_affected":"2.0"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.1"},{"last_affected":"2.1"}]},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.2"},{"last_affected":"2.2"}]},{"range":[{"introduced":"2.3"},{"last_affected":"2.3"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"2.4"},{"last_affected":"2.4"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.5"},{"last_affected":"2.5"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.6"},{"last_affected":"2.6"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.7"},{"last_affected":"2.7"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.8"},{"last_affected":"2.8"}]},{"range":[{"introduced":"2.9"},{"last_affected":"2.9"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"2.10"},{"last_affected":"2.10"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.11"},{"last_affected":"2.11"}]},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.12"},{"last_affected":"2.12"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.13"},{"last_affected":"2.13"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.14"},{"last_affected":"2.14"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.15"},{"last_affected":"2.15"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"2.16"},{"last_affected":"2.16"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}}],"versions":["2.0","2.1","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","v2.16","v2.15","v2.14","v2.13","v2.12","v2.11","v2.10","v2.9","v2.8","v2.7","v2.6","v2.5","v2.4","v2.3","v2.2","v2.1","v2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138389.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}