{"data":{"id":"189217f9-365f-4342-a21f-052c673c1dd5","title":"CVE-2026-49987: Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, src/core/git/gitCommand.ts…","summary":"Repomix, a tool that packs repositories into AI-friendly files, is affected prior to version 1.14.1. The execGitShallowClone function in src/core/git/gitCommand.ts passes the --remote-branch value directly to git fetch and git checkout without validation or --end-of-options, allowing Git option injection such as --upload-pack. This bypasses the dangerous parameter checks in validateGitUrl() and can execute commands through local or SSH-style transports.","solution":"This issue is fixed in version 1.14.1.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49987","publishedAt":"2026-07-15T19:17:25.483Z","cveId":"CVE-2026-49987","cweIds":["CWE-88"],"cvssScore":"8.8","cvssSeverity":"high","severity":"high","attackType":["supply_chain"],"issueType":"vulnerability","affectedPackages":["repomix@< 1.14.1 (fixed: 1.14.1)"],"affectedPackageNames":["repomix"],"affectedPackageRefs":["npm:repomix"],"affectedVendors":[],"affectedVendorsRaw":["Repomix"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Repomix git option injection through --remote-branch value in shallow clone","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00539,"epssPercentile":0.46897,"epssCheckedAt":"2026-12-03T18:27:05.680Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx"],"patchCommitUrls":["https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:26:21.349Z","kevDateAdded":null,"advisoryAliases":["GHSA-9mm9-rqhj-j5mx"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T18:59:46.982Z","patchAvailable":true,"disclosureDate":"2026-07-15T19:17:25.483Z","fixReleasedAt":"2026-05-26T15:51:53.167Z","daysToFix":-50,"fixCheckedAt":"2026-12-03T19:44:30.009Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.7,"researchCategory":null,"atlasIds":["AML.T0010"],"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["repomix@1.14.1"],"affectedPurls":["pkg:npm/repomix"],"owaspLlmIds":["LLM03:2025"],"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"fix_released","date":"2026-05-26","source":"package_registry"},{"event":"published","date":"2026-07-15","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"npm","name":"repomix","fixedVersion":"1.14.1","matchedVersion":"1.14.1","fixReleasedAt":"2026-05-26T15:51:53.167Z","daysToFix":-50,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-12-03T19:44:30.007Z"}]}}