Vulnerabilities in pkg:npm/angular-expressions
PACKAGECVE-2026-44643 is a CRITICAL remote code execution vulnerability (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')) affecting Angular expressions libraries in the npm ecosystem. The issue involves angular expressions - remote code execution using filters. Remediation is available by upgrading affected packages to version 1.5.2.
pkg:npm/angular-expressions
Vulnerability advisories affecting package pkg:npm/angular-expressions. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-pw8r-6689-xvf4 | CVE-2026-44643 | CRITICAL | Angular Expressions - Remote Code Execution using filters |
| GHSA-5462-4vcx-jh7j | CVE-2024-54152 | CRITICAL | Angular Expressions - Remote Code Execution when using locals |
| GHSA-j6px-jwvv-vpwq | CVE-2021-21277 | HIGH | Angular Expressions - Remote Code Execution |
| GHSA-hxhm-96pp-2m43 | CVE-2020-5219 | HIGH | Remote Code Execution in Angular Expressions |
CVE-2026-44643 at a Glance
How to Fix CVE-2026-44643
To remediate this vulnerability, upgrade all affected Angular expressions dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install angular-expressions@1.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls angular-expressions
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-44643, inspect your project dependencies using npm:
npm ls angular-expressions
Analyze the terminal output to locate any version of Angular expressions in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.2), your application is affected.
Note: The npm ls angular-expressions command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). In Angular expressions, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-44643 Affected Angular expressions Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
angular-expressions
|
npm |
< 1.5.2
|
1.5.2
|
References
Frequently Asked Questions
What is CVE-2026-44643?
Which Angular expressions versions are affected?
What version fixes CVE-2026-44643?
Is angular-expressions affected?
What CWE is associated with CVE-2026-44643?
How can I check npm dependencies for CVE-2026-44643?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pw8r-6689-xvf4",
"modified" : "2026-05-13T13:53:12Z",
"published" : "2026-05-11T16:20:58Z",
"aliases" : [ "CVE-2026-44643" ],
"summary" : "Angular Expressions - Remote Code Execution using filters",
"details" : "## Impact\n\nAn attacker can write a malicious expression that escapes the sandbox to execute arbitrary code on the system.\n\nExample of vulnerable code:\n\n```\nconst expressions = require(\"angular-expressions\");\nconst result = expressions.compile(\"a | __proto__\")({}, {});\n```\n\nThis should throw the error : Filter '__proto__' is not defined, however, this shows : \n\nUncaught SyntaxError: Unexpected identifier 'Object'\n\nWith a more complex (undisclosed) payload, one can get full access to Arbitrary code execution on the system.\n\n## Vulnerable versions : \n\nangular-expressions <= 1.5.1\n\n## Patches\n\nThe problem has been patched in version 1.5.2 of angular-expressions.\n\n## Credits\n\nCredits go to San Gil from [www.securityoffice.io](https://securityoffice.io/) who has found the issue and reported it to us.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "angular-expressions"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.5.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/peerigon/angular-expressions/security/advisories/GHSA-pw8r-6689-xvf4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44643"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/peerigon/angular-expressions"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-95" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-11T16:20:58Z",
"nvd_published_at" : "2026-05-11T16:17:36Z"
}
}