Summary
CVE-2026-126802 is a hardcoded credentials vulnerability (CWE-798) in NextScan (ns-admin) versions 1.1.0 through 1.2.0. Unauthenticated remote attackers can use the embedded HTTP Basic Auth credentials to access protected APIs. The CVE record rates it 8.8 (High) under CVSS v4.0 and 8.2 (High) under CVSS v3.1.
Technical details
- Root cause: The AuthAgent and AuthExternal routers in ns-admin contain hardcoded HTTP Basic Auth credentials. Because they are embedded in the product, they are the same on every deployment.
- Trigger conditions: Network access to an exposed ns-admin instance. No authentication, privileges or user interaction are needed.
- Attack vector: Network. An attacker sends requests to the protected agent and external APIs using the hardcoded credentials.
- Impact: Attackers can retrieve Redis passwords, etcd details and server tokens, and can impersonate scan nodes. The public issue report lists the hardcoded pairs
nextagent:nextagentandnEXtSCAnExTERNal:nEXtSCAnExTERNal. - Reporter: Wu Yulun.
Affected software
- NextScan (lysec/ns-admin, tongcheng-security-team): versions 1.1.0 through 1.2.0
Severity
- CVSS v4.0: 8.8 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 8.2 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Mitigation and recommended actions
- Immediate: No patched version is identified in the sources reviewed. The upstream GitHub issue was still open as of 7 November 2026. Monitor the vendor repository and Docker Hub image for a fixed release and upgrade once one is available.
- Workarounds: Restrict network access to ns-admin to trusted management networks only. Do not expose the agent and external API routes to the internet. If an instance may have been reachable, rotate the Redis passwords, etcd credentials and server tokens it holds. Review logs for unexpected use of the agent or external APIs and for rogue scan nodes.

