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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T14:55:33.342Z
- Modified: 2026-09-24T14:17:58.462Z
- Weaknesses: CWE-552
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- repomix repomix: before 1.14.1; up to c748b52

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/yamadashy/repomix/issues/1704> (exploit, 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)

## Sources

- CVE List: [CVE-2026-59703](https://www.cve.org/CVERecord?id=CVE-2026-59703), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-59703](https://nvd.nist.gov/vuln/detail/CVE-2026-59703), Public domain, modified 2026-07-10

---

Page: https://cve.day/CVE-2026-59703 · Whole record: https://cve.day/CVE-2026-59703.json · Rebuilt by cve.day 2026-11-25T22:59:27.383Z
