CVE-2026-118773
Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | glob | >= 9.0.0, <= 14.0.1 | 14.0.2 |
Betroffene Produkte · Isaacs
| Produkt | Betroffene Versionen |
|---|---|
| Node-glob | ab 9.0.0, vor 14.0.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-3g3m-2fjr-6pw4
- https://github.com/isaacs/node-glob/security/advisories/GHSA-3g3m-2fjr-6pw4
- https://nvd.nist.gov/vuln/detail/CVE-2026-118773
- https://github.com/isaacs/node-glob/commit/4682e8c9babee1b385202ede36389634e12076d7
- https://github.com/isaacs/node-glob/releases/tag/v14.0.2