CVE-2026-144440
Medusa 2.0.0 before 2.22.5 Prototype Pollution via Dotted Query Field Paths
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.
INFO
Published Date :
Dec. 3, 2026, 9:18 p.m.
Last Modified :
Dec. 3, 2026, 9:18 p.m.
Remotely Exploit :
Yes !
Source :
1a4f025a-074d-4105-b4e2-52bd8eabe2ea
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | ||||
| CVSS 4.0 | MEDIUM | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea |
Solution
- Update Medusa to version 2.22.5 or later.
- Apply vendor patches if available.
- Sanitize user input for field selections.
- Validate query parameters rigorously.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-144440.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-144440 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-144440
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-144440 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-144440 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
Dec. 03, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.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 Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L Added CWE CWE-1321 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/144xxx/CVE-2026-144440.json">CVE-2026-144440</a> Added Reference https://github.com/medusajs/medusa Added Reference https://github.com/medusajs/medusa/commit/7dd3c28fba6b74aaab84612b696cab597e12c667 Added Reference https://github.com/medusajs/medusa/commit/df8c278d615229436be5b299ebdc76a576695fc3 Added Reference https://github.com/medusajs/medusa/pull/16702 Added Reference https://github.com/medusajs/medusa/pull/17712 Added Reference https://github.com/medusajs/medusa/releases/tag/v2.22.5