Skip to content

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

CriticalCVSS 9.2 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm repomix < 1.14.1; <= c748b52 1.14.1 Fixed

Affected products

ProductAffected versionsFixed in
npm repomix < 1.14.1 1.14.1
npm repomix <= c748b52 No fix listed

References