NetSight
low3.7

CVE-2026-126068

Action Mailbox routes incoming emails to controller-like mailboxes for processing in Rails.

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsactionmailbox>= 8.1.0.beta1, < 8.1.4.18.1.4.1

Affected products · Rails

ProductAffected versions
Rails
before 8.0.5.2
from 8.1, before 8.1.4.1
Version < 8.0.5.2

Weakness classification

References