Signature replay in Action Mailbox Mailgun ingress
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-294.
Summary
Action Mailbox in Rails is affected from 8.1 before 8.1.4.1 and before 8.0.5.2. The Mailgun ingress signs timestamp and token without a separator and accepts only past timestamps (CWE-294). A captured signed request with a far-future timestamp is then accepted indefinitely. An attacker with one signed Mailgun webhook request, but no signing key, can submit email that is processed as genuine.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
Action Mailbox routes incoming emails to controller-like mailboxes for processing in Rails. Prior to 8.1.4.1 and 8.0.5.2, the Action Mailbox Mailgun ingress authenticates a request with an HMAC of the timestamp and token parameters concatenated without a separator, and ActionMailbox::Ingresses::Mailgun::InboundEmailsController::Authenticator#recent? rejects only timestamps more than 2 minutes in the past. Because the signature does not fix the boundary between the two values, a captured signed request can be presented with a timestamp far in the future, which the ingress then accepts indefinitely. An attacker who obtains one signed Mailgun webhook request, but not the signing key, could submit arbitrary inbound email that Action Mailbox processes as genuine, possibly leading to forged messages attributed to the sender of the attacker's choosing. Applications that receive inbound email through the Action Mailbox Mailgun ingress are affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Rails | rails | 8.1 to before 8.1.4.1; before 8.0.5.2 | 8.1.4.1, 8.0.5.2 | Patch available | CNA |
| — | actionmailbox (RubyGems) | 8.1.0.beta1 to before 8.1.4.1 | 8.1.4.1 | Patch available | GHSA-5957-c7qm-m469 |
| — | actionmailbox (RubyGems) | before 8.0.5.2 | 8.0.5.2 | Patch available | GHSA-5957-c7qm-m469 |
- rails VendorRails Affected 8.1 to before 8.1.4.1; before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
- actionmailbox (RubyGems) Vendor— Affected 8.1.0.beta1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-5957-c7qm-m469
- actionmailbox (RubyGems) Vendor— Affected before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-5957-c7qm-m469
Remediation
Rails and the Action Mailbox gem are fixed in 8.1.4.1 and 8.0.5.2. Red Hat has no plan available for Red Hat 3scale API Management Platform 2 and Red Hat Satellite 6.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
- Fix · GHSA-5957-c7qm-m469 actionmailbox (RubyGems) Fixed in 8.1.4.1 Advisory →
- Fix · GHSA-5957-c7qm-m469 actionmailbox (RubyGems) Fixed in 8.0.5.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126068
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Alias added: GHSA-5957-c7qm-m469
- 2026-11-10 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-5957-c7qm-m469
- 2026-11-10 CVSS score added · GHSA-5957-c7qm-m469
- 2026-11-10 Weakness changed · GHSA-5957-c7qm-m469
- 2026-11-10 7 new references · GHSA-5957-c7qm-m469
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
References
Other 7
- https://github.com/rails/rails/security/advisories/GHSA-5957-c7qm-m469
- https://github.com/rails/rails/commit/4aa2ec66822bc4eb8b341a0608f1c90a3e371a34
- https://github.com/rails/rails/commit/c3a295c5c22266e8ec4d0e664e6923a299235e7a
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionmailbox/GHSA-5957-c7qm-m469.yml
More Rails vulnerabilities
- TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
- TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126068 · CVE Program
- CVE-2026-126068 · NVD
- FIRST EPSS
- GHSA-5957-c7qm-m469 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-126068 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences