P2 · HighCVSS 7.5
cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
- CVE-2026-136181
- GHSA-6hv3-qjpv-3pj6
- EUVD-2026-134170
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.
Text from the CVE.org record.
Affected
cnpm cnpmcore
- from 3.46.0 to before 3.84.3
- from 4.0.0 to before 4.37.3
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.