{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-70658","id":"CVE-2026-70658","title":"pay-rails/pay: non-constant-time HMAC comparison in Paddle Billing webhook signature verifier","description":"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 reque","descriptionLong":"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.","published":"2026-09-14T17:14:57.207Z","updated":"2026-10-28T02:31:08.634113871Z","reserved":"2026-08-04T21:48:08.613Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["pay-rails pay"],"affectedProducts":[{"vendor":"pay-rails","product":"pay","defaultStatus":null,"versions":[{"version":"< 11.6.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"pay","purl":"pkg:gem/pay","ranges":["<=11.6.1"],"fixed":[],"advisory":"GHSA-mjgf-xj26-9qf9"}],"cwes":["CWE-208"],"aliases":["GHSA-mjgf-xj26-9qf9"],"references":[{"url":"https://github.com/pay-rails/pay/security/advisories/GHSA-mjgf-xj26-9qf9","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/pay-rails/pay/commit/ba6494109d88209fba2a4df2d9d6373fe81ed805","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/pay-rails/pay/releases/tag/v11.6.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70658.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70658","tags":["advisory"]},{"url":"https://github.com/pay-rails/pay","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00578,"epssPercentile":0.48402,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-70658","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70658","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-70658","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mjgf-xj26-9qf9","ok":true,"note":"GHSA-mjgf-xj26-9qf9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-70658","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}