GHSA-qr2g-p6q7-w82m: @x402/svm X402 SDK Security Advisory Vulnerability
HIGHGHSA-qr2g-p6q7-w82m is a HIGH x402 sdk security advisory vulnerability (General Security Weakness) affecting @x402/svm libraries in the npm ecosystem. The issue involves x402 sdk security advisory. Remediation is available by upgrading affected packages to version 2.6.0, 2.3.0, 2.5.0.
GHSA-qr2g-p6q7-w82m at a Glance
How to Fix GHSA-qr2g-p6q7-w82m
To remediate this vulnerability, upgrade all affected @x402/svm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @x402/svm@2.6.0
pip install x402>=2.3.0
Upgrade github.com/coinbase/x402/go to 2.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @x402/svm
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-qr2g-p6q7-w82m, inspect your project dependencies using npm:
npm ls @x402/svm
Analyze the terminal output to locate any version of @x402/svm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.0), your application is affected.
Note: The npm ls @x402/svm command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In @x402/svm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-qr2g-p6q7-w82m Affected @x402/svm Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@x402/svm
|
npm |
< 2.6.0
|
2.6.0
|
|
x402
|
PyPI |
< 2.3.0
|
2.3.0
|
|
github.com/coinbase/x402/go
|
Go |
< 2.5.0
|
2.5.0
|
References
Frequently Asked Questions
What is GHSA-qr2g-p6q7-w82m?
Which @x402/svm versions are affected?
What version fixes GHSA-qr2g-p6q7-w82m?
Is @x402/svm affected?
Is x402 affected?
What CWE is associated with GHSA-qr2g-p6q7-w82m?
How can I check npm dependencies for GHSA-qr2g-p6q7-w82m?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qr2g-p6q7-w82m",
"modified" : "2026-04-08T11:55:22Z",
"published" : "2026-03-07T02:37:47Z",
"aliases" : [ ],
"summary" : "x402 SDK Security Advisory",
"details" : "### Impact\n\nA security vulnerability exists in outdated versions of the x402 SDK.\n\nThis vulnerability does not affect users' private keys, smart contracts, or funds.\n\nThe issue impacts resource servers accepting payments on Solana when the facilitator is running a vulnerable version of the x402 SDK.\n\n### Who Should Take Action\n\nFacilitators that process payments on Solana must upgrade the x402 SDK to the patched versions listed below.\n\nClients are not required to upgrade.\n\nResource servers are not required to upgrade unless they operate their own facilitator (self-facilitate).\n\n### Patches\n\nPlease update to the following package versions:\n* Npm: @x402/svm >= 2.6.0\n* Pypi: x402 >= 2.3.0\n* Go: x402 >= 2.5.0",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@x402/svm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "x402"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coinbase/x402/go"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/coinbase/x402/security/advisories/GHSA-qr2g-p6q7-w82m"
}, {
"type" : "WEB",
"url" : "https://github.com/x402-foundation/x402/security/advisories/GHSA-qr2g-p6q7-w82m"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/coinbase/x402"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-07T02:37:47Z",
"nvd_published_at" : null
}
}