Intel

AIKIDO-2026-396404

tinypool is vulnerable to Prototype Pollution

Prototype PollutionGHSA-5gmw-xhrv-c9v3 Published Yesterday

81

High Risk

This Affects:

JStinypool
0.0.1 - 2.1.0
Fixed in 2.1.1
Are you affected? Scan for Free

TL;DR

tinypool reads ThreadPool worker options such as execArgv and env through the prototype chain when constructing worker_threads workers. When Object.prototype is polluted elsewhere in the process, these inherited option values are passed to the worker, letting a polluted execArgv or env inject Node.js flags such as --require that load arbitrary modules. This turns an existing prototype pollution primitive into arbitrary code execution inside the worker. The fix builds worker options on a null-prototype object so inherited properties are ignored.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application or one of its dependencies contains a prototype pollution primitive that can set properties on Object.prototype.

Background info

tinypool is vulnerable to Prototype Pollution in versions 0.0.1 - 2.1.0.

How to fix this

Upgrade the tinypool library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform