CVE-2026-59702
Severity CVSS v4.0:
CRITICAL
Type:
CWE-918
Server-Side Request Forgery (SSRF)
Publication date:
08/07/2026
Last modified:
10/07/2026
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.
Impact
Base Score 4.0
9.20
Severity 4.0
CRITICAL
Base Score 3.x
9.30
Severity 3.x
CRITICAL
References to Advisories, Solutions, and Tools
- 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



