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.
Published: 2026-12-03
Score: 8.7 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 22:00:00 +0000

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

Thu, 03 Dec 2026 21:15:00 +0000

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: AISLE

Published:

Updated: 2026-12-03T21:41:26.247Z

Reserved: 2026-12-03T21:08:45.712Z

Link: CVE-2026-144441

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-03T21:18:13.573

Modified: 2026-12-03T22:17:32.457

Link: CVE-2026-144441

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')