CVE-2026-126797 NextScan 1.1.0 through 1.2.0 Hardcoded JWT Key Authentication Bypass in ns-admin

Critical 9.3 Published Updated

Unauthenticated attackers can forge administrator tokens with a hardcoded key to gain full NextScan admin access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
Yes
Needs a specific call
No
Fix
None listed

What is CVE-2026-126797?

CVE-2026-126797 is a critical hardcoded credentials vulnerability in tongcheng-security-team NextScan, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-321

Which versions are affected by CVE-2026-126797?

Having an affected version installed is enough. The problem is in what it ships or how it installs, so no code has to call it.

How do I fix CVE-2026-126797?

No fix has been published for CVE-2026-126797 yet. Limit exposure of the affected software until one is available.

Upgrade, then change or revoke the exposed credential wherever it is used. More about Hardcoded credentials.

Is CVE-2026-126797 being exploited?

There is no known exploitation of CVE-2026-126797 in the wild and no public exploit code.

Sources

Also known as GHSA-hfqx-wvcm-v3qr.

Is CVE-2026-126797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free