Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. repomix
  4. ›
  5. CVE-2026-49988

CVE-2026-49988: repomix: attach_packed_output can bypass file-read secret scanning for supported local files

July 1, 2026

Repomix’s MCP server exposes a normal file_system_read_file tool that reads absolute paths only after running the project’s secret check. However, the attach_packed_output plus read_repomix_output flow can read arbitrary local .json, .txt, .md, or .xml files without the same safety check and without verifying that the file is actually a Repomix packed output.

This is a medium-severity local MCP file-read boundary issue. The affected deployment is the documented repomix --mcp stdio server used by AI assistants. A prompt or lower-trust model action that can invoke MCP tools can use attach_packed_output on a local JSON/text file, receive an outputId, then call read_repomix_output to retrieve the full file content.

References

  • github.com/advisories/GHSA-hwpp-h97w-2h3j
  • github.com/yamadashy/repomix/security/advisories/GHSA-hwpp-h97w-2h3j
  • nvd.nist.gov/vuln/detail/CVE-2026-49988

Code Behaviors & Features

Detect and mitigate CVE-2026-49988 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.14.1

Fixed versions

  • 1.14.1

Solution

Upgrade to version 1.14.1 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

npm/repomix/CVE-2026-49988.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.