CVE-2026-104849
Description
Tinypool is a minimal Node.js worker thread pool implementation. Prior to 2.1.2, Tinypool reads filename from a caller-supplied options object in pool.run(task, options) without requiring an own property, so a polluted Object.prototype.filename can replace the intended worker module. Applications are affected only when they pass their own second-argument options object to pool.run(); calls without that argument use the trusted default options object. An attacker who can first pollute the prototype can cause the worker pool to load attacker-selected JavaScript and can read or modify task data with the host process's privileges. This issue is fixed in version 2.1.2.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tinypoolnpm | < 2.1.2 | 2.1.2 |
Affected products
1Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-85c8-ppgw-ccprghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-104849ghsaADVISORY
- github.com/tinylibs/tinypool/commit/f41411a3e23324c674f35a19a3240f7a7c40ffbfnvdWEB
- github.com/tinylibs/tinypool/pull/135nvdWEB
- github.com/tinylibs/tinypool/releases/tag/v2.1.2nvdWEB
- github.com/tinylibs/tinypool/security/advisories/GHSA-85c8-ppgw-ccprnvdWEB
News mentions
0No linked articles in our index yet.