Home › Vulnerabilities › MedusaJS
Two MedusaJS Medusa prototype pollution flaws can break API responses until restart
NVD published two prototype pollution flaws in Medusa 2.x, one rated HIGH (CVSS 8.7) and one MEDIUM (CVSS 6.9). The records say they can corrupt query handling for all users until the server process restarts, and the higher-severity one can be triggered without authentication.
What to look into
- 2 vulnerabilities in MedusaJS Medusa: 1 high, 1 medium (CVSS up to 8.7).
- None of them is known to be exploited yet.
- Start with CVE-2026-144441 (8.7 high): Medusa 2.0.0 before 2.18.0 contains a prototype pollution vulnerability in buildOrder() in packages/core/utils/src/common/build-query.ts that splits the order query parameter on dots and walks the se… An attacker without an account can exploit this over the network, without any user action.
- 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
- Kinds of flaws: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (×2).
Key points
- CVE-2026-144441 (HIGH, CVSS 8.7) can be triggered by unauthenticated requests via the order parameter on Store API list endpoints.
- CVE-2026-144440 (MEDIUM, CVSS 6.9) affects the fields parameter on Store API and, before 2.22.5, Admin API routes.
- Per the records, both flaws degrade API responses for all users until the server process restarts.
- The records do not say either flaw has been exploited.
Two prototype pollution flaws
Both records, published by NVD on 2026-12-03, describe prototype pollution in the query-handling code of Medusa 2.0.0 and later releases before the fixed versions. In each case, user-supplied text is split on dots and walked with the ??= operator, which can reach Object.prototype and write a property onto it. A polluted value then persists in the running process and affects later queries.
The higher-severity flaw
CVE-2026-144441 (HIGH, CVSS 8.7) involves the order query parameter, handled in buildOrder(). According to the record, an unauthenticated attacker can send one request with a crafted order value to Store API list endpoints such as /store/products, which have no allowed-field list. The polluted key then reaches later query graphs and, per the record, breaks API responses for all users until the server restarts. The fixed version named is 2.18.0.
The medium-severity flaw
CVE-2026-144440 (MEDIUM, CVSS 6.9) involves the fields query parameter, handled in remoteQueryObjectFromString(), which does not reject proto, constructor or prototype segments. The record says unauthenticated requests to Store API routes such as /store/regions are affected in releases before 2.21.0, and authenticated users can reach the flaw through Admin API routes until 2.22.5. The effect described is corrupted relation field selections and degraded responses until restart. The fixed version named is 2.22.5.
Exploitation and mitigation
Neither record states that either flaw has been exploited in the wild. The records do not describe workarounds or detection methods.
What to do
- Upgrade Medusa to 2.22.5 or later, the fixed version named for CVE-2026-144440, which is also past the 2.18.0 fix named for CVE-2026-144441.
- Treat CVE-2026-144441 as the priority on instances below 2.18.0, since the records say it can be triggered without authentication.
The 2 vulnerabilities
- CVE-2026-144441 8.7 Medusa 2.0.0 before 2.18.0 contains a prototype pollution vulnerability in buildOrder() in packages/core/utils/src/common/build-query.ts that splits the order query parameter on dots and walks the segments with the ??= operator, so a value…
- CVE-2026-144440 6.9 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 t…
Frequently asked questions
How many MedusaJS Medusa vulnerabilities were published on December 3, 2026?
2 vulnerabilities: 1 high, 1 medium, with CVSS scores up to 8.7.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-144441 (CVSS 8.7): Medusa 2.0.0 before 2.18.0 contains a prototype pollution vulnerability in buildOrder() in packages/core/utils/src/common/build-query.ts that splits the order query parameter on dots and walks the se…