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.
Severity (CVSS)
| Base score | 9.2 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-918 — Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| repomix | repomix | 0 to <1.14.1; 0 to <=c748b52 |
References
- https://github.com/yamadashy/repomix/issues/1703 (issue-tracking)
- https://github.com/yamadashy/repomix (product)
- https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf (patch)
- https://www.vulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository-urls-in-post-api-pack (third-party-advisory)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.