{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0"
                  },
                  {
                    "last_affected": "2.0"
                  }
                ],
                "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"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "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"
              },
              {
                "range": [
                  {
                    "introduced": "2.5"
                  },
                  {
                    "last_affected": "2.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.6"
                  },
                  {
                    "last_affected": "2.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.7"
                  },
                  {
                    "last_affected": "2.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.8"
                  },
                  {
                    "last_affected": "2.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "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"
              },
              {
                "range": [
                  {
                    "introduced": "2.11"
                  },
                  {
                    "last_affected": "2.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.12"
                  },
                  {
                    "last_affected": "2.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "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",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.16"
                  },
                  {
                    "last_affected": "2.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          "events": [
            {
              "introduced": "855694faf4a963ebe835c289e0fd3d51c28d5365"
            },
            {
              "last_affected": "2b0b3a416d80638379dc575798a4174ab4d3e1d9"
            }
          ],
          "repo": "https://github.com/agent0ai/agent-zero",
          "type": "GIT"
        }
      ],
      "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"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-287",
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138389.json"
  },
  "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.",
  "id": "CVE-2026-138389",
  "modified": "2026-11-30T06:46:12.253204868Z",
  "published": "2026-11-30T05:30:17.817Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "agent0ai agent-zero Authentication middleware api.py requires_auth missing authentication"
}