CVE-2026-136181 PUBLISHED

cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure

Assigner: VulnCheck
Reserved: 24.11.2026 Published: 24.11.2026 Updated: 24.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor cnpm
Product cnpmcore
Versions Default: unaffected
  • affected from 3.46.0 to 3.84.3 (excl.)
  • affected from 4.0.0 to 4.37.3 (excl.)

Credits

  • hackchang finder
  • zombieJ remediation developer

References

Problem Types

  • Missing Authentication for Critical Function CWE