Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a
- https://github.com/yamadashy/repomix
- https://github.com/yamadashy/repomix/issues/1704
- https://www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-s
- https://github.com/yamadashy/repomix/issues/1704
FAQ
What is CVE-2026-59703?
CVE-2026-59703 is a vulnerability with a CVSS score of 7.5 (HIGH). 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/c...
How severe is CVE-2026-59703?
CVE-2026-59703 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-59703?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.