{
  "@id": "urn:uuid:c77e1a60-21a8-4c6c-9d74-66eb68d8b619",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 2,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-11-30T09:54:00.114422+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/%40casl/ability@5.4.9",
          "identifiers": {
            "purl": "pkg:npm/%40casl/ability@5.4.9"
          }
        }
      ],
      "timestamp": "2026-11-30T09:54:00.114422+00:00",
      "status_notes": "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": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-1774"
      },
      "impact_statement": "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"
    }
  ]
}
