What’s Vulnerable › Vulnerabilities
CVE-2026-59703: repomix - Local File Inclusion via file:// URL Scheme in Git Clone Endpoint
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-08 · updated 2026-07-10
- Weakness: CWE-552
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.
Affected products
- repomix: before 1.14.1; through c748b52 — fixed in 1.14.1
How to fix
Upgrade to a fixed version: repomix 1.14.1. Check the vendor advisory for mitigations.
References
- https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf
- https://github.com/yamadashy/repomix
- https://github.com/yamadashy/repomix/issues/1704
- https://www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-scheme-in-git-clone-endpoint
- https://github.com/yamadashy/repomix/issues/1704
Get alerted when CVE-2026-59703 or the next vulnerability affects your stack