Skip to content

CVE-2026-85625 sift 17.1.3 Prototype Pollution Remote Code Execution via $where

CriticalCVSS 9.2 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

Description

sift (sift.js) 17.1.3 enumerates query keys with for...in, which walks the object prototype chain, and dispatches any matched operator key including $where. The $where operation compiles a string value into a function using new Function unless CSP_ENABLED is set (not set by default). As a result, if a prototype-pollution primitive elsewhere in the process sets Object.prototype.$where to a malicious string, even benign filter calls such as sift({}) execute arbitrary JavaScript. Additionally, passing an untrusted query object containing a string $where directly to sift results in code execution under the default configuration.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/automation-platform-ui(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
npm sift <= 17.1.3 after 17.1.3 Fixed

Affected products

ProductAffected versionsFixed in
npm sift <= 17.1.3 No fix listed
redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) All versions No fix listed

References