Skip to main content

Medusa CVE-2026-112189

| EUVDEUVD-2026-137114 MEDIUM
Path Traversal (CWE-22)
2026-11-27 INCIBE GHSA-63r8-r26c-938w
5.1
CVSS 4.0 · Vendor: INCIBE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Medusa admin credentials
  2. Delivery
    Call /admin/products/imports with traversal file_key
  3. Exploit
    Trigger CSV parse/validation on out-of-scope path
  4. Execution
    Leak file contents via error output
  5. Impact
    Cleanup routine deletes referenced file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires valid administrative access to the Medusa admin API (PR:H) and use of the product import feature: the attacker must reach the '/admin/products/imports' endpoint and control the 'file_key' parameter, which is not validated against the intended import directory. Exploitation is remote and does not require user interaction, but is strictly limited by the need for pre-existing admin privileges and depends on the import/CSV-processing and cleanup routines handling the attacker-supplied path. Impact is confined to files accessible to the application process (partial disclosure via error output and deletion affecting availability); the precise traversal payload and parsing behavior are not detailed in the available sources.

Impact

This is a moderate-severity, authenticated-only issue that does not warrant emergency handling but should be remediated on a normal patch cycle, consistent with the input's 'this_month' decision label. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) confirms a network-reachable, low-complexity attack but one gated behind PR:H - the attacker already needs administrative access to the Medusa admin API, which is a high bar and the dominant mitigating factor. Impact is limited: partial file-content disclosure via parse/validation error messages and file deletion affecting availability, scored as VI:L/VA:L with VC:N in the vendor vector. No EPSS score is provided in the input and the vulnerability is not on CISA KEV, so there is no signal of widespread or automated exploitation; there is no public exploit identified at time of analysis, only the INCIBE advisory. Net: a real but low-priority issue whose risk is dominated by the requirement for pre-existing admin access - most relevant as a privilege-boundary/defense-in-depth concern (a rogue or compromised admin can read/delete host files) rather than a mass-exploitation threat. Note a discrepancy worth verifying: the description says file contents are 'partially revealed' through error messages, which implies some confidentiality impact, yet the supplied CVSS 4.0 vector sets VC:N - I assess VC:L below.

Exploit ScenarioDerived

An attacker who already holds Medusa administrative credentials (or has compromised an admin account) submits a product-import request to /admin/products/imports with a 'file_key' crafted to traverse outside the import directory (e.g. referencing a sensitive host file). When Medusa parses or validates the referenced file as CSV, portions of its contents may leak back through error messages, and the cleanup routine may delete the attacker-referenced file, degrading availability. No public exploit is identified at time of analysis; exploitation requires administrative access (PR:H) but is otherwise low-complexity and remote.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

Path traversal in Medusa's admin product import endpoint allows an authenticated administrator to supply a crafted 'file_key' that references files outside the intended import directory, potentially exposing partial file contents through CSV parsing or validation errors and allowing cleanup routines to delete application-accessible files. Affected deployments are those exposing the Medusa admin API and product import feature; exploitation requires high privileges (PR:H), and no public exploit or CISA KEV entry was identified at time of analysis, consistent with the 'this_month' priority.

RemediationAI

No vendor-released patch identified at time of analysis, and the supplied data does not include a fixed version, so no exact upgrade target can be confirmed; consult the INCIBE advisory (https://www.incibe.es/en/incibe-cert/notices/aviso/path-traversal-medusa-medusajs) and Medusa release channels for a patched version. Until a fix is available, restrict the Medusa admin API and the '/admin/products/imports' endpoint to trusted administrative users and networks (side effect: reduces remote admin convenience but does not correct the traversal flaw), disable or block the product import feature if it is not required (side effect: loss of bulk import functionality), and run the Medusa process with least-privilege filesystem permissions so that traversal and cleanup operations cannot reach sensitive application-accessible files (side effect: may interfere with legitimate import/cleanup operations).

Affected VersionsENISA

Medusa 2.14.2

Affected Packages

euvd medusa no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), reachable through the Medusa admin API endpoint '/admin/products/imports' where the 'file_key' parameter is used to locate a CSV import file. Medusa is a headless commerce platform identified by CPE cpe:2.3:a:medusajs:medusa:*:*:*:*:*:*:*:*, and the supplied CPE uses a wildcard version so no specific release range is identified. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N, so the attacker must already hold administrative privileges; the independent assessment is CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L. The description states that processing the referenced path as CSV can partially reveal contents via parsing or validation errors and that cleanup routines operate on attacker-controlled paths, but the precise traversal payload, filesystem layout, and error-handling behavior are not detailed in the available sources; the description's partial-disclosure claim is represented as C:L in the independent assessment while the CVSS 4.0 vector lists VC:N.

Know when Medusa gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (INCIBE) PRIMARY 5.1 MEDIUM
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
vuln.today AI 4.7 MEDIUM

Admin access is required (PR:H) over the network at low complexity; partial file disclosure gives C:L, and attacker-controlled deletion gives I:L and A:L with no scope change.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (INCIBE).

CVSS VectorVendor: INCIBE

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.0%
Top 39% exploitable
Prevalence
Medium
popular open-source headless commerce framework, moderate real-world production footprint
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy