CVE-2026-118773

Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal

Published Oct 29, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

AbortSignal cancellation is not respected in node-glob versions 9.0.0 through 14.0.2; the abort branches in walker.ts invoke callbacks without returning, causing execution to continue into filesystem traversal even after a timed‑out AbortSignal. Applications that expose attacker-controlled glob patterns or directory structures can trigger repeated timed‑out requests, stacking filesystem operations and CPU work. This results in degradation of worker throughput or outright service availability loss; no confidentiality or integrity impact was observed.

Affected Systems

The vulnerability affects the node-glob library maintained by Isaacs, specifically versions 9.0.0 through 14.0.2. Functions impacted include GlobUtil.walkCB(), GlobUtil.walkCB2(), GlobUtil.walkCBSync(), and GlobUtil.walkCB2Sync(). Versions 14.0.2 and later include the fix.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score is < 1 %, and the vulnerability is not listed in CISA KEV, suggesting it is not currently widely exploited. Based on the description, the likely attack vector is remote via application inputs that use glob patterns, allowing an attacker to force repeated timeouts that consume disk and CPU resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the node-glob package to version 14.0.2 or later where the abort handling bug is corrected.
  • If upgrading is not immediately possible, restrict the use of glob patterns to a trusted set and sandbox path traversal to prevent uncontrolled filesystem access.
  • Implement application-level rate limiting or timeout enforcement on glob operations to mitigate potential resource exhaustion from repeated requests.

Generated by OpenCVE AI on October 30, 2026 at 14:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-3g3m-2fjr-6pw4 Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Isaacs
Isaacs node-glob
Vendors & Products Isaacs
Isaacs node-glob
Type Values Removed Values Added
Description 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.
Title Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 5:12 PM
Reserved
Oct 28, 2026, 7:20 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 7:17 PM
Modified
Oct 30, 2026, 7:37 PM
Severity
Moderate
Public date
Oct 29, 2026, 6:27 PM