{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "last_affected": "1.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "last_affected": "1.2.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "ec4f1977523fc62dfd1dc7487dbfa08848dba5dd"
            },
            {
              "last_affected": "a4d87b7651ca923a3b21d3c80ab07735c7210563"
            }
          ],
          "repo": "https://github.com/tongcheng-security-team/nextscan",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-798"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126802.json"
  },
  "details": "NextScan 1.1.0 through 1.2.0 contains hardcoded HTTP Basic Auth credentials in ns-admin's AuthAgent and AuthExternal routers that allow unauthenticated attackers to access protected APIs. Attackers can call /agent/config to obtain Redis passwords, etcd details and the server token, and impersonate scan nodes via registration, heartbeat and logging endpoints.",
  "id": "CVE-2026-126802",
  "modified": "2026-11-14T02:30:53.957759300Z",
  "published": "2026-11-11T20:53:06.025Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://hub.docker.com/r/lysec/ns-admin"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126802.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126802"
    },
    {
      "type": "ADVISORY",
      "url": "https://vul.yulun.ac.cn/20261107/nextscan/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/nextscan-1.1.0-through-1.2.0-hardcoded-credentials-in-ns-admin-agent-and-external-apis"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/tongcheng-security-team/NextScan/issues/50"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "NextScan 1.1.0 through 1.2.0 Hardcoded Credentials in ns-admin Agent and External APIs"
}