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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm repomix | < 1.14.1; <= c748b52 | 1.14.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm repomix | < 1.14.1 | 1.14.1 |
| npm repomix | <= c748b52 | No fix listed |
References
- GitHub Issue exploit issue-tracking
- Product product
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-42298 third-party-advisory