freenode

← CVE tracker

CVE-2026-144440

Medusa 2.0.0 before 2.22.5 Prototype Pollution via Dotted Query Field Paths

Severity
medium CVSS 6.9 (v4.0)
Affects
Medusa · MedusaJS
Weakness
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
3 December 2026 by AISLE
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.