{"id":"CVE-2026-59702","state":"PUBLISHED","title":"repomix - Server-Side Request Forgery via Unvalidated Repository URLs in POST /api/pack","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.","publishedAt":"2026-07-08T15:07:19.285Z","updatedAt":"2026-09-24T14:17:57.510Z","severity":{"score":9.2,"label":"Critical","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["repomix repomix"],"affected":[{"vendor":"repomix","product":"repomix","packageURL":"pkg:npm/repomix","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"1.14.1","versionType":"custom"},{"version":"0","status":"affected","lessThanOrEqual":"c748b52","versionType":"custom"}]}],"references":["https://github.com/yamadashy/repomix/issues/1703","https://github.com/yamadashy/repomix","https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf","https://www.vulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository-urls-in-post-api-pack"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59702.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59702","state":"PUBLISHED","datePublished":"2026-07-08T15:07:19.285Z","dateUpdated":"2026-09-24T14:17:57.510Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-06T15:31:46.187Z"},"containers":{"cna":{"title":"repomix - Server-Side Request Forgery via Unvalidated Repository URLs in POST /api/pack","descriptions":[{"lang":"en","value":"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":[{"vendor":"repomix","product":"repomix","packageURL":"pkg:npm/repomix","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"1.14.1","versionType":"custom"},{"version":"0","status":"affected","lessThanOrEqual":"c748b52","versionType":"custom"}]}],"references":[{"url":"https://github.com/yamadashy/repomix/issues/1703","name":"GitHub Issue","tags":["issue-tracking"]},{"url":"https://github.com/yamadashy/repomix","name":"Product","tags":["product"]},{"url":"https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf","name":"Patch Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/repomix-server-side-request-forgery-via-unvalidated-repository-urls-in-post-api-pack","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"LOW","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.2,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","version":"3.1","baseSeverity":"CRITICAL","baseScore":9.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-24T14:17:57.510Z"},"datePublic":"2026-07-05T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:*","versionEndExcluding":"1.14.1"}]}]}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/yamadashy/repomix/issues/1703","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T16:18:46.452885Z","id":"CVE-2026-59702","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-08T16:18:49.285Z"}}]}}}