Intel

AIKIDO-2025-10502

ipx is vulnerable to Path Traversal

CVE-2025-54387Published Jul 25, 2025
July 25, 2025

81

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a Path Traversal via prefix bypass, where insufficient path validation occurs when the base directory is defined, allowing malicious inputs that share an initial substring with the target directory. It happens because the sanitization logic fails to distinguish between the exact base directory and user-supplied paths containing the same prefix, treating them as valid. An attacker can exploit this by crafting paths that combine directory traversal sequences (../) with deceptive prefixes matching the start of the base directory name, thereby bypassing security checks to access arbitrary files outside the restricted directory, leading to unauthorized information disclosure or system compromise.

How do I fix this?

Upgrade the ipx library to the patch version.

Who does this affect?

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

Package

Versions

1.0.0 - 1.3.1

Fixed in 1.3.2

2.0.0 - 2.1.0

Fixed in 2.1.1

3.0.0 - 3.1.0

Fixed in 3.1.1

Background info

ipx is vulnerable to Path Traversal in versions 1.0.0 - 1.3.1, 2.0.0 - 2.1.0 and 3.0.0 - 3.1.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea