Intel

AIKIDO-2026-938696

tinypool is vulnerable to Prototype Pollution

Prototype PollutionGHSA-85c8-ppgw-ccpr Published Yesterday

81

High Risk

This Affects:

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

TL;DR

tinypool reads the filename option of pool.run(task, options) through the prototype chain instead of checking for an own property. When Object.prototype.filename is polluted elsewhere in the process and a caller passes a user-supplied options object, the pool loads and executes an attacker-controlled worker module. This turns an existing prototype pollution primitive into arbitrary code execution in the worker pool. The fix reads run options from a null-prototype object so inherited filename values 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 Object.prototype.filename while a caller passes a user-supplied options object to pool.run.

Background info

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

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