CVE Catalog

CVE-2026-59703

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.39%

31th percentile - higher than 31% of all known CVEs

Summary

Repomix contains a local file inclusion vulnerability in the git clone endpoint that allows unauthenticated attackers to read arbitrary local git repositories. The isValidRemoteValue function in src/core/git/gitRemoteParse.ts fails to block file:// URLs, permitting attackers to supply file:// scheme URLs that bypass validation and are passed directly to git clone, enabling unauthorized access to all tracked file contents on the server filesystem.

Risk Assessment

The risk involves potential leakage of sensitive data stored in local git repositories, including source code, passwords, and keys, which could lead to a security breach for the organization.

Recommendation

Immediately update repomix to a version that blocks file:// URLs in the isValidRemoteValue function, or temporarily disable the git clone endpoint until a patch is applied.

Other vulnerabilities in Repomix

See all
Original NVD description (English source)

repomix contains a local file inclusion vulnerability in the git clone endpoint that allows unauthenticated attackers to read arbitrary local git repositories. The isValidRemoteValue function in src/core/git/gitRemoteParse.ts fails to block file:// URLs, permitting attackers to supply file:// scheme URLs that bypass validation and are passed directly to git clone, enabling unauthorized access to all tracked file contents on the server filesystem.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS