CVE-2026-136181
CVE-2026-136181 · cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
CVSS 8.7 · High · EPSS 0.9% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- cnpmcoreUpdate to 3.84.3 / 4.37.3
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
cnpmcore
- Versions
- ≥ 3.46.0, < 3.84.3: Affected (semver)
- ≥ 4.0.0, < 4.37.3: Affected (semver)
Update to 3.84.3; Update to 4.37.3
Original sources
- https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph
- https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29e
- https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930a
- https://github.com/cnpm/cnpmcore/releases/tag/v4.37.3
- https://github.com/cnpm/cnpmcore/releases/tag/v3.84.3
- https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryController.ts#L34-L58
- https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryController.ts#L28-L46
- https://www.vulncheck.com/advisories/cnpmcore-3.46.0-before-3.84.3-and-4.0.0-before-4.37.3-registry-authtoken-disclosure
- https://nvd.nist.gov/vuln/detail/CVE-2026-136181