sadrobot

← Back to the monthly list

CVE-2026-104849 tinylibs · tinypool

9.5 Critical

AI summary

tinypool before 2.1.2 reads filename in pool.run() from inherited properties, so a polluted Object.prototype can swap the worker module for attacker-chosen JavaScript. Only applications passing their own options object as the second argument are affected; attackers can execute code and read or modify task data. Critical (CVSS 9.5); upgrade to 2.1.2.

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

Published
2026-10-02 17:17 UTC
Modified
2026-10-06 17:17 UTC
CVSS
9.5 Critical CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS
0.59% (percentile 42)
ENISA EUVD
EUVD-2026-91719
CISA SSVC
Exploitation: poc · Automatable: yes · Technical impact: total
CWE
CWE-94

CVSS vector

Attack vector
network
Attack complexity
low
Attack requirements
present
Privileges required
none
User interaction
none
Confidentiality
high
Integrity
high
Availability
high

References