CVE-2026-144441: Medusa 2.0.0 before 2.18.0 Unauthenticated Denial of Service via Order Query Parameter Prototype Pollution

Published Dec 3, 2026
·
Updated

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.

Affected Software

1 affected component
Medusa Medusa>=2.0.0<2.18.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.18.0

Event History

Dec 3, 2026
CVE Published
via MITRE·09:08 PM
Data Sourced
via MITRE·09:08 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Medusa versions from 2.0.0 before 2.18.0 are affected. Store API list endpoints such as /store/products are exposed because they have no allowed-field list for the order parameter.

2

What does an attacker need to exploit this issue?

An attacker does not need authentication or user interaction. They only need to send a request to a vulnerable Store API list endpoint with a crafted order parameter such as __proto__.polluted.

3

What is the operational impact after exploitation?

The crafted parameter pollutes Object.prototype, causing the polluted key to be injected into later query graphs. This can break API responses for all users until the affected server process is restarted.

4

What can be done if upgrading is not immediately possible?

The provided information identifies affected Store API list endpoints and the order query parameter as the attack path. Restricting or filtering crafted order parameter values, particularly prototype-related dot-path segments, can reduce exposure; restarting the server process clears the described impact after exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203