Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for cnpmcore by cnpm

    CVE-2026-136181 (GCVE-0-2026-136181)

    Vulnerability from nvd – Published: 2026-11-24 17:05 – Updated: 2026-11-24 17:05
    VLAI
    Title
    cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
    Summary
    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.
    CWE
    • CWE-306 - Missing Authentication for Critical Function
    Impacted products
    Vendor Product Version
    cnpm cnpmcore Affected: 3.46.0 , < 3.84.3 (semver)
    Affected: 4.0.0 , < 4.37.3 (semver)
    Create a notification for this product.
    Date Public
    2026-10-19 00:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.npmjs.com",
              "defaultStatus": "unaffected",
              "packageURL": "pkg:npm/cnpmcore",
              "product": "cnpmcore",
              "repo": "https://github.com/cnpm/cnpmcore",
              "vendor": "cnpm",
              "versions": [
                {
                  "lessThan": "3.84.3",
                  "status": "affected",
                  "version": "3.46.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "4.37.3",
                  "status": "affected",
                  "version": "4.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "hackchang"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "zombieJ"
            }
          ],
          "datePublic": "2026-10-19T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-306",
                  "description": "Missing Authentication for Critical Function",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T17:05:25.850Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "name": "GitHub Security Advisory (GHSA-9rww-324g-xwph)",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29e"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930a"
            },
            {
              "name": "cnpmcore v4.37.3 Release Notes",
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/cnpm/cnpmcore/releases/tag/v4.37.3"
            },
            {
              "name": "cnpmcore v3.84.3 Release Notes",
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/cnpm/cnpmcore/releases/tag/v3.84.3"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryController.ts#L34-L58"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryController.ts#L28-L46"
            },
            {
              "name": "VulnCheck Advisory: cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure",
              "tags": [
                "third-party-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"
            }
          ],
          "title": "cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-136181",
        "datePublished": "2026-11-24T17:05:25.850Z",
        "dateReserved": "2026-11-24T14:56:34.495Z",
        "dateUpdated": "2026-11-24T17:05:25.850Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-136181 (GCVE-0-2026-136181)

    Vulnerability from cvelistv5 – Published: 2026-11-24 17:05 – Updated: 2026-11-24 17:05
    VLAI
    Title
    cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure
    Summary
    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.
    CWE
    • CWE-306 - Missing Authentication for Critical Function
    Impacted products
    Vendor Product Version
    cnpm cnpmcore Affected: 3.46.0 , < 3.84.3 (semver)
    Affected: 4.0.0 , < 4.37.3 (semver)
    Create a notification for this product.
    Date Public
    2026-10-19 00:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.npmjs.com",
              "defaultStatus": "unaffected",
              "packageURL": "pkg:npm/cnpmcore",
              "product": "cnpmcore",
              "repo": "https://github.com/cnpm/cnpmcore",
              "vendor": "cnpm",
              "versions": [
                {
                  "lessThan": "3.84.3",
                  "status": "affected",
                  "version": "3.46.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "4.37.3",
                  "status": "affected",
                  "version": "4.0.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "hackchang"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "zombieJ"
            }
          ],
          "datePublic": "2026-10-19T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-306",
                  "description": "Missing Authentication for Critical Function",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T17:05:25.850Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "name": "GitHub Security Advisory (GHSA-9rww-324g-xwph)",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/cnpm/cnpmcore/security/advisories/GHSA-9rww-324g-xwph"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/cnpm/cnpmcore/commit/0bf0052597985100480522b1a59815b85c09b29e"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/cnpm/cnpmcore/commit/1309cb2cd619de7351467e2b4ba2a02b5647930a"
            },
            {
              "name": "cnpmcore v4.37.3 Release Notes",
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/cnpm/cnpmcore/releases/tag/v4.37.3"
            },
            {
              "name": "cnpmcore v3.84.3 Release Notes",
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/cnpm/cnpmcore/releases/tag/v3.84.3"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/cnpm/cnpmcore/blob/v4.37.2/app/port/controller/RegistryController.ts#L34-L58"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/cnpm/cnpmcore/blob/v3.84.2/app/port/controller/RegistryController.ts#L28-L46"
            },
            {
              "name": "VulnCheck Advisory: cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure",
              "tags": [
                "third-party-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"
            }
          ],
          "title": "cnpmcore 3.46.0 before 3.84.3 and 4.0.0 before 4.37.3 Registry authToken Disclosure",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-136181",
        "datePublished": "2026-11-24T17:05:25.850Z",
        "dateReserved": "2026-11-24T14:56:34.495Z",
        "dateUpdated": "2026-11-24T17:05:25.850Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }