{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.2.1"
                  },
                  {
                    "fixed": "5.10.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "562a4bcbbf8e23f5613c31fcb65205ebc0f0069b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "lockfile-lint-api@5.10.0",
                "range": [
                  {
                    "fixed": "05cf5787266678f1a37ee0bab3eacb2d2750fb45"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "6bc18b682de9189d1ab623bd42819d4338bf0b7d"
            },
            {
              "fixed": "05cf5787266678f1a37ee0bab3eacb2d2750fb45"
            },
            {
              "fixed": "562a4bcbbf8e23f5613c31fcb65205ebc0f0069b"
            }
          ],
          "repo": "https://github.com/lirantal/lockfile-lint",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f2p3-vh47-jhg6"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-180"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145569.json"
  },
  "details": "lockfile-lint-api 5.2.1 before 5.10.0 contains a validation bypass vulnerability in ValidatePackageNames.validate() that allows attackers to evade package name checks by using dot segments in resolved URLs. Attackers can submit a crafted lockfile declaring a trusted package name with a resolved path traversing to their own registry package, causing npm to install it instead.",
  "id": "CVE-2026-145569",
  "modified": "2026-12-05T15:46:06.264630440Z",
  "published": "2026-12-05T14:43:10.848Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145569.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lirantal/lockfile-lint"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/lirantal/lockfile-lint/blob/b3a5d0d640d47968ba3bf154179cbcf1e82a6cf6/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js#L51-L58"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lirantal/lockfile-lint/commit/562a4bcbbf8e23f5613c31fcb65205ebc0f0069b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lirantal/lockfile-lint/releases/tag/lockfile-lint-api%405.10.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lirantal/lockfile-lint/security/advisories/GHSA-f2p3-vh47-jhg6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-145569"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/lockfile-lint-api-5.2.1-before-5.10.0-package-name-validation-bypass-via-validatepackagenames"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "lockfile-lint-api 5.2.1 before 5.10.0 Package Name Validation Bypass via ValidatePackageNames"
}