<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T10:10:53.374133+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2025-64756</id>
    <title>CVE-2025-64756 — glob CLI: Command injection via -c/--cmd executes matches with shell:true</title>
    <updated>2026-10-07T10:10:53.404062+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> isaacs node-glob</p>
<p>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 &lt;command&gt; &lt;patterns&gt; 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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2025-64756"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-5j98-mcp5-4vw2</id>
    <title>GHSA-5j98-mcp5-4vw2 — glob CLI: Command injection via -c/--cmd executes matches with shell:true</title>
    <updated>2026-10-07T10:10:53.404125+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: glob</p>
<p>### Summary</p>
<p>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 &lt;command&gt; &lt;patterns&gt;` is 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.</p>
<p>### Details</p>
<p>**Root Cause:**
The vulnerability exists in `src/bin.mts:277` where the CLI collects glob matches and executes the supplied command using `foregroundChild()` with `shell: true`:</p>
<p>```javascript
stream.on('end', () =&gt; foregroundChild(cmd, matches, { shell: true }))
```</p>
<p>**Technical Flow:**
1. User runs `glob -c &lt;command&gt; &lt;pattern&gt;` 
2. CLI finds files matching the pattern
3. Matched filenames are collected into an array
4. Command is executed with matched filenames as arguments using `shell: true`
5. Shell interprets metacharacters in filenames as command syntax
6. Malicious filenames execute arbitrary commands</p>
<p>**Affected Component:**
- **CLI Only:** The vulnerability affects only the command-line interface
- **Library Safe:** The core glob library API (`glob()`, `globSync()`, streams/iterators) is not affected
- **Shell Dependency:** Exploitation requires shell metacharacter support (primarily POSIX systems)</p>
<p>**Attack Surface:**
- Files with names containing shell metacharacters: `$()`, backticks, `;`, `&amp;`, `|`, etc.
- Any directory whe…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-5j98-mcp5-4vw2"/>
  </entry>
</feed>
