What’s Vulnerable › Vulnerabilities
CVE-2026-59702: repomix - Server-Side Request Forgery via Unvalidated Repository URLs in POST /api/pack
- Severity: critical (CVSS 9.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-08 · updated 2026-10-25
- Weakness: CWE-918
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.
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/1703
- https://www.vulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository-urls-in-post-api-pack
- https://github.com/yamadashy/repomix/issues/1703
Get alerted when CVE-2026-59702 or the next vulnerability affects your stack