Axios denial of service in unsubscribe
Affects axios 1.7.6 before 1.21.0 when requests use the fetch adapter with a real AbortSignal passed through config.signal. No vendor severity rating is given. Fixed in 1.21.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.21.0
- Who is exposed
- Specific setups only
Summary
Axios is affected by a flaw that lets an attacker remotely crash Node.js processes without logging in or any user action. The attacker does this by polluting Object.prototype.unsubscribe with a non-callable value, which triggers an uncaught TypeError during AbortSignal cleanup and terminates the process when no uncaughtException handler exists.
Written by a model
Original description
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.
Who should check
Node.js teams running axios 1.7.6 through 1.20.x with the fetch adapter and a real AbortSignal, where a dependency can pollute Object.prototype.
“axios versions 1.7.6 through 1.20.0 contain an unsafe prototype-chain method lookup”
What to do
Check whether your setup matches what the bug needs.
A separate primitive pollutes Object.prototype.unsubscribe with a truthy value. axios uses the fetch adapter, either explicitly or because earlier default adapters are unavailable. The request supplies a real AbortSignal through config.signal. Signal cleanup is reached through completion, failure, abort, or streamed-response cleanup.Upgrade to a fixed version: 1.21.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-139876 (Axios 1.7.6 before 1.21.0 Denial of Service via Prototype-Polluted unsubscribe), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-139876 (entry last updated 2026-11-30):
Affected:
- npm package axios: from 1.7.6, fixed in 1.21.0
Fixed versions: 1.21.0.
Conditions (all must be true for the bug to be hit):
- A separate primitive pollutes Object.prototype.unsubscribe with a truthy value. (source: https://github.com/axios/axios/security/advisories/GHSA-6746-99mh-37fc)
- axios uses the fetch adapter, either explicitly or because earlier default adapters are unavailable. (source: https://github.com/axios/axios/security/advisories/GHSA-6746-99mh-37fc)
- The request supplies a real AbortSignal through config.signal. (source: https://github.com/axios/axios/security/advisories/GHSA-6746-99mh-37fc)
- Signal cleanup is reached through completion, failure, abort, or streamed-response cleanup. (source: https://github.com/axios/axios/security/advisories/GHSA-6746-99mh-37fc)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-139876 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139876 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (npm): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/axios/axios/security/advisories/GHSA-6746-99mh-37fc
- https://github.com/axios/axios/commit/2498c233438eb72c9a9ee8540ded19c6ef4224fa
- https://github.com/axios/axios/releases/tag/v1.21.0
- https://github.com/axios/axios/blob/v1.20.0/lib/helpers/composeSignals.js#L36-L46
- https://www.vulncheck.com/advisories/axios-1.7.6-before-1.21.0-denial-of-service-via-prototype-polluted-unsubscribe
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-139876
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139876"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach20/20axios: 136.7M downloads a week
- Severity8.2/10CVSS 8.2
- No patch0/5No signal
What would change the score
- Would score about 90 if added to CISA KEV
- Would score about 85 if CISA's SSVC rates exploitation active
Impact
Timeline
- CVE published
- First seen by cve.now
Evidence 7
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · axios/axios · Advisory GHSA-6746-99mh-37fc |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-139876 |
| Record | NVD · CVE-2026-139876 |
| Other links 4 | |
| Patch | GitHub · axios/axios · Commit 2498c233 |
| Repository | GitHub · axios/axios · Release v1.21.0 |
| Repository | GitHub · axios/axios · lib/helpers/composeSignals.js · L36-L46 |
| Link | vulncheck.com · advisories/axios-1.7.6-before-1.21.0-denial-of-service-via-prototype-polluted-unsubscribe |
Questions about CVE-2026-139876
Is CVE-2026-139876 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A separate primitive can pollute Object.prototype.unsubscribe with a truthy value. During request cleanup, this can cause an uncaught microtask exception that terminates a Node.js process, which is a conditional denial of service.
Source: github.com
Which versions are affected by CVE-2026-139876?
axios (npm): from 1.7.6 before 1.21.0.
Source: cve.now feed data
Am I affected, and how do I check?
Versions 1.7.6 before 1.21.0 are affected when requests use the fetch adapter, either set explicitly or because earlier default adapters are unavailable, and supply a real AbortSignal through config.signal. To check, look at the installed axios version and whether the adapter setting or config.signal is used in requests.
Source: github.com
How do I fix CVE-2026-139876?
Upgrade axios to 1.21.0 or later, the version listed as fixed. No vendor patch identifiers are given.
Source: github.com
Related
- CVE-2026-101909Axios: Prototype Pollution Gadget in axios toFormData Options
- CVE-2026-67320axios before 0.33.0 Prototype Pollution via Node HTTP adapter
- CVE-2026-101906Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
- CVE-2026-101903Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)
- CVE-2026-101901Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
- CVE-2026-101905Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection
No corrections so far. Something wrong on this page? Report an error.