{"id":"CVE-2026-59703","title":"repomix - Local File Inclusion via file:// URL Scheme in Git Clone Endpoint","summary":"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 bl…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvssSource":"cna","cwe":["CWE-552"],"vendor":"repomix","product":"repomix","affected":["repomix < 1.14.1","repomix <= c748b52"],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T16:51:45.464506Z"},"exploitAvailable":true,"published":"2026-07-08","updated":"2026-09-24","sourceUpdated":"2026-09-24T14:17:58.462Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59703","references":[{"url":"https://github.com/yamadashy/repomix/issues/1704","label":"GitHub Issue"},{"url":"https://github.com/yamadashy/repomix","label":"Product"},{"url":"https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf","label":"Patch Commit"},{"url":"https://www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-scheme-in-git-clone-endpoint"}],"tags":["cve.org","exploit-available"],"epss":0.00514,"epssPercentile":0.41224,"ingestedAt":"2026-09-24T15:45:56.725Z","slug":"CVE-2026-59703","body":"## Overview\n\nrepomix 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.\n\n## Affected\n\n- `repomix < 1.14.1`\n- `repomix <= c748b52`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[]}