Intel

AIKIDO-2025-10531

@eventcatalog/core is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 6, 2025

50

Medium Risk

This Affects:

JS@eventcatalog/core
2.50.0 - 2.54.4
Fixed in 2.54.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Path Traversal via improper path sanitization in eventcatalog/src/utils/files.ts, where paths beginning with ../ fail to resolve correctly relative to the project directory due to inadequate normalization of path separators across Windows (), macOS, and Linux (/) systems. This flaw allows attackers to craft malicious relative paths (e.g., ../../../etc/passwd) that escape the project's root directory when processed by vulnerable file-handling functions. By exploiting this vulnerability, an attacker could read, modify, or exfiltrate sensitive system files by manipulating input to bypass intended access restrictions, potentially leading to information disclosure or system compromise.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@eventcatalog/core is vulnerable to Path Traversal in versions 2.50.0 - 2.54.4.

How to fix this

Upgrade the @eventcatalog/core library to the patch version.