CVE-2025-54387CWE-22

IPX is Vulnerable to Path Traversal via Prefix Matching Bypass

Medium · published August 5, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
52.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky path prefix bypass is lurking in IPX image optimizer versions! If the allowed directories don’t end with a path separator, you might be in trouble! Think of it like a hotel that allows guests into the main lobby but leaves a side door unlocked. If that side door isn’t marked clearly, anyone could wander into restricted areas without a problem. An attacker could exploit this flaw to access files outside the designated directories, potentially exposing sensitive data or unauthorized content. While it’s not the end of the world, it could lead to a nasty surprise if critical images or configurations are leaked.

Put simply

Think of it like a hotel that allows guests into the main lobby but leaves a side door unlocked. If that side door isn’t marked clearly, anyone could wander into restricted areas without a problem. This vulnerability arises from a raw string prefix comparison used to validate directory paths, allowing malicious actors to bypass restrictions if the path doesn’t conclusively indicate the end of a directory.

What to do

An attacker could exploit this flaw to access files outside the designated directories, potentially exposing sensitive data or unauthorized content. While it’s not the end of the world, it could lead to a nasty surprise if critical images or configurations are leaked. Upgrade IPX to versions 1.3.2, 2.1.1, or 3.1.1 to close this loophole. Additionally, review your directory configurations to ensure they are set up properly with necessary path separators! You've got this! Just follow those steps, and you'll have IPX secured in no time! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N
EPSS
0.00695 · 52.4th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-08-05T00:10Z
EPSS history
Timeline
  • 05 AUG 00:10Z
    IPX is Vulnerable to Path Traversal via Prefix Matching Bypass
    cvelistv5