Read the docs

Registry authToken disclosure in cnpmcore exposes upstream registries

Priority HIGH 77CWE-306Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-306.

Summary

cnpmcore from 3.46.0 before 3.84.3 and from 4.0.0 before 4.37.3 lets unauthenticated attackers obtain upstream registry authTokens. The GET /-/registry endpoints lack the AdminAccess middleware, so requests to them return stored tokens. An attacker can replay a leaked token as a Bearer credential to enumerate, download, or publish packages on the upstream registry.

Written with Claude Haiku 5.5 from the sources below · 2026-11-28

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0092 58th percentileScored 2026-11-30
Fix Fixed cnpmcore (cnpm): 3.84.3, 4.37.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cnpmcnpmcore3.46.0 to before 3.84.3; 4.0.0 to before 4.37.33.84.3, 4.37.3Patch availableCNA
  • cnpmcore Vendorcnpm Affected 3.46.0 to before 3.84.3; 4.0.0 to before 4.37.3 Fixed in 3.84.3, 4.37.3 Patch available CNA

Remediation

Upgrade cnpmcore to version 3.84.3 or 4.37.3, which fix the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-28

  • Fix · CNA cnpmcore (cnpm) Fixed in 3.84.3, 4.37.3

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-136181
  2. 2026-11-24 Alias added: GHSA-6hv3-qjpv-3pj6
  3. 2026-11-28 EPSS moved to the 50th–90th percentile
  4. 2026-11-28 CISA SSVC decision points changed

References

Sources