FR
live
High CVSS 7.5

CVE-2026-49987

NVD analysis in progress

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.

What this means

Exposure
Exploitable remotely over the network and without authentication — but only if a user opens booby-trapped content. It also depends on circumstances the attacker does not control.
Impact
An attacker can read sensitive data, modify or destroy data and take the service offline.
Weakness
The attacker slips extra arguments into the invocation of an external program.
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
15 July 2026
CVSS
7.5 (v4.0) 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS
0.5% probability of exploitation within 30 days · above 40% of all CVEs
Weakness
CWE-88
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss