CVE-2026-144441

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

Published Dec 3, 2026 CVSS 4.0 · 8.7 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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 such as __proto__.polluted resolves to Object.prototype and the final assignment sets a property on it. Unauthenticated attackers can send one request with a crafted order parameter to Store API list endpoints such as /store/products, which have no allowed-field list, making toRemoteQuery() inject the polluted key into every later query graph and breaking API responses for all users until the server process restarts. 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.
Title Medusa 2.0.0 before 2.18.0 Unauthenticated Denial of Service via Order Query Parameter Prototype Pollution 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
Type Values Removed Values Added
Description 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 such as __proto__.polluted resolves to Object.prototype and the final assignment sets a property on it. Unauthenticated attackers can send one request with a crafted order parameter to Store API list endpoints such as /store/products, which have no allowed-field list, making toRemoteQuery() inject the polluted key into every later query graph and breaking API responses for all users until the server process restarts.
Title Medusa 2.0.0 before 2.18.0 Unauthenticated Denial of Service via Order Query Parameter Prototype Pollution
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
AISLE
Published
Updated
Dec 3, 2026, 10:41 PM
Reserved
Dec 3, 2026, 10:08 PM
Status
Received
Published
Dec 3, 2026, 9:18 PM
Modified
Dec 3, 2026, 10:17 PM