CVE-2026-59702

CRITICAL

repomix - Server-Side Request Forgery via Unvalidated Repository URLs in POST /api/pack

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 9.3
EPSS 0.0032
EPSS Percentile 24.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-918
Status published
Products (2)
repomix/repomix < 1.14.1
repomix/repomix < c748b52
Published Jul 08, 2026
Tracked Since Jul 08, 2026