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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-552 — Files or Directories Accessible to External Parties
Affected products
| Vendor | Product | Versions |
|---|---|---|
| repomix | repomix | 0 to <1.14.1; 0 to <=c748b52 |
References
- https://github.com/yamadashy/repomix/issues/1704 (issue-tracking)
- https://github.com/yamadashy/repomix (product)
- https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf (patch)
- https://www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-scheme-in-git-clone-endpoint (third-party-advisory)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.