The Mercado Pago Node.js SDK interpolates caller-supplied identifiers into API request paths without percent-encoding them, so characters that are… (CVE-2026-76842)
The Mercado Pago Node.js SDK improperly handles caller-supplied identifiers by interpolating them into API request paths without percent-encoding. This allows special URL characters to alter the request path or query parameters, potentially enabling unauthorized access to other resources within the merchant's token scope if untrusted input is used without ownership checks.
AI Analysis
Technical Summary
The Mercado Pago Node.js SDK constructs API request paths by directly interpolating caller-supplied identifiers into URL templates without applying percent-encoding. This flaw affects multiple clients such as payment, paymentRefund, advancedPayment, and disbursementRefund. Because characters like dot-dot sequences or slashes are normalized by the URL parser, an attacker can manipulate the request path to access different endpoints. Additionally, a question mark in the identifier can append arbitrary query parameters, all while using the merchant's access token. Although the SDK contains a helper function intended for encoding path parameters, it was not applied to these vulnerable clients, leaving them exposed to path traversal and query injection risks. This vulnerability is tracked as CVE-2026-76842 and is associated with CWE-22 (Path Traversal).
Potential Impact
An attacker who can influence the identifiers passed to the affected SDK methods can cause the SDK to send requests to unintended API endpoints within the merchant's token scope. This can lead to unauthorized information disclosure or partial access to other resources. The vulnerability has a CVSS 3.1 score of 8.2 (high severity), indicating a significant confidentiality impact with low attack complexity and no required privileges or user interaction.
Mitigation Recommendations
No official patch or fix is currently documented. Users of the Mercado Pago Node.js SDK should apply strict ownership checks on any identifiers supplied by untrusted parties before passing them to the affected methods. Additionally, applying percent-encoding to all path parameters using the existing encodePathParam helper function is recommended to prevent path traversal and query injection. Monitor the vendor's advisory channels for updates or official fixes.
The Mercado Pago Node.js SDK interpolates caller-supplied identifiers into API request paths without percent-encoding them, so characters that are… (CVE-2026-76842)
Description
The Mercado Pago Node.js SDK improperly handles caller-supplied identifiers by interpolating them into API request paths without percent-encoding. This allows special URL characters to alter the request path or query parameters, potentially enabling unauthorized access to other resources within the merchant's token scope if untrusted input is used without ownership checks.
CVSS v3.1
Score 8.2high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Mercado Pago Node.js SDK constructs API request paths by directly interpolating caller-supplied identifiers into URL templates without applying percent-encoding. This flaw affects multiple clients such as payment, paymentRefund, advancedPayment, and disbursementRefund. Because characters like dot-dot sequences or slashes are normalized by the URL parser, an attacker can manipulate the request path to access different endpoints. Additionally, a question mark in the identifier can append arbitrary query parameters, all while using the merchant's access token. Although the SDK contains a helper function intended for encoding path parameters, it was not applied to these vulnerable clients, leaving them exposed to path traversal and query injection risks. This vulnerability is tracked as CVE-2026-76842 and is associated with CWE-22 (Path Traversal).
Potential Impact
An attacker who can influence the identifiers passed to the affected SDK methods can cause the SDK to send requests to unintended API endpoints within the merchant's token scope. This can lead to unauthorized information disclosure or partial access to other resources. The vulnerability has a CVSS 3.1 score of 8.2 (high severity), indicating a significant confidentiality impact with low attack complexity and no required privileges or user interaction.
Mitigation Recommendations
No official patch or fix is currently documented. Users of the Mercado Pago Node.js SDK should apply strict ownership checks on any identifiers supplied by untrusted parties before passing them to the affected methods. Additionally, applying percent-encoding to all path parameters using the existing encodePathParam helper function is recommended to prevent path traversal and query injection. Monitor the vendor's advisory channels for updates or official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8vxq-h2gr-x277
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-76842"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a8c740cacd9273b49d5cf25
Added to database: 08/24/2026, 16:40:44 UTC
Last enriched: 08/24/2026, 16:52:35 UTC
Last updated: 08/24/2026, 16:52:35 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.