Skip to main content

Repomix EUVDEUVD-2026-42273

| CVE-2026-59703 HIGH
Files or Directories Accessible to External Parties (CWE-552)
2026-07-08 disclosure@vulncheck.com GHSA-8wvr-gq96-hf34
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Repomix clone endpoint
  2. Delivery
    Submit file:// scheme repo URL
  3. Exploit
    Bypass isValidRemoteValue scheme check
  4. Execution
    git clones local repository
  5. Persist
    Packed tracked files returned
  6. Impact
    Disclose 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

repomix 0 ≤c748b52
repomix 0 <1.14.1

Affected Packages

euvd repomix fix: 1.14.1

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

Vendor (vulncheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 08, 2026 - 16:01 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular developer/AI tool, but vulnerable server-clone mode less commonly exposed
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy