SecurityContext

CVE-2026-126068: Rails Action Mailbox - Authentication Bypass

  • Cve: CVE-2026-126068
  • Name: Rails Action Mailbox - Authentication Bypass
  • Description: 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.
  • Impact: Attackers can submit arbitrary inbound email processed as genuine, potentially forging messages attributed to any sender.
  • Remediation: Upgrade to version 8.1.4.1 or 8.0.5.2.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: data_tampering
  • Requirements: Attacker needs one captured signed Mailgun webhook request
  • Labels source: securitycontext
  • Severity: low
  • Cvss score: 3.7
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00343
  • Epss percentile: 0.28119
  • Assignee: [email protected]
  • Published at: 2026-11-10T21:19:24Z
  • Age in days: 14
  • Modified at: 2026-11-12T22:18:35Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126068
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-294Authentication Bypass by Capture-replay

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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/security/advisories/GHSA-5957-c7qm-m469

Products

ProductAffectedPlatform boundSourcesUrl
rubyonrails:rails>= 8.1, < 8.1.4.1; < 8.0.5.2nocna_alias_text/v1/products/rubyonrails/rails

Projects

RepositoryLink kindsIndexedUrl
rails/railscommit, fix, package, releases, security_advisoryyes/v1/repositories/rails/rails

Index

  • Repositories: 132
  • Repositories high signal: 82
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 2436102
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports