CVE-2026-59702
Critical · CVSS 9.3repomix — Server-Side Request Forgery (SSRF) via unvalidated repository URLs in POST /api/pack endpoint
- CVSS
- 9.3
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-918
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.
Search profile — drives PoC discovery
Symbols POST /api/packgit clonehttp://https://file:///api/packc748b524f41225e7fc6f89ad0084520901a453cf
Keywords CVE-2026-59702repomixSSRFserver-side request forgeryapi/packgit clone SSRFGCP metadataunvalidated repository URLrepomix PoCrepomix exploitCWE-918repomix issue 1703
Versions: < commit c748b524f41225e7fc6f89ad0084520901a453cf
References
- https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf
- https://github.com/yamadashy/repomix
- https://github.com/yamadashy/repomix/issues/1703
- https://www.vulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository-urls-in-post-api-pack
- https://github.com/yamadashy/repomix/issues/1703
Status: enriched · ingested 2026-07-11T00:00:26.000Z · profiled 2026-07-11T00:30:26.000Z