Files or Directories Accessible to External Parties Affecting repomix package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-REPOMIX-17905425
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditUnknown

Introduced: 8 Jul 2026

NewCVE-2026-59703  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

repomix is an A tool to pack repository contents to single file for AI consumption

Affected versions of this package are vulnerable to Files or Directories Accessible to External Parties via the remote repository URL validation in src/core/git/gitRemoteParse.ts and the public website pack clone path in processRemoteRepo. An attacker can read arbitrary local git repositories by supplying a file:// URL to the /api/pack clone endpoint, which passes the URL through shape-only parsing and into git clone. This lets an unauthenticated attacker fetch tracked file contents from repositories on the server filesystem. For users running the website server, the impact is unauthorized disclosure of repository data stored locally.

CVSS Base Scores

version 4.0
version 3.1