Skip to main content

Mercado Pago SDK CVE-2026-76842

| EUVDEUVD-2026-64848 HIGH
Path Traversal (CWE-22)
2026-08-24 VulnCheck GHSA-8vxq-h2gr-x277
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted traversal ID via merchant UI
  2. Delivery
    Merchant app passes ID to SDK without ownership check
  3. Exploit
    SDK builds unencoded template-literal URL path
  4. Execution
    WHATWG parser normalizes dot-dot sequence to alternate endpoint
  5. Persist
    SDK dispatches authenticated request to attacker-chosen API resource
  6. Impact
    Merchant token scope read or manipulated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concurrent conditions: (1) the merchant application accepts a payment, refund, or disbursement identifier from a party that is not fully trusted - for example, an end user submitting a payment ID in a status-check or refund request - and (2) that identifier is passed without ownership validation directly to one of these SDK methods: payment.get, payment.capture, payment.cancel, paymentRefund.create, paymentRefund.total, paymentRefund.list, paymentRefund.get, advancedPayment.get, advancedPayment.capture, advancedPayment.cancel, advancedPayment.update, advancedPayment.updateReleaseDate, disbursementRefund.create, disbursementRefund.createAll, or disbursementRefund.listAll. Applications that generate payment IDs server-side and never expose them for user manipulation, or that validate resource ownership before any SDK call, are not exploitable. The attacker requires no credentials to the Mercado Pago API. Maximum impact is bounded by the merchant's own access token scope.

Impact

The CVSS 4.0 score of 8.8 with AT:N and PR:N reflects a worst-case assumption that user-supplied identifiers flow without any validation into the SDK. The real-world risk is substantially conditional: exploitation requires a merchant application to accept an identifier from an untrusted caller and relay it verbatim to one of the affected SDK methods without an ownership check. Applications that generate their own payment IDs internally or validate ownership before SDK calls are not exploitable regardless of SDK version. EPSS data was not provided in the source intelligence, so statistical exploitation probability cannot be assessed. This CVE is not in the CISA KEV catalog and no POC exploit code has been reported, consistent with a vulnerability that requires per-merchant reconnaissance to exploit. The blast radius is bounded by the merchant's own API token scope - there is no cross-merchant or platform-level privilege escalation. From an SSVC perspective: exploitation is unconfirmed, the attack is not straightforwardly automatable at scale (targeting requires identifying vulnerable merchant deployments), and technical impact is partial within a single merchant context. Integrators that receive payment IDs from end users and pass them directly to SDK lookup methods without validation should treat this as urgent; integrators with server-side ID generation are not exposed.

Exploit ScenarioDerived

An attacker interacting with a merchant's payment status or refund portal submits a crafted identifier such as '../../applications/TARGET_APP_ID' in place of a legitimate payment ID. The merchant application, without validating ownership, passes this value to the SDK's payment.get() method, which constructs the path /v1/payments/../../applications/TARGET_APP_ID. The WHATWG URL parser normalizes this to /v1/applications/TARGET_APP_ID, and the request is dispatched to the Mercado Pago API bearing the merchant's access token, exposing application-level resources within that token's authorization scope.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

Path traversal in the Mercado Pago Node.js SDK allows attackers who can influence payment, refund, or disbursement identifiers handled by merchant applications to redirect outbound API calls to unintended Mercado Pago endpoints, carrying the merchant's own access token. The affected clients - payment (get, capture, cancel), paymentRefund (create, total, list, get), advancedPayment (get, capture, cancel, update, updateReleaseDate), and disbursementRefund (create, createAll, listAll) - construct API paths via unencoded template literals, allowing dot-dot sequences and question marks to traverse to alternate endpoints or append attacker-chosen query parameters. No public exploit has been identified at time of analysis, and exploitation is conditional on merchant applications forwarding unvalidated, user-supplied identifiers directly to the SDK.

RemediationAI

The primary fix is to apply the changes from PR #451 (https://github.com/mercadopago/sdk-nodejs/pull/451) or upgrade to an npm release that includes those changes. Developers should inspect their installed SDK version's src/clients/payment, src/clients/paymentRefund, src/clients/advancedPayment, and src/clients/disbursementRefund directories and confirm that every path construction wraps the identifier in encodePathParam - the same pattern already applied to customer, customerCard, chargeback, and invoice clients. As an immediate application-level compensating control that eliminates exploitability regardless of SDK version, merchant applications should validate that any payment, refund, or disbursement identifier received from an untrusted party is owned by or associated with the authenticated user before passing it to the SDK. Blocking at the API gateway is not a practical workaround because the traversal produces a legitimately structured outbound request from the SDK. The VulnCheck advisory is at https://www.vulncheck.com/advisories/mercado-pago-node-js-sdk-through-path-injection-via-unencoded-identifiers-in-payment-clients.

Affected VersionsENISA

mercadopago 0 ≤3.4.0

Affected Packages

euvd mercadopago no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-22 (Path Traversal) as applied to server-side HTTP client path construction. The Mercado Pago Node.js SDK (CPE: cpe:2.3:a:mercadopago:mercadopago:*:*:*:*:*:*:*:*) uses ES6 template literals to embed caller-supplied identifiers directly into API request paths without percent-encoding, e.g., RestClient.fetch(/v1/payments/${id}, ...) in src/clients/payment/get/index.ts. The WHATWG URL parser, which normalizes percent-decoded traversal sequences before the HTTP request is dispatched, resolves dot-dot sequences to traverse to parent paths and preserves question-mark sequences as query string delimiters - both carrying the merchant's Authorization bearer token. The remediation helper encodePathParam already existed in src/utils/path.ts and was applied to approximately 29 other SDK clients in PR #451, but the payment, paymentRefund, advancedPayment, and disbursementRefund client families were omitted from that sweep, indicating the fix was a known remediation pattern that was incompletely applied.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 7.5 HIGH

AC:H: exploitation requires merchant app to forward untrusted IDs without validation; S:C: traversal reaches alternate API endpoints beyond the originally targeted resource.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The Mercado Pago Node.js SDK contains a path traversal vulnerability (CVSS 8.8) affecting payment processing operations. Merchant applications that accept unvalidated user-supplied identifiers for payment, refund, or disbursement operations expose their Mercado Pago API access tokens to potential redirect attacks. This could enable unauthorized API calls or manipulation of transaction endpoints without a currently available vendor patch.

Business Impact: High
Compensating Controls

Strict input validation of payment, refund, and disbursement identifiers before SDK consumption; implement allowlist of permitted identifier formats; coordinate with Mercado Pago for documented safe identifier patterns and expected character sets.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
dominant payment SDK in Latin American e-commerce, limited global footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy