GHSA-qr2g-p6q7-w82m — go
GHSA-qr2g-p6q7-w82m is a security vulnerability in github.com/coinbase/x402/go. A fix is available for github.com/coinbase/x402/go — see the affected versions and patch details below.
x402 SDK Security Advisory
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@x402/svmnpmDescription
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/coinbase/x402/go | all versions | 2.5.0go get github.com/coinbase/x402/go@v2.5.0 |
| 📦npm | @x402/svm | all versions | 2.6.0npm install @x402/svm@2.6.0 |
| 🐍PyPI | x402 | all versions | 2.3.0pip install --upgrade 'x402==2.3.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/coinbase/x402/go, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/coinbase/x402/go to 2.5.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qr2g-p6q7-w82m is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-qr2g-p6q7-w82m can be triaged on real exposure rather than presence alone.
Tailored to GHSA-qr2g-p6q7-w82m. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-qr2g-p6q7-w82m in your dependencies?
O3 Security finds GHSA-qr2g-p6q7-w82m across Go, npm, PyPI dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.