Webhook signature bypass for Paddle Billing in Pay
Published: October 06, 2026
SECURITY IDENTIFIERS
- GHSA: GHSA-5p37-w3f3-55pm
- Vendor Advisory: https://github.com/pay-rails/pay/security/advisories/GHSA-5p37-w3f3-55pm
GEM
SEVERITY
CVSS v3.x: 8.2 (High)
UNAFFECTED VERSIONS
< 12.0.0
PATCHED VERSIONS
>= 12.1.1
DESCRIPTION
Pay::Webhooks::PaddleBillingController#valid_signature? computes an
HMAC-SHA256 signature using Pay::PaddleBilling.signing_secret.to_s as the
key. When the PADDLE_BILLING_SIGNING_SECRET environment variable and Rails
credentials are both unset, signing_secret returns nil, and .to_s
coerces it to an empty string. Forged Paddle Billing webhook events can pass
signature verification.
The .to_s coercion on signing_secret was introduced in commit 4773c97
("Share one base controller across the five webhook controllers"), first
released in v12.0.0.
