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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1321",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104849.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "f41411a3e23324c674f35a19a3240f7a7c40ffbf"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.1.2",
"range": [
{
"fixed": "5e18382a9aaa3344035905384b18a88a9da8c8bb"
}
],
"source": "REFERENCES_TAG"
}
]
}