{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49987","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-06-02T18:30:51.282Z","datePublished":"2026-07-15T18:06:27.018Z","dateUpdated":"2026-07-15T19:40:40.723Z"},"containers":{"cna":{"title":"Repomix: Command Injection (RCE) via `--remote-branch` Argument Injection","problemTypes":[{"descriptions":[{"cweId":"CWE-88","lang":"en","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"references":[{"name":"https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx"},{"name":"https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82","tags":["x_refsource_MISC"],"url":"https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82"},{"name":"https://github.com/yamadashy/repomix/releases/tag/v1.14.1","tags":["x_refsource_MISC"],"url":"https://github.com/yamadashy/repomix/releases/tag/v1.14.1"}],"affected":[{"vendor":"yamadashy","product":"repomix","versions":[{"version":"< 1.14.1","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-07-15T18:06:27.018Z"},"descriptions":[{"lang":"en","value":"Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, src/core/git/gitCommand.ts execGitShallowClone passes the --remote-branch value directly to git fetch and git checkout without validation or --end-of-options, allowing --upload-pack or other Git option injection that bypasses validateGitUrl() dangerous parameter checks and can execute commands through local or SSH-style transports. This issue is fixed in version 1.14.1."}],"source":{"advisory":"GHSA-9mm9-rqhj-j5mx","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T19:40:25.260913Z","id":"CVE-2026-49987","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-15T19:40:40.723Z"}}]}}