← Terug naar overzicht

The Mercado Pago Node.js SDK contains a path injection vulnerability where caller-supplied identifiers are interpolated into API request paths without percent-encoding. This allows structural URL characters such as dot-dot sequences, slashes, and question marks to survive into outgoing requests. Affected clients include payment, paymentRefund, advancedPayment, and disbursementRefund operations. An attacker who can influence the identifier passed to these methods can redirect requests to unintended endpoints or append arbitrary query parameters, all while carrying the merchant's legitimate access token. This could allow unauthorized access to other resources within the merchant's token scope. The fix, an existing helper function encodePathParam in src/utils/path.ts, was already applied to approximately 29 other clients via pull request 451 but was not applied to the affected clients. Applications that forward untrusted identifiers into these SDK methods without ownership validation are particularly at risk.

Affected products

  • Mercado Pago Node.js SDK

Related CVE's

  • CVE-2026-76842

Categories

  • Identity & Access
  • Supply Chain & Dependencies
  • Web Technologies