Medusa 1.8.0 through 1.20.11 and 2.8.5 before 2.18.0 Denial of Service via Order Query Parameter Prototype Pollution
- CVE-2026-144441
- GHSA-hv98-6qj6-979w
- EUVD-2026-143737
Description
Medusa 1.8.0 through 1.20.11 and 2.8.5 before 2.18.0 contains a prototype pollution vulnerability in buildOrder() (packages/core/utils/src/common/build-query.ts in 2.x) that splits each order key on dots and walks the segments without rejecting __proto__, constructor or prototype, so an order value of the form __proto__.<name> sets an attacker-named property on Object.prototype. In 2.8.5 through 2.17.x, prepareListQuery() passes the order query parameter to buildOrder(), so unauthenticated attackers can send one request with a crafted order parameter to Store API list endpoints that have no allowed-field list, such as /store/products, and the inherited property is then copied into later queries, for example by toRemoteQuery(), breaking API responses for all users until the server process restarts. The end-of-life 1.x line reaches the same code through buildQuery() from Admin API list endpoints and, in 1.20.x, from the unauthenticated /store/regions endpoint.
Text from the CVE.org record.
Recommendation
MedusaJS Medusa
- If you run a version from 2.8.5 to before 2.18.0update to 2.18.0 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MedusaJS Medusa
Affected versions Fixed in from 2.8.5 to before 2.18.0 2.18.0 from 1.8.0 up to 1.20.11 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.