CVE-2022-35917
Weakness in Transfer Validation Logic in @solana/pay
Also known as GHSA-j47c-j42c-mwqq
Mitigation
- Upgrade @solana/pay to 0.2.1 or later.
Who should check
- Projects that depend on npm package @solana/pay (< 0.2.1)
- Anyone running solana-labs solana-pay < 0.2.1
Vulnerability facts
- Affected
- @solana/pay < 0.2.1
- Fixed in
- 0.2.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.02% chance of exploitation in 30 days (percentile 63, 2026-11-26)
- CWE
- CWE-670
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @solana/pay | < 0.2.1 | 0.2.1 | osv |
| solana-labs solana-pay | < 0.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-35917. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-35917.md Affected: @solana/pay < 0.2.1 Fixed in: 0.2.1 Steps: 1. Search this machine and project for @solana/pay (npm), solana-labs solana-pay: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-35917 being exploited?
There is no confirmed exploitation: CVE-2022-35917 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.02% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-35917?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-35917?
@solana/pay < 0.2.1.
Is there a fix for CVE-2022-35917?
Yes. Fixed in 0.2.1. Upgrade @solana/pay to 0.2.1 or later.
How do I check if I'm affected by CVE-2022-35917?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.