cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 24, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| cnpmcore cnpm | 3.46.0 to before 3.84.3 Affected4.0.0 to before 4.37.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-306 Missing Authentication for Critical Function
References
- GitHub Security Advisory (GHSA-9rww-324g-xwph)Vendor Advisory
- https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29ePatch
- https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930aPatch
- cnpmcore v4.37.3 Release NotesRelease Notes
- cnpmcore v3.84.3 Release NotesRelease Notes
- https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryController.ts#L34-L58Technical Details
- https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryController.ts#L28-L46Technical Details
- VulnCheck Advisory: cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken DisclosureThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.