Live threats

All CVEs / Solanalabs

CVE-2022-35917Solanalabs Pay

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Aug 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-670
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

Solana Pay is a protocol and set of reference implementations that enable developers to incorporate decentralized payments into their apps and services. When a Solana Pay transaction is located using a reference key, it may be checked to represent a transfer of the desired amount to the recipient, using the supplied `validateTransfer` function. An edge case regarding this mechanism could cause the validation logic to validate multiple transfers. This issue has been patched as of version `0.2.1`. Users of the Solana Pay SDK should upgrade to it. There are no known workarounds for this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pay.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @solana/pay < 0.2.1 0.2.1 npm install @solana/pay@0.2.1

Per OSV / GitHub Advisories (GHSA-j47c-j42c-mwqq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
solanalabspay< 0.2.1

Official sources

References

Links published by the sources. Open them with care.