Path traversal in Medusa import lets admins access system files
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
MedusaJS Medusa version 2.14.2 is affected. The product import handling of the file_key parameter in the /admin/products/imports endpoint does not validate paths, a path traversal flaw (CWE-22). An authenticated remote attacker with administrative access can reference files outside the import directory, partially reveal their contents through CSV parsing or validation error messages, and cause deletion of files the application process can access.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for Medusa.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-27 Threatist record created from CVE-2026-112189
- 2026-11-27 Alias added: GHSA-63r8-r26c-938w
- 2026-11-28 EPSS moved to the below the 50th percentile
Sources
- CVE-2026-112189 · CVE Program
- CVE-2026-112189 · NVD
- FIRST EPSS
- GHSA-63r8-r26c-938w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences