npm
CVE-2026-136181
cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
- Severity
- High 8.7
- Published
- 24 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 3.84.3, 4.37.3
- Weakness
- Missing authentication (CWE-306)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data
- CVSS vector
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- Sources
- CVE Program
Description
cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain upstream registry authTokens via the GET /-/registry endpoints lacking AdminAccess middleware. Attackers can request /-/registry or /-/registry/:id and replay the leaked authToken as a Bearer credential to enumerate, download, or publish packages upstream.
Affected software
| Software | Affected versions |
|---|---|
cnpmcorenpm · osv:npm:cnpmcore |
|
About cnpmcore
- Weekly downloads (npm)
- 684npm, 24 Nov 2026
This is the only vulnerability in cnpmcore in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-136181