Home › CVE › Vulnerabilities
CVE-2026-144440 — MedusaJS Medusa
One of 2 MedusaJS Medusa vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on integrity and availability, none on confidentiality
- Impact on other systems
- none
Weakness
- CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| MedusaJS Medusa | ≥ 2.0.0, < 2.22.5 | 2.22.5 |
References by type
Patches and fixed releases
- github.com/medusajs/medusa/commit/7dd3c28fba6b74aaab84612b696cab597e12c…
- github.com/medusajs/medusa/commit/df8c278d615229436be5b299ebdc76a576695…
- github.com/medusajs/medusa/pull/16702
- github.com/medusajs/medusa/pull/17712
- github.com/medusajs/medusa/releases/tag/v2.22.5
Other references
Affected
- MedusaJS Medusa
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-144440?
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… Weakness type: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CWE-1321).
How severe is CVE-2026-144440?
CVE-2026-144440 has a CVSS 4.0 base score of 6.9 (medium), from the CNA. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-144440 being exploited?
Not as far as is known: CVE-2026-144440 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-144440?
MedusaJS Medusa ≥ 2.0.0, < 2.22.5 (fixed in 2.22.5).
How do I fix CVE-2026-144440?
Update to a fixed release: MedusaJS Medusa 2.22.5.