CVE-2026-112189 PUBLISHED

Path Traversal in Medusa by MedusaJS

Assigner: INCIBE
Reserved: 19.10.2026 Published: 27.11.2026 Updated: 27.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS Score: 5.1

Product Status

Vendor MedusaJS
Product Medusa
Versions Default: unaffected
  • Version 2.14.2 is affected

Solutions

No solution has been reported at this time.

Credits

  • Miguel Marín Sebastián finder

References

Problem Types

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory CWE