CVE-2026-136181: cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure

Published Nov 24, 2026
·
Updated

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

1 affected component
npm/cnpmcore>=3.46.0<3.84.3, >=4.0.0<4.37.3

Event History

Nov 24, 2026
CVE Published
via MITRE·05:05 PM
Data Sourced
via MITRE·05:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
DescriptionSeverityWeakness
Event
via NVD·05:18 PM

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated network client able to reach the cnpmcore GET /-/registry endpoints can request the affected data. No credentials or user interaction are required.

2

What can an attacker do with a disclosed token?

The leaked upstream registry authToken can be replayed as a Bearer credential. Depending on the token's upstream permissions, it can be used to enumerate, download, or publish packages.

3

Which versions need remediation?

The affected ranges are cnpmcore 3.46.0 through versions before 3.84.3, and 4.0.0 through versions before 4.37.3. Upgrade to 3.84.3 or later in the 3.x line, or 4.37.3 or later in the 4.x line.

4

How can I check whether tokens may already have been exposed?

Review access logs for requests to GET /-/registry and GET /-/registry/:id from untrusted sources. If those endpoints were reachable on an affected version, treat the associated upstream registry authTokens as potentially disclosed and review their upstream use.

5

What should be done if immediate patching is not possible?

Restrict access to the GET /-/registry endpoints to trusted administrative users or networks, since the missing AdminAccess middleware permits unauthenticated retrieval. Rotate exposed upstream registry authTokens and limit their upstream permissions where possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203