CVE-2025-64756

Published Nov 17, 2025

Last updated 9 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2025-64756 describes a command injection vulnerability found in the command-line interface (CLI) of the `glob` npm package. This flaw specifically impacts the `-c` or `--cmd` option, which is designed to execute a shell command for each file identified by a glob pattern. The vulnerability arises because, in affected versions, the `glob` CLI passes matched filenames directly to a shell with the `shell: true` option enabled. Consequently, if a filename contains special shell metacharacters such as semicolons (`;`), pipes (`|`), or command substitutions (`$()`), these characters are interpreted as executable commands by the shell rather than being treated as literal parts of the filename. This oversight allows for arbitrary command execution when processing files with maliciously crafted names, particularly in environments where filenames can be influenced by untrusted sources. The issue has been addressed in `glob` versions 10.5.0, 11.1.0, and 12.0.0.

Description
Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c <command> <patterns> are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0.
Source
security-advisories@github.com
NVD status
Analyzed
Products
glob

Risk scores

CVSS 3.1

Type
Secondary
Base score
7.5
Impact score
5.9
Exploitability score
1.6
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-78

Social media

Hype score
Not currently trending
  1. 108 CVE-2025-58434 CVE-2025-59057 CVE-2025-59343 CVE-2025-59790 CVE-2025-59792 CVE-2025-61622 CVE-2025-61686 CVE-2025-62228 CVE-2025-62232 CVE-2025-64756 CVE-2026-21884 CVE-2026-22706 CVE-2026-22807 CVE-2026-23630 CVE-2026-24015 CVE-2026-24899 CVE-2026-27471 CVE-2026-27806

    @BugBunny_ai

    27 Aug 2026

    4708 Impressions

    0 Retweets

    18 Likes

    6 Bookmarks

    2 Replies

    1 Quote

  2. ๐ŸŸ  HIGH (CVSS 7.5) โ€” CVE-2025-64756 Published: 2025-11-17 glob: glob: Command Injection Vulnerability via Malicious Filenames ๐Ÿงฌ CVSS 3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H #CVE #CyberSecurity #InfoSec #Vulnerability โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

    @CVE2026COIN

    22 Jun 2026

    2 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. 66 CVE-2025-58434 CVE-2025-59057 CVE-2025-59790 CVE-2025-59792 CVE-2025-61622 CVE-2025-61686 CVE-2025-64756 CVE-2026-21884 CVE-2026-22807 CVE-2026-23630 CVE-2026-27471 CVE-2026-27806 CVE-2026-27955 CVE-2026-28215 CVE-2026-28217 CVE-2026-28351 CVE-2026-28361 CVE-2026-28384

    @BugBunny_ai

    14 May 2026

    23006 Impressions

    42 Retweets

    319 Likes

    117 Bookmarks

    12 Replies

    3 Quotes

  4. Another high severity zero-day vulnerability autonomously surfaced by @WeAreAisle: CVE-2025-64756 = command injection vulnerability in the core of the Node.js ecosystem, the glob utility https://t.co/iscpxZz0qQ

    @stanislavfort

    20 Nov 2025

    946 Impressions

    0 Retweets

    5 Likes

    1 Bookmark

    0 Replies

    0 Quotes

  5. The NPM module `glob` (230M downloads per week) packages a command-line tool that includes a command injection flaw. This high-severity vulnerability (CVE-2025-64756 CVSSv3=7.5) allows malicious file names to serve as injection vectors for code exection.. Vulnerability affects

    @CheckmarxZero

    19 Nov 2025

    266 Impressions

    2 Retweets

    4 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. Glob CLI CVE-2025-64756: Command Injection Risk A command injection flaw in Glob CLI lets attackers execute arbitrary code if user input is unsanitized. Patch asap. For more details, read ZeroPath's blog on this vuln. #AppSec #CyberSecurity https://t.co/WGNxW2HKYW

    @ZeroPathLabs

    17 Nov 2025

    11 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  7. CVE-2025-64756 Glob matches files using patterns the shell uses. From versions 10.3.7 to 11.0.3, the glob CLI contains a command injection vulnerability in its -c/--cmd option that โ€ฆ https://t.co/zTq5X8Edey

    @CVEnew

    17 Nov 2025

    216 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations