Vulnerability Description
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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a
- https://github.com/yamadashy/repomix
- https://github.com/yamadashy/repomix/issues/1703
- https://www.vulncheck.com/advisories/repomix-server-side-request-forgery-via-unv
- https://github.com/yamadashy/repomix/issues/1703
FAQ
What is CVE-2026-59702?
CVE-2026-59702 is a vulnerability with a CVSS score of 9.3 (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 va...
How severe is CVE-2026-59702?
CVE-2026-59702 has been rated CRITICAL with a CVSS base score of 9.3/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-59702?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.