{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.46.0"
                  },
                  {
                    "fixed": "3.84.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.37.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "0bf0052597985100480522b1a59815b85c09b29e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "1309cb2cd619de7351467e2b4ba2a02b5647930a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.37.3",
                "range": [
                  {
                    "fixed": "35f9350722e29eea76a42b6254e713672b507038"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v3.84.3",
                "range": [
                  {
                    "fixed": "3ed345b363cd631213660f93ae885d471dfa8a61"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "5ad775e41112ea3536532eeb1bddd2907ec5894f"
            },
            {
              "fixed": "3ed345b363cd631213660f93ae885d471dfa8a61"
            },
            {
              "introduced": "5103409f408e605c7ee7d1b7803a089cc463a968"
            },
            {
              "fixed": "35f9350722e29eea76a42b6254e713672b507038"
            },
            {
              "fixed": "0bf0052597985100480522b1a59815b85c09b29e"
            },
            {
              "fixed": "1309cb2cd619de7351467e2b4ba2a02b5647930a"
            }
          ],
          "repo": "https://github.com/cnpm/cnpmcore",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9rww-324g-xwph"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-306"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136181.json"
  },
  "details": "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.",
  "id": "CVE-2026-136181",
  "modified": "2026-11-24T18:45:44.673602758Z",
  "published": "2026-11-24T17:05:25.850Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136181.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cnpm/cnpmcore"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryController.ts#L28-L46"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryController.ts#L34-L58"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cnpm/cnpmcore/releases/tag/v3.84.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cnpm/cnpmcore/releases/tag/v4.37.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136181"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/cnpmcore-3.46.0-before-3.84.3-and-4.0.0-before-4.37.3-registry-authtoken-disclosure"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure"
}