{"id":"CVE-2026-126797","summary":"NextScan 1.1.0 through 1.2.0 Hardcoded JWT Key Authentication Bypass in ns-admin","details":"NextScan 1.1.0 through 1.2.0 contains an authentication bypass vulnerability in ns-admin that allows unauthenticated attackers to forge administrator tokens using a hardcoded JWT signing key. Attackers can sign an HS256 X-Access-Token carrying the public super administrator role ID to gain full access to user management, scan tasks and stored vulnerability results.","modified":"2026-11-14T02:30:51.128777740Z","published":"2026-11-11T20:53:02.665Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126797.json"},"references":[{"type":"WEB","url":"https://github.com/tongcheng-security-team/NextScan/blob/v1.2.0/docker/docker-compose.yaml"},{"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-126797.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126797"},{"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-jwt-key-authentication-bypass-in-ns-admin"},{"type":"REPORT","url":"https://github.com/tongcheng-security-team/NextScan/issues/48"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tongcheng-security-team/nextscan","events":[{"introduced":"ec4f1977523fc62dfd1dc7487dbfa08848dba5dd"},{"last_affected":"a4d87b7651ca923a3b21d3c80ab07735c7210563"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.1.0"},{"last_affected":"1.2.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"DESCRIPTION","range":[{"introduced":"1.1.0"},{"last_affected":"1.2.0"}]}]}}],"versions":["v1.2.0","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126797.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:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}