What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: repomix 1.14.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59703 or the next vulnerability affects your stack