cve.bz

CVE-2026-104849 tinylibs tinypool: Code Injection

9.5 criticalEPSS 0.5%Fix available

Critical (9.5) in tinylibs tinypool. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in tinypool 2.1.2.

On this page
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.

Severity

CVSS 4.0

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-10-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • tinypool (npm): fixed in 2.1.2

Ask an AI about this CVE

Show the promptExplain CVE-2026-104849 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-104849?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-104849?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-104849 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
tinylibs tinypool< 2.1.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-85c8-ppgw-ccprnpmtinypool<2.1.22.1.2

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important severity because successful exploitation allows an attacker to escalate prototype pollution into arbitrary code execution within the host Node.js process. To trigger the flaw, a separate vulnerability must exist within the application to pollute global object properties, and the application must supply custom secondary options when scheduling worker tasks. Without an existing pollution vector and non-default task execution invocations, the worker thread pool cannot be coerced into loading attacker-controlled modules.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7amq-broker-bin.zipNot affected
Red Hat AMQ Broker 7amq-broker-maven-repository.zipAffected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/gateway-rhel9Not affected
Red Hat Ansible Automation Platform 2automation-gatewayAffected
Red Hat Ansible Automation Platform 2automation-platform-uiNot affected
Red Hat Build of Podman Desktoprh-podman-desktopAffected
Red Hat Hardened Imagesopentelemetry-collectorNot affected
Red Hat Hardened Imagesopentelemetry-collector-contribNot affected
Red Hat Hardened Imagesopentelemetry-collector-k8sNot affected
Red Hat Hardened Imagesprometheus3.13Not affected
Red Hat JBoss Enterprise Application Platform 8jboss-eap.1-runtime-maven-repository.zipNot affected
Red Hat JBoss Enterprise Application Platform 8jboss-eap-runtime-maven-repository.zipNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap.1-runtime-maven-repository.zipNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packjboss-eap-runtime-maven-repository.zipNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-104849.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON