CVE-2026-59703
repomix contains a local file inclusion vulnerability in the git …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf
- github.com/yamadashy/repomix
- github.com/yamadashy/repomix/issues/1704
- www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-scheme-in-git-clone
- nvd.nist.gov/vuln/detail/CVE-2026-59703
- cve.org/CVERecord?id=CVE-2026-59703
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.