CVE-2026-118773
Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.3
Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
- Record
CVE-2026-118773- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2026-113329
6.3
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
- Record
EUVD-2026-113329- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3g3m-2fjr-6pw4
6.3
Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Summary
In glob 13.0.6, an aborted async walk rejects or emits an error but continues recursively reading directories in the background.
The root cause is that abort branches in src/walker.ts call cb() without returning. As a result, callers that rely on signal or AbortSignal.timeout() to bound glob traversal cost can still incur filesystem I/O and CPU work after the request has already been rejected.
Details
This was reproduced on glob v13.0.6 (commit e80cb38ae60d6cbff9e75f39032a994858994d35).
The README documents that the signal option cancels the glob walk. However, in src/walker.ts, the following methods call cb() when this.signal?.aborted is true but do not return:
- GlobUtil.walkCB()
- GlobUtil.walkCB2()
- GlobUtil.walkCBSync()
- GlobUtil.walkCB2Sync()
Example vulnerable pattern:
if (this.signal?.aborted) cb()
Because execution continues after cb(), the walker still reaches processor.processPatterns(), readdirCB(), and recursive walkCB2() calls.
The issue was directly demonstrated against v13.0.6. A source-history review shows the same missing-return pattern is present in tagged releases from v9.0.0 through v13.0.6.
The issue affects both glob() and globStream().
Recommended fix: Change each abort branch to return immediately:
if (this.signal?.aborted) return cb()
Proof of concept
Environment:
- Linux x86_64
- Node.js v22.23.3
- npm 10.9.9
- glob 13.0.6
Reproduction steps:
-
Install the affected package: npm init -y npm install [email protected]
-
Run the attached PoC: node poc/abort-continues-work.mjs
The PoC aborts after the first readdir() call, waits briefly, and counts how many more directory reads happen after the promise has already rejected.
Observed output on the vulnerable version:
{ "rejection": "Error: probe-abort", "readdirCalls": 1365, "readdirCallsAtReject": 5, "readdirCallsAfterReject": 1360 }
Expected behavior: readdirCallsAfterReject should be 0.
A second PoC using AbortSignal.timeout() also reproduces the issue:
{ "rejection": "TimeoutError: The operation was aborted due to timeout", "readdirCalls": 133, "readdirCallsAtReject": 1, "readdirCallsAfterReject": 132 }
The same test against a patched build with return cb() in the four abort branches stops immediately:
{ "readdirCalls": 1, "readdirCallsAtReject": 1, "readdirCallsAfterReject": 0 }
Impact
This is an availability issue.
Applications that expose globbing over attacker-influenced patterns or attacker-controlled directory trees and use AbortSignal / AbortSignal.timeout() as a traversal budget can still perform significant filesystem I/O and CPU work after a request has already timed out or been canceled.
Repeated timed-out requests can stack background glob walks and degrade worker throughput or service availability.
No confidentiality or integrity impact was observed.
- Record
GHSA-3g3m-2fjr-6pw4- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-400
- Updated
- 2026-11-02
NVD
6.3
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
- Record
CVE-2026-118773- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-400
- Updated
- 2026-11-02
OSV
6.3
Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
- Record
CVE-2026-118773- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-400
- Updated
- 2026-11-04
OSVDEBIAN-CVE-2026-118773
6.3
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
- Record
DEBIAN-CVE-2026-118773- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
Show 6 moreShow less
OSVGHSA-3g3m-2fjr-6pw4
6.3
Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Summary
In glob 13.0.6, an aborted async walk rejects or emits an error but continues recursively reading directories in the background.
The root cause is that abort branches in src/walker.ts call cb() without returning. As a result, callers that rely on signal or AbortSignal.timeout() to bound glob traversal cost can still incur filesystem I/O and CPU work after the request has already been rejected.
Details
This was reproduced on glob v13.0.6 (commit e80cb38ae60d6cbff9e75f39032a994858994d35).
The README documents that the signal option cancels the glob walk. However, in src/walker.ts, the following methods call cb() when this.signal?.aborted is true but do not return:
- GlobUtil.walkCB()
- GlobUtil.walkCB2()
- GlobUtil.walkCBSync()
- GlobUtil.walkCB2Sync()
Example vulnerable pattern:
if (this.signal?.aborted) cb()
Because execution continues after cb(), the walker still reaches processor.processPatterns(), readdirCB(), and recursive walkCB2() calls.
The issue was directly demonstrated against v13.0.6. A source-history review shows the same missing-return pattern is present in tagged releases from v9.0.0 through v13.0.6.
The issue affects both glob() and globStream().
Recommended fix: Change each abort branch to return immediately:
if (this.signal?.aborted) return cb()
Proof of concept
Environment:
- Linux x86_64
- Node.js v22.23.3
- npm 10.9.9
- glob 13.0.6
Reproduction steps:
-
Install the affected package: npm init -y npm install [email protected]
-
Run the attached PoC: node poc/abort-continues-work.mjs
The PoC aborts after the first readdir() call, waits briefly, and counts how many more directory reads happen after the promise has already rejected.
Observed output on the vulnerable version:
{ "rejection": "Error: probe-abort", "readdirCalls": 1365, "readdirCallsAtReject": 5, "readdirCallsAfterReject": 1360 }
Expected behavior: readdirCallsAfterReject should be 0.
A second PoC using AbortSignal.timeout() also reproduces the issue:
{ "rejection": "TimeoutError: The operation was aborted due to timeout", "readdirCalls": 133, "readdirCallsAtReject": 1, "readdirCallsAfterReject": 132 }
The same test against a patched build with return cb() in the four abort branches stops immediately:
{ "readdirCalls": 1, "readdirCallsAtReject": 1, "readdirCallsAfterReject": 0 }
Impact
This is an availability issue.
Applications that expose globbing over attacker-influenced patterns or attacker-controlled directory trees and use AbortSignal / AbortSignal.timeout() as a traversal budget can still perform significant filesystem I/O and CPU work after a request has already timed out or been canceled.
Repeated timed-out requests can stack background glob walks and degrade worker throughput or service availability.
No confidentiality or integrity impact was observed.
- Record
GHSA-3g3m-2fjr-6pw4- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-118773
6.3
Glob matches files using patterns the shell uses. From 9.0.0 until 14.0.2, abort branches in src/walker.ts, including GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(), invoke the callbacks without returning. After AbortSignal or AbortSignal.timeout() rejects or emits an error, execution can continue into processor.processPatterns(), readdirCB(), and recursive traversal. The issue affects glob() and globStream() when applications expose attacker-influenced patterns or directory trees and rely on cancellation as a traversal budget. Repeated timed-out requests can stack background filesystem operations and CPU work, degrading worker throughput or service availability; no confidentiality or integrity impact was observed. This issue is fixed in 14.0.2.
- Record
UBUNTU-CVE-2026-118773- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Updated
- 2026-11-05
OSVCLSA-2026-1793790276 No score
TuxCare security update for glob (1 CVE)
TuxCare rebuilt glob to address 1 CVE. Fixed in 10.5.0-tuxcare.1.
- Record
CLSA-2026-1793790276- Updated
- 2026-11-04
OSVCLSA-2026-1794048371 No score
TuxCare security update for glob (1 CVE)
TuxCare rebuilt glob to address 1 CVE. Fixed in 10.3.10-tuxcare.2.
- Record
CLSA-2026-1794048371- Updated
- 2026-11-07
OSVCLSA-2026-1794048468 No score
TuxCare security update for glob (1 CVE)
TuxCare rebuilt glob to address 1 CVE. Fixed in 10.2.6-tuxcare.2.
- Record
CLSA-2026-1794048468- Updated
- 2026-11-07
OSVCLSA-2026-1794065402 No score
TuxCare security update for glob (2 CVEs)
TuxCare rebuilt glob to address 2 CVEs. Fixed in 10.3.3-tuxcare.1.
- Record
CLSA-2026-1794065402- Updated
- 2026-11-07
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
globnpm |
9.0.0 to 14.0.1 | 14.0.2 |
globTuxCare:npm |
10.5.0-tuxcare.0 up to 10.5.0-tuxcare.1, plus listed versions 10.5.0 |
10.5.0-tuxcare.1 |
globTuxCare:npm |
10.3.10-tuxcare.0 up to 10.3.10-tuxcare.2, plus listed versions 10.3.1010.3.10-tuxcare.1 |
10.3.10-tuxcare.2 |
globTuxCare:npm |
10.2.6-tuxcare.0 up to 10.2.6-tuxcare.2, plus listed versions 10.2.610.2.6-tuxcare.1 |
10.2.6-tuxcare.2 |
globTuxCare:npm From an advisory covering 2 CVEs |
10.3.3-tuxcare.0 up to 10.3.3-tuxcare.1, plus listed versions 10.3.3 |
10.3.3-tuxcare.1 |
node-globDebian:12 |
All versions, plus listed versions 10.2.7+~cs0.4.15-110.3.6+~cs0.4.15-110.3.6+~cs0.4.15-210.3.6+~cs0.4.15-310.3.6+~cs0.4.15-4 Show 12 moreShow less10.3.6+~cs0.4.15-510.3.6+~cs0.4.15-610.3.6+~cs0.4.15-710.3.6+~cs0.4.15-810.3.6+~cs0.4.15-913.0.6+~cs0.4.15-113.0.6+~cs0.4.15-28.0.3+~cs8.4.15-18.0.3+~cs8.4.15-28.0.3+~cs8.4.15-38.0.3+~cs8.4.15-48.1.0+~cs8.5.15-1 |
None known |
node-globDebian:13 |
All versions, plus listed versions 10.2.7+~cs0.4.15-110.3.6+~cs0.4.15-110.3.6+~cs0.4.15-210.3.6+~cs0.4.15-310.3.6+~cs0.4.15-4 Show 8 moreShow less10.3.6+~cs0.4.15-510.3.6+~cs0.4.15-610.3.6+~cs0.4.15-710.3.6+~cs0.4.15-810.3.6+~cs0.4.15-913.0.6+~cs0.4.15-113.0.6+~cs0.4.15-28.1.0+~cs8.5.15-1 |
None known |
node-globDebian:14 |
All versions, plus listed versions 10.2.7+~cs0.4.15-110.3.6+~cs0.4.15-110.3.6+~cs0.4.15-210.3.6+~cs0.4.15-310.3.6+~cs0.4.15-4 Show 8 moreShow less10.3.6+~cs0.4.15-510.3.6+~cs0.4.15-610.3.6+~cs0.4.15-710.3.6+~cs0.4.15-810.3.6+~cs0.4.15-913.0.6+~cs0.4.15-113.0.6+~cs0.4.15-28.1.0+~cs8.5.15-1 |
None known |
globnpm |
9.0.0 up to 14.0.2 | 14.0.2 |
node-globUbuntu:14.04:LTS |
All versions, plus listed versions 3.2.1-23.2.6-1 |
None known |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
node-globUbuntu:16.04:LTS |
All versions, plus listed versions 4.0.5-1 |
None known |
node-globUbuntu:18.04:LTS |
All versions, plus listed versions 7.1.2-4 |
None known |
node-globUbuntu:20.04:LTS |
All versions, plus listed versions 7.1.3-27.1.6-1 |
None known |
node-globUbuntu:22.04:LTS |
All versions, plus listed versions 7.1.6+~7.1.3-17.1.7+~cs7.5.19-27.2.1+~cs7.6.15-1 |
None known |
node-globUbuntu:24.04:LTS |
All versions, plus listed versions 8.0.3+~cs8.4.15-18.0.3+~cs8.4.15-4build28.1.0+~cs8.5.15-1 |
None known |
node-globUbuntu:26.10 |
All versions, plus listed versions 10.3.6+~cs0.4.15-8build113.0.6+~cs0.4.15-2 |
None known |
node-globUbuntu:26.04:LTS |
All versions, plus listed versions 8.1.0+~cs8.5.15-110.3.6+~cs0.4.15-8build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases | OSV | |
| affected, aliases | OSV | |
| affected, aliases | OSV | |
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-118773 is a medium vulnerability (CVSS 6.3) in Isaacs Node-glob, published October 29, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in glob 14.0.2.
References
github.com/isaacs/node-glob/security/advisories/GHSA-3g3m-2fjr-6pw4
github.com/isaacs/node-glob/commit/4682e8c9babee1b385202ede36389634e12076d7
github.com/isaacs/node-glob/releases/tag/v14.0.2
nvd.nist.gov/vuln/detail/CVE-2026-118773
github.com/advisories/GHSA-3g3m-2fjr-6pw4
github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118773.json