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

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-09-04T14:32:15.388Z
- Modified: 2026-09-14T20:16:58.987Z
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- crcn sift.js: up to 17.1.3

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/crcn/sift.js/issues/276> (issue-tracking)
- <https://github.com/crcn/sift.js> (product)
- <https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts> (technical-description)
- <https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85625](https://www.cve.org/CVERecord?id=CVE-2026-85625), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-85625](https://nvd.nist.gov/vuln/detail/CVE-2026-85625), Public domain, modified 2026-09-14

---

Page: https://cve.day/CVE-2026-85625 · Whole record: https://cve.day/CVE-2026-85625.json · Rebuilt by cve.day 2026-11-25T22:59:36.295Z
