# CVE-2026-76842: Mercado Pago Node.js SDK through 3.4.0 Path Injection via Unencoded Identifiers in Payment Clients

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-08-24T13:11:59.790Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- mercadopago: up to 3.4.0

## Every score

- VulnCheck: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/mercadopago/sdk-nodejs> (product)
- <https://github.com/mercadopago/sdk-nodejs/blob/3.4.0/src/clients/payment/get/index.ts> (technical-description)
- <https://github.com/mercadopago/sdk-nodejs/pull/451> (issue-tracking, patch)
- <https://www.vulncheck.com/advisories/mercado-pago-node-js-sdk-through-path-injection-via-unencoded-identifiers-in-payment-clients> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-76842](https://www.cve.org/CVERecord?id=CVE-2026-76842), CVE Terms of Use, modified 2026-08-29
- NVD: [CVE-2026-76842](https://nvd.nist.gov/vuln/detail/CVE-2026-76842), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-76842 · Whole record: https://cve.day/CVE-2026-76842.json · Rebuilt by cve.day 2026-11-25T22:59:35.009Z
