Skip to content

CVE-2026-59703 repomix - Local File Inclusion via file:// URL Scheme in Git Clone Endpoint

HighCVSS 8.7 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

repomix contains a local file inclusion vulnerability in the git clone endpoint that allows unauthenticated attackers to read arbitrary local git repositories. The isValidRemoteValue function in src/core/git/gitRemoteParse.ts fails to block file:// URLs, permitting attackers to supply file:// scheme URLs that bypass validation and are passed directly to git clone, enabling unauthorized access to all tracked file contents on the server filesystem.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm repomix < 1.14.1; <= c748b52 1.14.1 Fixed

Affected products

ProductAffected versionsFixed in
npm repomix < 1.14.1 1.14.1
npm repomix <= c748b52 No fix listed

References