freenode

← CVE tracker

CVE-2026-112189

Path Traversal in Medusa by MedusaJS

Severity
medium CVSS 5.1 (v4.0)
Affects
Medusa · MedusaJS
Weakness
CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Published
27 November 2026 by INCIBE
A path traversal vulnerability in Medusa’s product import functionality, specifically in the handling of the 'file_key' parameter of the '/admin/products/imports' endpoint. The lack of proper validation allows an authenticated remote attacker with administrative access to reference system files outside the intended import directory. When attempting to process these files as CSV files, the application may partially reveal their contents through parsing or validation error messages. Additionally, cleanup routines operate on paths controlled by the attacker, which could allow the deletion of files accessible to the application process and affect system availability.

Our coverage

We have not written about this one. Know why it matters? Send a tip.