CVE-2026-126797
9.8 CRITICALpublic exploit availablePublished 2026-11-11 · Updated 2026-11-11
AI risk analysis
- Summary
- NextScan versions 1.1.0 through 1.2.0 contain a hardcoded JWT signing key in the ns-admin component, enabling unauthenticated attackers to forge valid administrator tokens using HS256. This allows full administrative access to user management, scan tasks, and vulnerability data without authentication.
- Exploitability
- Exploitation is trivial for remote attackers with no prerequisites beyond network access to the ns-admin endpoint, as it relies solely on a publicly discoverable hardcoded key.
- Blast radius
- Successful exploitation grants full administrative control over the NextScan instance, enabling complete compromise of user data, scan results, and system configuration.
- Detection
- Defenders should monitor for requests to ns-admin endpoints containing X-Access-Token headers with HS256-signed JWTs that decode to a super administrator role ID without prior authentication; such tokens may be validated against the known hardcoded key if exposed in logs or network captures.
- Prioritized remediation
- Upgrade to NextScan version 1.2.1 or later, which removes the hardcoded JWT signing key and implements secure key management.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-321
Public exploit & PoC references
All references
- https://github.com/tongcheng-security-team/NextScan/blob/v1.2.0/docker/docker-compose.yaml
- https://github.com/tongcheng-security-team/NextScan/issues/48
- https://hub.docker.com/r/lysec/ns-admin
- https://vul.yulun.ac.cn/20261107/nextscan/
- https://www.vulncheck.com/advisories/nextscan-1.1.0-through-1.2.0-hardcoded-jwt-key-authentication-bypass-in-ns-admin
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-116747PoC
- CRITICALCVE-2026-117564PoC
- CRITICALCVE-2026-125383PoC
- CRITICALCVE-2026-111641PoC
- CRITICALCVE-2026-110612PoC
- HIGHCVE-2026-111633PoC
- HIGHCVE-2026-111636PoC
- HIGHCVE-2026-111642PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.