Security mailing lists by PureSourceCode

CVE-2025-64756

HIGH 7.5CVSS 3.1

glob CLI: Command injection via -c/--cmd executes matches with shell:true

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.

Published
17 Nov 2025
Last modified
7 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-5j98-mcp5-4vw2
Sources
NVDJSONOSV GHSA-5j98-mcp5-4vw2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD isaacs glob
cpe:2.3:a:isaacs:glob:*:*:*:*:*:node.js:*:*
>= 10.2.0, < 10.5.0 10.5.0
NVD isaacs glob
cpe:2.3:a:isaacs:glob:*:*:*:*:*:node.js:*:*
>= 11.0.0, < 11.1.0 11.1.0
OSV npm glob >= 11.0.0, < 11.1.0 11.1.0
OSV npm glob >= 10.2.0, < 10.5.0 10.5.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Nov 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.