Medusa 2.0.0 before 2.22.5 Prototype Pollution via Dotted Query Field Paths
Summary
| CVE | CVE-2026-144440 |
|---|---|
| State | PUBLISHED |
| Assigner | AISLE |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 21:18:13 UTC |
| Updated | 2026-12-03 21:18:13 UTC |
| Description | Medusa 2.0.0 before 2.22.5 contains a prototype pollution vulnerability in remoteQueryObjectFromString() in packages/core/utils/src/common/remote-query-object-from-string.ts that walks each dot-separated segment of a requested field with the ??= operator without rejecting __proto__, constructor or prototype, so a path such as constructor.prototype.constructor.prototype.polluted reaches Object.prototype and creates a shared fields array on it. Unauthenticated attackers can send a crafted fields query parameter to Store API routes such as /store/regions in releases before 2.21.0, and authenticated users can do the same through Admin API routes until 2.22.5, corrupting the relation field selections of all subsequent queries and degrading API responses until the server process restarts. |
Risk And Classification
Primary CVSS: v4.0 6.9 MEDIUM from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-1321 | CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 6.9 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | DECLARED | 6.9 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| 3.1 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
NoneIntegrity
LowAvailability
LowSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/medusajs/medusa | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/medusajs/medusa/commit/7dd3c28fba6b74aaab84612b696cab597e12c667 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/medusajs/medusa/pull/17712 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/medusajs/medusa/pull/16702 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/medusajs/medusa/releases/tag/v2.22.5 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| github.com/medusajs/medusa/commit/df8c278d615229436be5b299ebdc76a576695fc3 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Pavel Kohout (AISLE Research) (en)
There are currently no legacy QID mappings associated with this CVE.