PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-49987 Yamadashy CVE debrief

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-15T19:17:25.483Z and has not been modified since then. CVE-2026-49987 is a vulnerability in Repomix, a tool for packing repositories into AI-friendly files. The issue exists in versions prior to 1.14.1 and allows for Git option injection, potentially leading to command execution via local or SSH-style transports. The vulnerability is caused by the lack of validation or --end-of-options in the execGitShallowClone function in src/core/git/gitCommand.ts. Users of Repomix should prioritize patching to prevent potential command injection attacks. Repomix users should be aware of the vulnerability and take steps to mitigate it. Security teams and administrators responsible for managing Repomix instances should review and verify affected operator, platform, vulnerability-management, and security-team impact. Affected users should verify their deployments and review compensating controls.

Vendor
Yamadashy
Product
Repomix
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-15
Original CVE updated
2026-08-18
Advisory published
2026-07-15
Advisory updated
2026-08-18

Who should care

Users of Repomix, especially those using versions prior to 1.14.1, should be aware of this vulnerability and take steps to mitigate it. Additionally, security teams and administrators responsible for managing Repomix instances should prioritize patching and monitoring for potential exploitation attempts. Affected operator, platform, vulnerability-management, and security-team impact should be reviewed and verified.

Technical summary

CVE-2026-49987 is a vulnerability in Repomix, a tool for packing repositories into AI-friendly files. The issue exists in versions prior to 1.14.1 and allows for Git option injection, potentially leading to command execution via local or SSH-style transports. The vulnerability is caused by the lack of validation or --end-of-options in the execGitShallowClone function in src/core/git/gitCommand.ts. Users of Repomix should prioritize patching to prevent potential command injection attacks.

Defensive priority

Repomix users should prioritize patching to prevent potential command injection attacks.

Recommended defensive actions

  • Update Repomix to version 1.14.1 or later
  • Review and validate Git URLs and repository configurations
  • Implement compensating controls, such as restricting access to Repomix instances
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE-2026-49987 issue exists in Repomix versions prior to 1.14.1. An attacker could inject Git options, potentially leading to command execution via local or SSH-style transports. Evidence is based on official CVE and NVD records, as well as vendor advisories. The vulnerability is caused by the lack of validation or --end-of-options in the execGitShallowClone function in src/core/git/gitCommand.ts. Affected users should verify their deployments and review compensating controls.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-49987 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-49987

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-49987 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-49987

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.