CVE-2026-59702: Vulnerability in Repomix
Critical. repomix contains a server-side request forgery vulnerability in the POST /api/pack endpoint that allows unauthenticated attackers to make arbitrary outbound requests. The endpoint fails to properly validate http://, https://, and file:// URLs before passing them to git clone, enabling attackers to access private network addresses, GCP metadata services, or local filesystem paths.
CWE-918
- Exploitation
- None confirmed
- Severity
- 9.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
- Weakness
- CWE-918
- Published
- 8 Jul 2026
- Last change
- 25 Oct 2026
Affected products
Affected versions and the first fixed release
- Repomix Before 1.14.1; Through c748b52. Fixed in 1.14.1
Advisories
Vendor and security advisories
- github.com/yamadashy/repomix
- github.com/yamadashy/repomix/issues/1703
- vulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository...
Patches and fixes
Updates, commits and release notes
Related
- Repomix vulnerabilities Recent advisories, watch this product