What’s Vulnerable › Vulnerabilities

CVE-2026-59702: repomix - Server-Side Request Forgery via Unvalidated Repository URLs in POST /api/pack

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

How to fix

Upgrade to a fixed version: repomix 1.14.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59702 or the next vulnerability affects your stack