# CVE-2026-70658: pay-rails/pay: non-constant-time HMAC comparison in Paddle Billing webhook signature verifier

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 41% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-01T18:57:02.000Z
- Modified: 2026-09-30T19:09:53.523Z
- Also known as: GHSA-mjgf-xj26-9qf9
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- pay-rails pay: < 11.6.2
- pay (RubyGems): up to 11.6.1

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/pay-rails/pay/security/advisories/GHSA-mjgf-xj26-9qf9> (exploit, web)
- <https://github.com/pay-rails/pay/commit/ba6494109d88209fba2a4df2d9d6373fe81ed805>
- <https://github.com/pay-rails/pay/releases/tag/v11.6.2>
- <https://github.com/pay-rails/pay> (package)

## Sources

- CVE List: [CVE-2026-70658](https://www.cve.org/CVERecord?id=CVE-2026-70658), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-mjgf-xj26-9qf9](https://github.com/advisories/GHSA-mjgf-xj26-9qf9), CC-BY-4.0, modified 2026-09-15
- NVD: [CVE-2026-70658](https://nvd.nist.gov/vuln/detail/CVE-2026-70658), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-70658 · Whole record: https://cve.day/CVE-2026-70658.json · Rebuilt by cve.day 2026-11-25T22:59:38.337Z
