What’s Vulnerable › Vulnerabilities

CVE-2026-111172: @casl/ability 6.7.5 before 7.0.2 Prototype Pollution via rulesToFields setByPath

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.

Affected products

How to fix

Upgrade to a fixed version: stalniy @casl/ability 7.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-111172 or the next vulnerability affects your stack