Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryContro
- https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryContro
- https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29e
- https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930a
- https://github.com/cnpm/cnpmcore/releases/tag/v3.84.3
- https://github.com/cnpm/cnpmcore/releases/tag/v4.37.3
- https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph
- https://www.vulncheck.com/advisories/cnpmcore-3.46.0-before-3.84.3-and-4.0.0-bef
- https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph
FAQ
What is CVE-2026-136181?
CVE-2026-136181 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 /-/regis...
How severe is CVE-2026-136181?
CVE-2026-136181 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-136181?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.