Skip to main content

NextScan ns-admin EUVDEUVD-2026-124012

| CVE-2026-126797 CRITICAL
Use of Hard-coded Cryptographic Key (CWE-321)
2026-11-11 VulnCheck GHSA-hfqx-wvcm-v3qr
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify reachable ns-admin instance
  2. Delivery
    Extract hardcoded JWT key from source/image
  3. Exploit
    Forge HS256 X-Access-Token with super-admin role ID
  4. Execution
    Submit token to ns-admin API
  5. Impact
    Gain full admin access to users, scans and stored results

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
Exploitation Conditions

Requires a deployed NextScan ns-admin instance at versions 1.1.0 through 1.2.0 that is network-reachable to the attacker, plus knowledge of the hardcoded JWT signing key - which is recoverable from the public GitHub source and the lysec/ns-admin Docker image. No authentication, user interaction, or non-default configuration is needed: per the CVSS vector (AV:N/AC:L/AT:N/PR:N/UI:N) the hardcoded key is present in all affected builds, so any default deployment is exploitable. The primary limiting factor is exposure scope - the ns-admin API must be reachable - and the narrow affected-version window; there are no authentication or configuration prerequisites that otherwise constrain the attack.

Impact

All severity signals align toward high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, 9.3) describes remote, unauthenticated exploitation with low complexity and no attack requirements, yielding total compromise of the vulnerable system's confidentiality, integrity and availability. The vuln.today Decision label is act_now and the finding was reported by VulnCheck, which published a dedicated advisory. The root cause (CWE-321, hardcoded cryptographic key used to sign HS256 tokens) is a deterministic, non-conditional flaw: any attacker who knows the key - which is recoverable from the public source/Docker image - can mint a valid super-administrator token, so there is no meaningful barrier to exploitation once the key is extracted. Against this, two mitigating-context signals are MISSING from the input: there is no EPSS score and no CISA KEV entry provided, so active, in-the-wild exploitation is not confirmed. The references include a VulnCheck advisory, a vendor GitHub issue, and a third-party write-up (vul.yulun.ac.cn), which constitute public technical disclosure but are not marked as confirmed working exploit code in the input. Net assessment: this is a genuine high-priority issue (trivial, unauthenticated, full-takeover of a security tool that itself stores sensitive scan/vulnerability data), not a high-CVSS/low-real-risk case - but its real-world urgency is tempered by the product's niche deployment footprint rather than by any technical difficulty.

Exploit ScenarioDerived

An attacker locates an internet- or network-reachable NextScan ns-admin instance (version 1.1.0-1.2.0), extracts the hardcoded JWT signing key from the publicly available source or Docker image, and uses it to sign an HS256 X-Access-Token containing the fixed super administrator role ID. Submitting that forged token to the ns-admin API grants full administrative access with no credentials, exposing user management, scan tasks and all stored vulnerability results. Public technical references describing the flaw exist (VulnCheck advisory, vendor GitHub issue #48), though the input does not confirm them as working exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Authentication bypass in the NextScan ns-admin backend (versions 1.1.0 through 1.2.0) allows unauthenticated remote attackers to forge administrator access tokens because the application signs and verifies JWTs with a hardcoded HS256 secret. By minting an X-Access-Token that carries the publicly known super administrator role ID, an attacker gains full administrative control over user management, scan tasks and stored vulnerability results - with no credentials, no user interaction and no non-default configuration required (CVSS:3.1 AV:N/AC:L/PR:N/UI:N, assessed 9.3 critical; vendor CVSS 4.0 vector also scores 9.3). The signing key is recoverable from the public GitHub repository and the lysec/ns-admin Docker image, and the case is prioritized act_now by vuln.today intelligence; no confirmed public exploit code is identified at time of analysis, though the public GitHub issue (#48) and a technical writeup reference the flaw, so weaponization requires only re-implementing standard HS256 signing.

RemediationAI

No vendor-released patch version is identified in the available data, so there is no fixed release to upgrade to at time of analysis; track the upstream issue at https://github.com/tongcheng-security-team/NextScan/issues/48 and the VulnCheck advisory (https://www.vulncheck.com/advisories/nextscan-1.1.0-through-1.2.0-hardcoded-jwt-key-authentication-bypass-in-ns-admin) for a corrected release, and until one ships the only complete fix is to replace the hardcoded HS256 signing secret with a unique, high-entropy per-deployment value before starting ns-admin (side effect: all previously issued tokens are invalidated and existing sessions must re-authenticate). Because the flaw is an authentication bypass, do not rely on ns-admin's own login as a control: restrict network access to the ns-admin API and its UI to trusted management networks, VPN, or an authenticating reverse proxy so that an internet-reachable instance cannot be reached at all, and verify that the lysec/ns-admin container is not exposed through the default docker-compose port mapping. As a detection measure rather than a fix, alert on X-Access-Token requests bearing administrator role claims from source addresses that have never completed a login. Operators should treat any 1.1.0-1.2.0 instance that was internet-facing as potentially compromised and review user accounts, scan tasks and stored vulnerability results for unauthorized changes.

Affected VersionsENISA

NextScan 1.1.0 ≤1.2.0

Affected Packages

euvd nextscan no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-321, use of a hardcoded cryptographic key, in the ns-admin component of NextScan - a scanning platform published by the Tongcheng Security Team and distributed both as source on GitHub and as the lysec/ns-admin container image referenced in the project's docker-compose.yaml at tag v1.2.0. ns-admin authenticates API callers with JSON Web Tokens using the symmetric HS256 algorithm, where the same secret both signs and verifies tokens; because that secret is embedded in the shipped source and image rather than generated per deployment, anyone who reads the repository or pulls the container can compute a valid signature. The attacker-chosen claims simply need the super administrator role identifier, which the advisory describes as public, and the resulting token is presented in the X-Access-Token request header. Since verification is purely cryptographic and symmetric, the server has no way to distinguish a forged token from a legitimately issued one unless the key is rotated or the scheme is changed to per-instance secrets or asymmetric signing. The supplied evidence does not describe the specific code path or endpoint that validates the token beyond the header and role-claim mechanics; what is confirmed is the affected version window (1.1.0 through 1.2.0), the network-reachable deployment requirement, and the absence of any authentication, interaction or configuration prerequisite in the assessed vector.

Know when Nextscan gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

Hardcoded key allows remote unauthenticated forgery of super-admin tokens (AV:N/AC:L/PR:N/UI:N), granting full control over the application's data and functions (C:H/I:H/A:H); impact stays within ns-admin, so S:U.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The NextScan ns-admin backend (versions 1.1.0 to 1.2.0) contains an authentication bypass that permits unauthenticated attackers to forge administrator tokens, granting full control over user management, scan tasks, and vulnerability results. Exploitation requires no credentials or user interaction and is facilitated by a publicly known hardcoded secret. Leadership should prioritize this critical vulnerability due to the potential for immediate and severe data compromise, operational disruption, and regulatory exposure.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network segmentation and access controls to limit exposure of the admin backend to trusted networks only, and deploy a reverse proxy or API gateway that performs additional authentication and JWT validation using a secure secret, effectively overriding the hardcoded one.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Low
niche open-source security scanner, no broad enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy