CVE-2026-136181
cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.92% (p59)
- Published
- 2026-11-24
- Age
- 4d old
- Modified
- 2026-11-28
- Product
- cnpm cnpmcore
- Aliases
- GHSA-9rww-324g-xwph
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
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.
Fixed in
3.84.3 · 4.37.3
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | cnpmcore | >=3.46.0, <3.84.3 | 3.84.3 |
| unknown | cnpmcore | >=4.0.0, <4.37.3 | 4.37.3 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph vendor-advisory
- https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29e patch
- https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930a patch
- https://github.com/cnpm/cnpmcore/releases/tag/v4.37.3 release-notes
- https://github.com/cnpm/cnpmcore/releases/tag/v3.84.3 release-notes
- https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryController.ts#L34-L58 technical-description
- https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryController.ts#L28-L46 technical-description
- https://www.vulncheck.com/advisories/cnpmcore-3.46.0-before-3.84.3-and-4.0.0-before-4.37.3-registry-authtoken-disclosure third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136181.json advisory
- https://github.com/cnpm/cnpmcore package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136181 advisory
- https://www.npmjs.com web