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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 04 Dec 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Medusajs
Medusajs medusa |
|
| Vendors & Products |
Medusajs
Medusajs medusa |
Thu, 03 Dec 2026 21:15:00 +0000
| Type | Values Removed | Values 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. | |
| Title | Medusa 2.0.0 before 2.22.5 Prototype Pollution via Dotted Query Field Paths | |
| Weaknesses | CWE-1321 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: AISLE
Published:
Updated: 2026-12-03T21:08:39.929Z
Reserved: 2026-12-03T21:08:36.564Z
Link: CVE-2026-144440
No data.
Status : Received
Published: 2026-12-03T21:18:13.367
Modified: 2026-12-03T21:18:13.367
Link: CVE-2026-144440
No data.
OpenCVE Enrichment
Updated: 2026-12-04T20:15:02Z
Weaknesses