Description
@casl/ability 6.7.5 before 7.0.2 contains a prototype pollution vulnerability in rulesToFields() that allows attackers to modify inherited builtins via dotted condition keys. Attackers controlling rule conditions can supply keys like 'toString.call' to alter shared builtin functions process-wide, causing denial of service for the Node.js process.
Published: 2026-10-15
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via prototype pollution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability lies in the rulesToFields function of @casl/ability versions 6.7.5 up to 7.0.2, where an attacker controlling rule conditions can supply dotted keys such as "toString.call" to alter the prototype of Object.prototype. This prototype pollution modifies shared builtin functions throughout the Node.js process, resulting in a denial of service as the process may crash or hang. The weakness is classified as CWE‑1321. The impact is restricted to the Node.js process that loaded the library and does not provide arbitrary code execution.

Affected Systems

Node.js applications that include the @casl/ability library from stalniy, specifically any deployment using versions 6.7.5 through 7.0.1. The issue does not affect other npm packages unrelated to @casl/ability.

Risk and Exploitability

The CVSS score of 6.0 indicates moderate severity, while the EPSS score of less than 1% signals a low probability of exploitation in the wild; the vulnerability is not listed in the CISA KEV catalogue. Attackers would need the ability to supply or influence rule conditions in the application, which is typically possible when user input is passed directly to the rules engine. Successful exploitation would lead to a denial of service within the affected Node.js process, potentially disrupting services that rely on that process.

Generated by OpenCVE AI on October 16, 2026 at 16:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade @casl/ability to version 7.0.2 or newer.
  • If an upgrade cannot be performed immediately, validate and reject any rule condition keys that contain dot notation or attempt to modify prototype properties before passing them to rulesToFields.
  • As an interim safeguard, isolate the rule processing in a separate child process or sandbox so that any prototype pollution has no impact on the main application process.

Generated by OpenCVE AI on October 16, 2026 at 16:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Stalniy
Stalniy casl
Vendors & Products Stalniy
Stalniy casl

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description @casl/ability 6.7.5 before 7.0.2 contains a prototype pollution vulnerability in rulesToFields() that allows attackers to modify inherited builtins via dotted condition keys. Attackers controlling rule conditions can supply keys like 'toString.call' to alter shared builtin functions process-wide, causing denial of service for the Node.js process.
Title @casl/ability 6.7.5 before 7.0.2 Prototype Pollution via rulesToFields setByPath
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T17:09:34.612Z

Reserved: 2026-10-15T17:04:07.664Z

Link: CVE-2026-111172

cve-icon Vulnrichment

Updated: 2026-10-16T16:31:32.128Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:33.450

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-111172

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T22:36:41Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')