Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-136181

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

cnpm cnpmcore

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-136181: high-severity vulnerability (CVSS 8.7) in cnpm cnpmcore.

What happened

Original description from the source: 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

High severity, CVSS 8.7.

Affected products and versions

cnpm cnpmcore >= 3.46.0, < 3.84.3; cnpm cnpmcore >= 4.0.0, < 4.37.3

ProductVersionsFixed in
cnpm cnpmcore>= 3.46.0, < 3.84.3—
cnpm cnpmcore>= 4.0.0, < 4.37.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-306

Relevant change history

  1. Published

    Preliminary advisory published.