CVE-2026-139876: Axios 1.7.6 before 1.21.0 Denial of Service via Prototype-Polluted unsubscribe
Axios 1.7.6 before 1.21.0 contains a prototype pollution gadget in the fetch adapter signal cleanup in lib/helpers/composeSignals.js that allows attackers to crash Node.js processes. Attackers who pollute Object.prototype.unsubscribe with a non-callable value trigger an uncaught TypeError during AbortSignal cleanup, terminating the process when no uncaughtException handler exists.
Affected Software
Event History
Frequently Asked Questions
Which deployments are realistically exposed to process termination?
Node.js processes using Axios versions from 1.7.6 before 1.21.0 are exposed when they use the fetch adapter signal-cleanup path and an attacker can cause Object.prototype.unsubscribe to hold a non-callable value. The process terminates if the resulting TypeError is uncaught.
What must an attacker be able to do to trigger the denial of service?
The attacker must be able to pollute Object.prototype.unsubscribe with a non-callable value. During AbortSignal cleanup, Axios then attempts to invoke that value and throws an uncaught TypeError.
Are default deployments necessarily affected?
The provided information does not establish that every default Axios deployment reaches the vulnerable cleanup path or that Object.prototype can be polluted without another application-specific condition. Exposure depends on use of the fetch adapter signal cleanup and the ability to introduce the required prototype pollution.
What is the available remediation?
Upgrade Axios to version 1.21.0 or later. If an immediate upgrade is not possible, preventing untrusted input from polluting Object.prototype.unsubscribe and handling uncaught exceptions can reduce the likelihood or impact of process termination, though the latter does not remove the underlying issue.
How can teams identify a likely vulnerable installation?
Check whether the application uses npm/axios at version 1.7.6 through versions before 1.21.0, runs in Node.js, and uses the fetch adapter with AbortSignal cleanup. Also investigate whether any reachable code path can pollute Object.prototype.unsubscribe with a non-callable value.