cvelo
P3 · MediumCVSS 6.3EPSS 0.9%

Glob: Absolute `ignore` pattern silently bypassed when `root`/`cwd` path contains braces

  • CVE-2026-144291
  • GHSA-c6wh-w8c3-cv3g
  • EUVD-2026-143500

Summary

The glob package, which matches files using shell-style patterns, has a flaw in versions before 14.0.6 affecting its ignore option. When an absolute ignore pattern is built in src/ignore.ts, the escaped root or cwd path does not keep braces as literal characters. If that path contains braces and is re-parsed, brace expansion alters it, so the ignore matcher no longer matches the real literal path. As a result, files the application meant to exclude can be returned to the caller. The record carries a CVSS score of 6.3, is not listed in the CISA known exploited vulnerabilities catalog, and is fixed in version 14.0.6.

AI summary · verify against the vendor advisory

Description

Glob matches files using patterns the shell uses. Prior to 14.0.6, the glob ignore option composes absolute ignore patterns by inserting an escaped root/cwd path into a new glob string in src/ignore.ts, but the escape operation does not preserve braces as literal characters. When an affected application uses an absolute ignore rule and processes a brace-containing root/cwd path, the path is brace-expanded during re-parsing, the ignore matcher no longer matches the real literal path, and files intended to be excluded can be returned to the caller. This issue is fixed in version 14.0.6.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • isaacs node-glob

    Affected versionsFixed in
    < 14.0.6none stated
  • globnpm

    Affected versionsFixed in
    up to 14.0.5none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.