SECURITYCRITICALCVE-2026-126797

CVE-2026-126797: NextScan ns-admin Authentication Bypass via Hardcoded JWT Key (CVSS 9.8)

NextScan 1.1.0 through 1.2.0 ships a hardcoded JWT signing key in ns-admin, letting unauthenticated attackers forge super administrator tokens. CVSS 9.8.

Dylan H.

Security Team

November 12, 2026
2 min read
CVE-2026-126797: NextScan ns-admin Authentication Bypass via Hardcoded JWT Key (CVSS 9.8)

Critical severity

Rated critical. Prioritise patching — see the remediation guidance below.

Affected Products

  • NextScan 1.1.0 through 1.2.0

Summary

CVE-2026-126797 is an authentication bypass in the ns-admin component of NextScan 1.1.0 through 1.2.0. The product uses a hardcoded JWT signing key, so an unauthenticated attacker can mint their own administrator credentials. NVD lists a CVSS score of 9.8.

Details

An attacker can sign an HS256 X-Access-Token that carries the public super administrator role ID. Because the signing key is embedded in the software, the forged token is accepted as valid and grants full administrative access to the application.

ItemDetail
CVECVE-2026-126797
AffectedNextScan 1.1.0 through 1.2.0
Componentns-admin
AttackForged HS256 X-Access-Token
Auth requiredNone
CVSS9.8

Mitigation

  • Check the NextScan project for a fixed release newer than 1.2.0 and upgrade. No patch details were included in the NVD entry at the time of writing.
  • Until patched, do not expose ns-admin to untrusted networks; restrict it by IP, VPN or a reverse proxy with its own authentication.
  • Review admin activity and created accounts for signs of unauthorized access, and rotate any secrets the application stores.
  • Because the key is shared across installs, treat any previously issued tokens as untrustworthy.

References