{"id":"CVE-2026-70658","published":"2026-09-14T17:14:57Z","modified":"2026-09-14T18:57:30Z","title":"pay-rails/pay: non-constant-time HMAC comparison in Paddle Billing webhook signature verifier","vendor":"pay-rails","product":"pay","tier":"tail","description":{"text":"Pay is a payments engine for Ruby on Rails 6.0 and higher. Prior to 11.6.2, Pay::Webhooks::PaddleBillingController#valid_signature? in app/controllers/pay/webhooks/paddle_billing_controller.rb compares the computed 64-character SHA-256 HMAC with the attacker-controlled h1 token from the Paddle-Signature header using Ruby String#==. An unauthenticated remote attacker who can repeatedly submit requests to /pay/webhooks/paddle_billing and obtain sufficiently precise timing measurements can infer matching digest prefixes and recover a valid signature. A forged accepted webhook is enqueued through Pay::Webhooks::ProcessJob and can cause a host application to update billing state, provision paid features, record refunds, or trigger customer notifications. This issue is fixed in version 11.6.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00578,"percentile":0.48529,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/pay-rails/pay/security/advisories/GHSA-mjgf-xj26-9qf9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pay-rails/pay/commit/ba6494109d88209fba2a4df2d9d6373fe81ed805","tags":["x_refsource_MISC"]},{"url":"https://github.com/pay-rails/pay/releases/tag/v11.6.2","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.71},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"pay-rails","affectedVersions":[{"vendor":"pay-rails","product":"pay","versions":["< 11.6.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T18:57:23.905589Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-77680","exploited":false,"provenance":"source"}}