CVE-2026-111172

@casl/ability 6.7.5 before 7.0.2 Prototype Pollution via rulesToFields setByPath

Published Oct 15, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
First Time appeared Stalniy
Stalniy casl
Vendors & Products Stalniy
Stalniy casl
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1321

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 16, 2026, 5:09 PM
Reserved
Oct 15, 2026, 5:04 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 6:25 PM