CVE-2026-104849: Tinypool: Prototype Pollution Gadget to RCE in run() options

Published Oct 2, 2026
·
Updated

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.

Affected Software

1 affected component
npm/tinypool<2.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade tinypool to a version that resolves this vulnerability.

    Fixed in 2.1.2

Event History

Oct 2, 2026
CVE Published
via MITRE·04:17 PM
Data Sourced
via MITRE·04:17 PM
DescriptionWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which uses of pool.run() are exposed?

Only applications that pass their own options object as the second argument to pool.run(task, options) are affected. Calls that omit the second argument use Tinypool's trusted default options object and are not affected by this issue.

2

What must an attacker be able to do to exploit this?

The attacker must first be able to pollute Object.prototype and must be able to cause a vulnerable pool.run() call that receives a caller-supplied options object. A polluted Object.prototype.filename can then select the JavaScript module loaded by the worker pool.

3

What is the impact if exploitation succeeds?

An attacker can cause the worker pool to load attacker-selected JavaScript. The loaded code can read or modify task data with the host process's privileges.

4

What version fixes the issue?

Upgrade Tinypool to version 2.1.2 or later. Versions prior to 2.1.2 are affected when the vulnerable call pattern is used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203