The x402 SIWX server extension in @x402/extensions 2.3.1 through 2.28.0, x402 PyPI 2.11.0 through 2.25.0, and Go module 2.16.0 through 2.28.0 contains an authorization bypass vulnerability that allows paying clients to unlock unpaid routes by supplying a mismatched PaymentPayload.resource URL. Attackers can pay for the cheapest SIWX-protected route while setting resource.url to an expensive route, then repeatedly access it using only a SIGN-IN-WITH-X header without further payment.
Summary
AIThe x402 SIWX server extension accepts a PaymentPayload.resource URL that does not match the route being paid for. A paying client can pay for a cheaper SIWX-protected route, set the URL to a more expensive route, and then access that route repeatedly with only a SIGN-IN-WITH-X header and no further payment.
Who should check
Check deployments using @x402/extensions 2.3.1–2.28.0, the x402 PyPI package 2.11.0–2.25.0, or the x402 Go module 2.16.0–2.28.0.
What to do
- 1Consult the vendor advisory for fixed versions and update the affected package.