Description
Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, the Repomix MCP server attach_packed_output and read_repomix_output flow can register and read arbitrary local .json, .txt, .md, or .xml files without the file_system_read_file runSecretLint() safety check or Repomix packed-output validation, allowing MCP callers to bypass the local file-read secret-scanning boundary. This issue is fixed in version 1.14.1.
Published: 2026-07-15
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability arises from the Repomix MCP server's attach_packed_output and read_repomix_output flow, which can register and read arbitrary local .json, .txt, .md, or .xml files without the file_system_read_file runSecretLint() safety check or Repomix packed-output validation, allowing MCP callers to bypass the local file‑read secret‑scanning boundary. Because the file‑system read check and packed‑output validation are bypassed, secret‑scanning of local files is circumvented, enabling an attacker to read sensitive files that may contain credentials or other secrets. The weakness is a CWE-200 information exposure flaw.

Affected Systems

The affected product is Repomix from vendor Yamadashy. All releases prior to version 1.14.1 are vulnerable. Users operating Repomix 1.x or earlier must upgrade to 1.14.1 or later to remediate the flaw.

Risk and Exploitability

The CVSS score is 6.8, indicating a medium severity. The EPSS score of less than 1% suggests a very low probability of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Attacks would require the ability to invoke the attach_packed_output or read_repomix_output endpoints, so it is inferred that an attacker with API or internal access could exploit it. When successfully exploited, the attacker could read arbitrary local files, potentially exposing secrets and compromising confidentiality.

Generated by OpenCVE AI on July 31, 2026 at 03:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Repomix to version 1.14.1 or later to disable the bypass
  • If an upgrade cannot be performed immediately, restrict network access to the attach_packed_output and read_repomix_output endpoints so that only trusted users or systems can call them
  • After patching, scan logs and any files that may have been exposed prior to the fix to identify potential leaked confidential data

Generated by OpenCVE AI on July 31, 2026 at 03:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hwpp-h97w-2h3j repomix: attach_packed_output can bypass file-read secret scanning for supported local files
History

Thu, 23 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Yamadashy
Yamadashy repomix
Vendors & Products Yamadashy
Yamadashy repomix

Sat, 18 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, the Repomix MCP server attach_packed_output and read_repomix_output flow can register and read arbitrary local .json, .txt, .md, or .xml files without the file_system_read_file runSecretLint() safety check or Repomix packed-output validation, allowing MCP callers to bypass the local file-read secret-scanning boundary. This issue is fixed in version 1.14.1.
Title Repomix: attach_packed_output can bypass file-read secret scanning for supported local files
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Yamadashy Repomix
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-18T01:16:12.325Z

Reserved: 2026-06-02T18:30:51.282Z

Link: CVE-2026-49988

cve-icon Vulnrichment

Updated: 2026-07-18T01:16:07.613Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:15:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor