{
  "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "serialNumber": "urn:uuid:12ce033b-0ef2-5e68-b1e8-abc2727d0d5f",
  "version": 1,
  "metadata": {
    "supplier": {
      "name": "TuxCare",
      "url": [
        "https://tuxcare.com"
      ]
    }
  },
  "components": [
    {
      "name": "@casl/ability",
      "purl": "pkg:npm/%40casl/ability@5.4.9",
      "type": "library",
      "bom-ref": "pkg:npm/%40casl/ability@5.4.9",
      "version": "5.4.9",
      "licenses": [
        {
          "license": {
            "url": "https://tuxcare.com/legal/",
            "name": "TuxCare License"
          }
        }
      ],
      "supplier": {
        "url": [
          "https://tuxcare.com"
        ],
        "name": "TuxCare"
      }
    }
  ],
  "vulnerabilities": [
    {
      "id": "CVE-2026-1774",
      "affects": [
        {
          "ref": "pkg:npm/%40casl/ability@5.4.9"
        }
      ],
      "bom-ref": "urn:uuid:c8da787d-a43a-503b-9530-2388035bf5db",
      "analysis": {
        "state": "not_affected",
        "detail": "Vulnerability CVE-2026-1774 does not affect version 5.4.9 of @casl/ability. Not affected CVE-2026-1774 - @casl/ability prototype pollution through rule condition keys (setByPath / rulesToFields) Advisory: https://github.com/advisories/GHSA-x9vf-53q3-cvx6 NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-1774 Fix commit(s): https://github.com/stalniy/casl/commit/39da920ec1 (6.x, released in 6.7.5) https://github.com/stalniy/casl/commit/f529957f8f (port to ability-5.x, released in 5.4.5) DESCRIPTION: rulesToFields() turns rule conditions into an object of default values with setByPath(), which splits a condition key on \".\" and walks/creates nested objects. A key such as \"__proto__.isAdmin\" reaches Object.prototype and writes to it, so rules that come from stored JSON can pollute the prototype of every object in the process. 5.4.9 IS NOT VULNERABLE: The upstream 5.4.9 release already contains f529957f \"fix: port proto pollution fix to ability-5.x (#1334)\", part of every 5.x release since 5.4.5 (the GHSA range \">= 2.4.0, <= 6.7.4\" does not account for the 5.x port): - packages/casl-ability/src/utils.ts:12-33 setByPath() skips \"__proto__\", \"constructor\" and \"prototype\" as intermediate and as final keys (the same guard as 39da920e), reuses only own object properties and creates missing levels with Object.create(null); - packages/casl-ability/src/extra.ts:97 rulesToFields() starts from Object.create(null). This was verified by: 1. Building the package with the tuxcare.yaml compile and package commands (Node 12) and checking that the guard is in every shipped \u2026",
        "justification": "code_not_present"
      }
    }
  ],
  "dependencies": [
    {
      "ref": "pkg:npm/%40casl/ability@5.4.9"
    }
  ]
}