p PatchFirst

CVE-2026-70658

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

CVSS 7.4 · High · EPSS 0.6%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • payNo fix published
  • pay RubyGemsNo fix published

Check the installed version:

gem list --exact pay

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Stack: ruby

Affected products and versions

  • pay

    Versions
    • < 11.6.2: Affected

    No fix published

  • pay RubyGems

    Versions
    • 0.0.0
    • 0.0.2
    • 1.0.0
    • 1.0.0.beta2
    • 1.0.0.beta3
    • 1.0.0.beta4
    All versions (155)
    • 1.0.0.beta5
    • 1.0.0.rc1
    • 1.0.0.rc2
    • 1.0.0.rc3
    • 1.0.1
    • 1.0.2
    • 10.0.0
    • 10.0.1
    • 10.0.2
    • 10.0.3
    • 10.0.4
    • 10.1.0
    • 10.1.1
    • 10.1.2
    • 10.1.3
    • 10.1.4
    • 10.1.5
    • 11.0.0
    • 11.0.1
    • 11.1.0
    • 11.1.1
    • 11.1.2
    • 11.1.3
    • 11.2.0
    • 11.2.1
    • 11.2.2
    • 11.2.3
    • 11.3.0
    • 11.3.1
    • 11.4.0
    • 11.4.1
    • 11.4.2
    • 11.4.3
    • 11.5.0
    • 11.6.0
    • 11.6.1
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.2.0
    • 2.2.1
    • 2.2.2
    • 2.3.0
    • 2.3.1
    • 2.4.0
    • 2.4.2
    • 2.4.3
    • 2.4.4
    • 2.5.0
    • 2.6.0
    • 2.6.1
    • 2.6.10
    • 2.6.11
    • 2.6.2
    • 2.6.3
    • 2.6.4
    • 2.6.5
    • 2.6.6
    • 2.6.7
    • 2.6.8
    • 2.6.9
    • 2.7.0
    • 2.7.1
    • 2.7.2
    • 3.0.0
    • 3.0.1
    • 3.0.10
    • 3.0.11
    • 3.0.12
    • 3.0.13
    • 3.0.14
    • 3.0.15
    • 3.0.16
    • 3.0.17
    • 3.0.18
    • 3.0.19
    • 3.0.2
    • 3.0.20
    • 3.0.21
    • 3.0.22
    • 3.0.23
    • 3.0.24
    • 3.0.4
    • 3.0.5
    • 3.0.6
    • 3.0.7
    • 3.0.8
    • 3.0.9
    • 4.0.0
    • 4.0.1
    • 4.0.2
    • 4.0.4
    • 4.1.0
    • 4.1.1
    • 4.2.0
    • 4.2.1
    • 5.0.0
    • 5.0.1
    • 5.0.2
    • 5.0.3
    • 5.0.4
    • 6.0.0
    • 6.0.1
    • 6.0.2
    • 6.0.3
    • 6.1.0
    • 6.1.1
    • 6.1.2
    • 6.2.0
    • 6.2.1
    • 6.2.2
    • 6.2.3
    • 6.2.4
    • 6.3.0
    • 6.3.1
    • 6.3.2
    • 6.3.3
    • 6.3.4
    • 6.4.0
    • 6.5.0
    • 6.6.0
    • 6.6.1
    • 6.7.0
    • 6.7.1
    • 6.7.2
    • 6.8.0
    • 6.8.1
    • 7.0.0
    • 7.1.0
    • 7.1.1
    • 7.2.0
    • 7.2.1
    • 7.3.0
    • 8.0.0
    • 8.1.0
    • 8.1.1
    • 8.1.2
    • 8.1.3
    • 8.2.0
    • 8.2.1
    • 8.2.2
    • 8.3.0
    • 9.0.0
    • 9.0.1
    Affected ranges
    • ECOSYSTEM: ≤ 11.6.1

    No fix published

Original sources

Check your server →