Summary
CVE-2026-136181 is a missing-authentication information disclosure vulnerability (CWE-306) in cnpmcore, a private npm registry implementation. Unauthenticated attackers can retrieve upstream registry authTokens over the network. It is rated High: CVSS v4.0 8.7 and CVSS v3.1 7.5.
Technical details
- Root cause: the
GET /-/registryendpoints lack the AdminAccess middleware, so no authorization check is enforced. - Trigger conditions: a network-reachable cnpmcore instance in an affected version. No authentication or user interaction is required.
- Attack vector: network, low complexity, no privileges required.
- Impact: disclosure of upstream registry authTokens. According to the CVE record, attackers can use leaked tokens as Bearer credentials to enumerate, download, or publish packages upstream.
Affected software
- cnpmcore 3.46.0 before 3.84.3 (3.46.0 through 3.84.2)
- cnpmcore 4.0.0 before 4.37.3 (4.0.0 through 4.37.2)
Severity
- CVSS v3.1 base score 7.5 (High):
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS v4.0 base score 8.7 (High):
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: upgrade to cnpmcore 3.84.3 (3.x branch) or 4.37.3 (4.x branch).
- Rotate any upstream registry authTokens configured in affected instances, since they may have been exposed.
- If you cannot patch immediately: restrict network access to the
/-/registryendpoints, for example with a reverse proxy or firewall rule, until you can upgrade.

