Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Repomix clone endpoint
-
DeliverySubmit file:// scheme repo URL
-
ExploitBypass isValidRemoteValue scheme check
-
Executiongit clones local repository
-
PersistPacked tracked files returned
-
ImpactDisclose server-side file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK
2 techniques across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the Repomix server/API mode exposing the git clone endpoint is deployed and network-reachable by the attacker (AV:N/PR:N/UI:N - no authentication or user interaction). The concrete prerequisite is submitting a file:// scheme URL (e.g., file:///path/to/repo) to the clone endpoint, which the isValidRemoteValue function in gitRemoteParse.ts fails to reject. Disclosure is limited to git-tracked file contents within repositories readable by the Repomix process account, and to server-local paths an attacker can name or guess; deployments that do not expose the git clone endpoint, or that run only the local CLI without the server, are not exploitable. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) indicates a network-reachable, low-complexity, unauthenticated attack with high confidentiality impact and no integrity or availability impact, scoring 8.7 (High) - consistent with an information-disclosure primitive rather than code execution. No EPSS score, KEV entry, or SSVC decision data was supplied, so exploitation-in-the-wild cannot be asserted; exploitation status is therefore 'no public exploit identified at time of analysis.' Real-world risk hinges heavily on exposure: Repomix's server/git-clone mode must actually be reachable by the attacker, and the confidentiality reach is bounded to git-tracked files under paths the server process can read. The signals are internally consistent (no conflict between vector and description), but the absence of EPSS/KEV means priority should be judged on whether the vulnerable endpoint is network-exposed rather than on assumed mass exploitation. |
| Exploit ScenarioDerived | An attacker who can reach an exposed Repomix git clone endpoint submits a repository value of file:///home/user/private-repo (or a similar server-local path) as the remote to clone. Repomix's validation fails to block the file:// scheme, git clones the local repository, and the attacker receives the packed contents of all git-tracked files from that path. No authentication or user interaction is required per the CVSS vector; no public POC was provided but the technique is straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Local file inclusion in Repomix's git clone HTTP endpoint lets unauthenticated remote attackers read arbitrary tracked file contents from git repositories on the server's filesystem. The isValidRemoteValue validation in src/core/git/gitRemoteParse.ts does not reject file:// scheme URLs, so a supplied file:///path/to/repo value is passed directly to git clone. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV; the CVSS 4.0 base score is 8.7 (High) driven by high confidentiality impact with no authentication required.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the fix is commit c748b524f41225e7fc6f89ad0084520901a453cf (https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf), which should be tracked to a tagged Repomix release and upgraded to once published. Until a patched release is confirmed, do not expose the Repomix git clone/server endpoint to untrusted networks: restrict access with network ACLs or authentication in front of the endpoint, and if the remote-clone feature is not needed, disable the server mode entirely. As a compensating control, run the Repomix process under a low-privilege account with a restricted filesystem view (e.g., a container or chroot) so that even a successful file:// clone cannot reach sensitive repositories or credentials - the trade-off is added deployment complexity and possible loss of legitimate local-path functionality. Refer to the VulnCheck advisory and GitHub issue #1704 for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Repomix is a developer tool that packs the contents of a code repository into a single AI-friendly file; it exposes a server/API mode with a git clone endpoint that accepts a remote repository value and shells out to git clone. The root cause is CWE-552 (Files or Directories Accessible to External Parties): the isValidRemoteValue allow/deny logic in src/core/git/gitRemoteParse.ts is intended to constrain remote URLs to safe remote schemes but omits the file:// scheme from its blocklist. Because git natively supports the file:// transport for cloning from a local path, an attacker-controlled file:// URL causes git to clone from an arbitrary local directory, exposing all git-tracked file contents from that path back through the endpoint's normal packing output.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Unauthenticated network-reachable endpoint (AV:N/PR:N/UI:N) with straightforward file:// bypass (AC:L); high confidentiality disclosure only, no integrity or availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Repomix contains a local file inclusion vulnerability (CVE-2026-59703) that allows unauthenticated remote attackers to read arbitrary files from git repositories on affected servers. This poses a critical data confidentiality risk, potentially exposing proprietary source code and configuration data without authentication or user interaction.
Until patch availability: (1) Disable remote git clone functionality or enforce authentication; (2) Restrict Repomix network access to trusted internal networks via firewall rules; (3) Deploy WAF to block file:// scheme in HTTP parameters; (4) Segment Repomix infrastructure from sensitive production networks; (5) Enable comprehensive audit logging of all git operations and review logs daily for exploitation indicators.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-42273
GHSA-8wvr-gq96-hf34
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB