<?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-06T11:16:53.222820+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/brew-repomix-cve-2026-49987</id>
    <title>BREW-repomix-CVE-2026-49987 — repomix Vulnerable to Command Injection (RCE) via `--remote-branch` Argument Injection</title>
    <updated>2026-10-06T11:16:53.310813+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: repomix</p>
<p>### Vulnerability Metadata</p>
<p>| Field | Detail |
| --- | --- |
| **Affected Component** | `src/core/git/gitCommand.ts` (`execGitShallowClone`) |
| **Impact** | Arbitrary Command Execution / Security Control Bypass |</p>
<p>### Summary</p>
<p>The `--remote-branch` CLI option in `repomix` is vulnerable to argument injection. User-supplied input is passed directly to `git fetch` and `git checkout` subprocesses via `child_process.execFileAsync` without sanitization, `--` delimiters, or validation.</p>
<p>An attacker can inject arbitrary git command-line options. By injecting the `--upload-pack` option and specifying an SSH (`git@...`) or local (`file://`) remote URL, an attacker achieves arbitrary command execution with the privileges of the user running `repomix`. This bypasses the existing `dangerousParams` blocklist implemented in `validateGitUrl()`.</p>
<p>### Vulnerable Code Analysis</p>
<p>**File:** `src/core/git/gitCommand.ts`</p>
<p>The `remoteBranch` parameter is appended directly to the arguments array for git subprocesses without the `--` positional delimiter.</p>
<p>**Sink 1 (Lines 118-127):**</p>
<p>```typescript
await deps.execFileAsync(
  'git',
  ['-C', directory, 'fetch', '--depth', '1', 'origin', remoteBranch], // Vulnerable
  gitRemoteOpts,
);</p>
<p>```</p>
<p>**Sink 2 (Lines 148-151):**</p>
<p>```typescript
await deps.execFileAsync('git', ['-C', directory, 'checkout', remoteBranch]); // Vulnerable</p>
<p>```</p>
<p>**Bypassed Security Control (Lines 192-197):**
The application attempts to prevent this exact vulnerability class by blocki…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/brew-repomix-cve-2026-49987"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-338148</id>
    <title>EUVD-2026-338148</title>
    <updated>2026-10-06T11:16:53.310914+00:00</updated>
    <content>EUVD-2026-338148</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-338148"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-49987</id>
    <title>fkie_cve-2026-49987</title>
    <updated>2026-10-06T11:16:53.310931+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, src/core/git/gitCommand.ts execGitShallowClone passes the --remote-branch value directly to git fetch and git checkout without validation or --end-of-options, allowing --upload-pack or other Git option injection that bypasses validateGitUrl() dangerous parameter checks and can execute commands through local or SSH-style transports. This issue is fixed in version 1.14.1.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-49987"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-9mm9-rqhj-j5mx</id>
    <title>GHSA-9mm9-rqhj-j5mx — repomix Vulnerable to Command Injection (RCE) via `--remote-branch` Argument Injection</title>
    <updated>2026-10-06T11:16:53.310956+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: repomix</p>
<p>### Vulnerability Metadata</p>
<p>| Field | Detail |
| --- | --- |
| **Affected Component** | `src/core/git/gitCommand.ts` (`execGitShallowClone`) |
| **Impact** | Arbitrary Command Execution / Security Control Bypass |</p>
<p>### Summary</p>
<p>The `--remote-branch` CLI option in `repomix` is vulnerable to argument injection. User-supplied input is passed directly to `git fetch` and `git checkout` subprocesses via `child_process.execFileAsync` without sanitization, `--` delimiters, or validation.</p>
<p>An attacker can inject arbitrary git command-line options. By injecting the `--upload-pack` option and specifying an SSH (`git@...`) or local (`file://`) remote URL, an attacker achieves arbitrary command execution with the privileges of the user running `repomix`. This bypasses the existing `dangerousParams` blocklist implemented in `validateGitUrl()`.</p>
<p>### Vulnerable Code Analysis</p>
<p>**File:** `src/core/git/gitCommand.ts`</p>
<p>The `remoteBranch` parameter is appended directly to the arguments array for git subprocesses without the `--` positional delimiter.</p>
<p>**Sink 1 (Lines 118-127):**</p>
<p>```typescript
await deps.execFileAsync(
  'git',
  ['-C', directory, 'fetch', '--depth', '1', 'origin', remoteBranch], // Vulnerable
  gitRemoteOpts,
);</p>
<p>```</p>
<p>**Sink 2 (Lines 148-151):**</p>
<p>```typescript
await deps.execFileAsync('git', ['-C', directory, 'checkout', remoteBranch]); // Vulnerable</p>
<p>```</p>
<p>**Bypassed Security Control (Lines 192-197):**
The application attempts to prevent this exact vulnerability class by blocki…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-9mm9-rqhj-j5mx"/>
  </entry>
</feed>
