CVE-2026-49988

Repomix: attach_packed_output can bypass file-read secret scanning for supported local files

Published Jul 15, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
CPEs cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

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

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

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'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 18, 2026, 1:16 AM
Reserved
Jun 2, 2026, 6:30 PM
Status
Analyzed
Published
Jul 15, 2026, 7:17 PM
Modified
Oct 24, 2026, 9:10 PM