CVE-2026-144440
MEDIUM 6.9CVSS 4.0Medusa 2.0.0 before 2.22.5 Prototype Pollution via Dotted Query Field Paths
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
- NVD status
- Received
- Weakness
- CWE-1321
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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 |
| CVE List | AISLE | CVSS 4.0 | MEDIUM 6.9 | 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 |
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| CVE List | AISLE | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | MedusaJS | Medusa | >= 2.0.0, < 2.22.5 | 2.22.5 |
References
- https://github.com/medusajs/medusa
- https://github.com/medusajs/medusa/commit/7dd3c28fba6b74aaab84612b696cab597e12c667
- https://github.com/medusajs/medusa/commit/df8c278d615229436be5b299ebdc76a576695fc3
- https://github.com/medusajs/medusa/pull/16702
- https://github.com/medusajs/medusa/pull/17712
- https://github.com/medusajs/medusa/releases/tag/v2.22.5
History
- 3 Dec 2026 21:56 UTC · CVE List: first stored (published 3 Dec 2026)
- 3 Dec 2026 21:56 UTC · NVD: first stored (published 3 Dec 2026)