CVE-2026-59703 PUBLISHED

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

Assigner: VulnCheck
Reserved: 06.07.2026 Published: 08.07.2026 Updated: 08.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor repomix
Product repomix
Versions Default: affected
  • affected from 0 to 1.14.1 (excl.)
  • affected from 0 to c748b52 (incl.)

Credits

  • George Chen reporter

References

Problem Types

  • Files or Directories Accessible to External Parties CWE