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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-208"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70658.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "11.6.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "ba6494109d88209fba2a4df2d9d6373fe81ed805"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v11.6.2",
"range": [
{
"fixed": "0701305bb142aadc42e259203aa438bc5969a983"
}
],
"source": "REFERENCES_TAG"
}
]
}