CVE Explorer
CVE-2026-49987
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"repomix","vendor":"yamadashy","versions":[{"status":"affected","version":"< 1.14.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-88","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82","tags":["x_refsource_MISC"],"url":"https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/cna/references/1
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/cna/references/2
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7063d516cb6524a2cf78079fb7fcdff2e6b35578fb14eccf6bf2df126f2ebd2f · sha256:e1ae1207abdf22bb… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.