๐Ÿ” CVE Alert

CVE-2026-76842

HIGH 8.2

Mercado Pago Node.js SDK through 3.4.0 Path Injection via Unencoded Identifiers in Payment Clients

CVSS Score
8.2
EPSS Score
0.0%
EPSS Percentile
0th

The Mercado Pago Node.js SDK interpolates caller-supplied identifiers into API request paths without percent-encoding them, so characters that are structural in a URL survive into the outgoing request. The payment (get, capture, cancel), paymentRefund (create, total, list, get), advancedPayment (get, capture, cancel, update, updateReleaseDate) and disbursementRefund (create, createAll, listAll) clients build their path as a template literal, for example RestClient.fetch(`/v1/payments/${id}`, ...) in src/clients/payment/get/index.ts. A dot-dot or slash sequence in the identifier is normalised by the WHATWG URL parser and redirects the request to a different endpoint, and a question mark appends attacker-chosen query parameters, in both cases carrying the merchant's own access token. An application that forwards an identifier influenced by an untrusted party into one of these methods without an ownership check therefore allows that party to reach other resources within the merchant's token scope. The repository already contains the intended helper, encodePathParam in src/utils/path.ts, which pull request 451 applied to roughly 29 other clients while leaving these unchanged.

CWE CWE-22
Vendor mercadopago
Product mercadopago
Published Aug 24, 2026
Stay Ahead of the Next One

Get instant alerts for mercadopago mercadopago

Be the first to know when new high vulnerabilities affecting mercadopago mercadopago are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Affected Versions

mercadopago / mercadopago
0 โ‰ค 3.4.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mercadopago/sdk-nodejs github.com: https://github.com/mercadopago/sdk-nodejs/blob/3.4.0/src/clients/payment/get/index.ts github.com: https://github.com/mercadopago/sdk-nodejs/pull/451 vulncheck.com: https://www.vulncheck.com/advisories/mercado-pago-node-js-sdk-through-path-injection-via-unencoded-identifiers-in-payment-clients

Credits

Emerson Vieira