VDB
Sign up
HIGH

GHSA-qr2g-p6q7-w82m

x402 SDK Security Advisory

Quick fix

GHSA-qr2g-p6q7-w82m — @x402/svm: upgrade to the fixed version with the command below.

npm install @x402/svm@2.6.0

Details

### Impact

A security vulnerability exists in outdated versions of the x402 SDK.

This vulnerability does not affect users' private keys, smart contracts, or funds.

The issue impacts resource servers accepting payments on Solana when the facilitator is running a vulnerable version of the x402 SDK.

### Who Should Take Action

Facilitators that process payments on Solana must upgrade the x402 SDK to the patched versions listed below.

Clients are not required to upgrade.

Resource servers are not required to upgrade unless they operate their own facilitator (self-facilitate).

### Patches

Please update to the following package versions: * Npm: @x402/svm >= 2.6.0 * Pypi: x402 >= 2.3.0 * Go: x402 >= 2.5.0

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@x402/svm
Introduced in: 0Fixed in: 2.6.0
Fixnpm install @x402/svm@2.6.0
PyPI/x402
Introduced in: 0Fixed in: 2.3.0
Fixpip install --upgrade 'x402>=2.3.0'
Go/github.com/coinbase/x402/go
Introduced in: 0Fixed in: 2.5.0
Fixgo get github.com/coinbase/x402/go@v2.5.0

References