{"id":"CVE-2026-59703","summary":"repomix - Local File Inclusion via file:// URL Scheme in Git Clone Endpoint","details":"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.","modified":"2026-07-21T03:41:46.488241834Z","published":"2026-07-08T14:55:33.342Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"c748b52"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-552"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59703.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59703.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59703"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-scheme-in-git-clone-endpoint"},{"type":"REPORT","url":"https://github.com/yamadashy/repomix/issues/1704"},{"type":"FIX","url":"https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf"},{"type":"PACKAGE","url":"https://github.com/yamadashy/repomix"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/crazyforks/repomix","events":[{"introduced":"0"},{"fixed":"c748b524f41225e7fc6f89ad0084520901a453cf"}],"database_specific":{"source":"REFERENCES"}},{"type":"GIT","repo":"https://github.com/yamadashy/repomix","events":[{"introduced":"0"},{"fixed":"a7b93adfcdb11be923a9a092cceb1cb6739ef8e1"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"1.14.1"}]}}],"versions":["v0.2.21","v0.2.20","v0.2.19","v0.2.18","v0.2.17","v0.2.16","v0.2.15","v0.2.14","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.1.44","v0.1.43","v0.1.42","v0.1.41","v0.1.40","v0.1.39","v0.1.38","v0.1.37","v0.1.36","v0.1.35","v0.1.34","v0.1.33","v0.1.32","v0.1.31","v0.1.30","v0.1.29","v0.1.28","v0.1.27","v0.1.26","v0.1.25","v0.1.24","v0.1.23","v0.1.22","v0.1.21","v0.1.20","v0.1.19","v0.1.18","v0.1.16","v0.1.15","v0.1.14","v0.1.13","v0.1.12","v0.1.11","v0.1.10","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v1.14.0","v1.13.1","v1.13.0","v1.12.0","v1.11.1","v1.11.0","v1.10.2","v1.10.1","v1.10.0","v1.9.2","v1.9.1","v1.9.0","v1.8.0","v1.7.0","v1.6.1","v1.6.0","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.42","v0.2.41","v0.2.40","v0.2.39","v0.2.38","v0.2.37","v0.2.36","v0.2.35","v0.2.34","v0.2.33","v0.2.32","v0.2.31","v0.2.30","v0.2.29","v0.2.28","v0.2.26","v0.2.25","v0.2.24","v0.2.23","v0.2.22"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59703.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}