Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted traversal ID via merchant UI
-
DeliveryMerchant app passes ID to SDK without ownership check
-
ExploitSDK builds unencoded template-literal URL path
-
ExecutionWHATWG parser normalizes dot-dot sequence to alternate endpoint
-
PersistSDK dispatches authenticated request to attacker-chosen API resource
-
ImpactMerchant 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
AC:H: exploitation requires merchant app to forward untrusted IDs without validation; S:C: traversal reaches alternate API endpoints beyond the originally targeted resource.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
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
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-64848
GHSA-8vxq-h2gr-x277
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB