CVE-2026-1774: CASL Ability Prototype Pollution Vulnerability

@casl/ability Updated 11 Feb 2026

Summary

10/02/2026
Yes i
Critical
9.8

CVE-2026-1774: CASL Ability is Vulnerable to Prototype Pollution. Affects @casl/ability versions >= 2.4.0, < 6.7.5. Fixed in 6.7.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

CASL Ability is a popular library in the npm ecosystem that provides a powerful and flexible way to manage permissions and access control in JavaScript applications. It allows developers to define rules for what actions users can perform based on their roles and attributes. However, versions 2.4.0 through 6.7.4 of this library are vulnerable to a prototype pollution issue, which can lead to serious security risks if exploited.

Vulnerability Detail

The vulnerability in CASL Ability arises from improper handling of user input, allowing an attacker to modify the prototype of built-in objects. This can lead to unexpected behavior in the application, including the ability to manipulate or access sensitive data. The issue is classified under CWE-1321, which pertains to prototype pollution. If exploited, this vulnerability can compromise the integrity and security of the application, making it critical to address.

How To Fix

Latest published version: 7.0.2 as of 22 Oct 2026

npm install @casl/ability@7.0.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

6.7.5

This is the first release that contains the fix.

npm install @casl/ability@6.7.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If you cannot immediately update the package, consider implementing input validation to sanitize user inputs and prevent prototype pollution. This can help mitigate the risk until a proper update can be applied.

Conclusion

The CASL Ability library has a critical vulnerability (CVE-2026-1774) that allows for prototype pollution, affecting versions 2.4.0 through 6.7.4. It is essential to update to version 6.7.5 or later to mitigate this risk. Additionally, consider using Vulert for ongoing monitoring of your dependencies.

See every vulnerability recorded for @casl/ability →

Share this vulnerability

FAQ

Prototype pollution is a security vulnerability that allows an attacker to manipulate the prototype of an object, potentially leading to unexpected behavior in applications.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor and alert for open-source vulnerabilities without needing to sign up.

Exploiting this vulnerability can lead to unauthorized access to sensitive data, manipulation of application behavior, and potential data breaches.

Yes, Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.

The CVSS score for this vulnerability is 9.8, indicating a critical level of severity.

How To Fix

Latest published version: 7.0.2 as of 22 Oct 2026

npm install @casl/ability@7.0.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

6.7.5

This is the first release that contains the fix.

npm install @casl/ability@6.7.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback