Paper/Archive/CVE-2026-59702

CVE-2026-59702

repomix repomix — repomix - Server-Side Request Forgery via Unvalidated Repository URLs in POST /api/pack

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
repomix< 1.14.11.14.1CNA
repomix≤ c748b52–CNA

Scores by source

VulnCheck (CNA)9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

exploitgithub.com/yamadashy/repomix/issues/1703refgithub.com/yamadashy/repomixpatchgithub.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cfwriteupvulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository-urls-in-post-api-pack