CVE-2026-112189 — MedusaJS Medusa
Summary
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.
Severity breakdown
Medium · 5.1
An attacker with administrator rights can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, an administrator account
- User action needed
- no
- Impact
- low on integrity and availability, none on confidentiality
- Impact on other systems
- none
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| MedusaJS Medusa | 2.14.2 | — |
References by type
Other references
Affected
- MedusaJS Medusa
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-112189?
A path traversal vulnerability in Medusa’s product import functionality, specifically in the handling of the 'filekey' 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. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-112189?
CVE-2026-112189 has a CVSS 4.0 base score of 5.1 (medium), from the CNA (incibe.es). An attacker with administrator rights can exploit this over the network, without any user action.
Is CVE-2026-112189 being exploited?
Not as far as is known: CVE-2026-112189 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-112189?
MedusaJS Medusa 2.14.2.
How do I fix CVE-2026-112189?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.