Skip to content
CVE PROGRAM SOURCE RECORD9.2 Critical

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

repomix repomix

Default version status: affected

  • 0 to < 1.14.1affected
  • 0 to ≤ c748b52affected
pkg:npm/repomix

References