
Cloud Vulnerability DB
A community-led vulnerabilities database
Identifiers passed to SDK methods are interpolated into API request paths without encoding. An identifier that comes from an end user can change the request path, for example ../../v1/payouts-account/balance or 123/../../v1/payouts, so the SDK sends a request carrying the merchant's x-client-id/x-api-key to a different payOS API endpoint. For cancel methods that request is a POST with the SDK's body.
| Ecosystem | Package | Affected | Patched |
|---|---|---|---|
| Packagist | payos/payos | <= 2.0.0 | 2.0.1 |
Moderate — CVSS 3.1 base score 4.8, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CWE-23 (Relative Path Traversal), CWE-116 (Improper Encoding or Escaping of Output).
Affected methods:
paymentRequests->get/cancel, invoices->get/download, payouts->get, and the legacy getPaymentLinkInformation/cancelPaymentLink
Precondition: the merchant application passes an identifier it received from an end user (for example an order code from a return URL) to one of these methods without validating it.Identifiers are percent-encoded as a single path segment. Empty values, . and .., negative numbers and integers above 2^53-1 are rejected before any request is sent.
Until upgrading, validate identifiers before passing them to the SDK: accept only the expected format (for example digits for order codes and [A-Za-z0-9_-] for payment-link and payout ids).
Found by the payOS security team.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."