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.
Problem types
Server-Side Request Forgery (SSRF)
Product status
Any version before 1.14.1
Any version
Credits
George Chen
References
github.com/yamadashy/repomix/issues/1703
github.com/yamadashy/repomix/issues/1703 (GitHub Iusse)
github.com/yamadashy/repomix (Product)
github.com/...ommit/c748b524f41225e7fc6f89ad0084520901a453cf (Patch Commit)
www.vulncheck.com/...idated-repository-urls-in-post-api-pack