GHSA-57hq-95w6-v4fc · Severity: medium · Ecosystem: rubygems — Devise has a confirmable "change email" race condition permits user to confirm email they have no access to
Devise is an authentication solution for Rails based on Warden. Prior to version 5.0.3, a race condition in Devise's Confirmable module allows an attacker to confirm an email address they do not own. This affects any Devise application using the `reconfirmable` option (the default when using Confirmable with email changes). By sending two concurrent email change requests, an attacker can desynchronize the `confirmation_token` and `unconfirmed_email` fields. The confirmation token is sent to an email the attacker controls, but the `unconfirmed_email` in the database points to a victim's email address. When the attacker uses the token, the victim's email is confirmed on the attacker's account. This is patched in Devise v5.0.3. Users should upgrade as soon as possible. As a workaround, applications can override a specific method from Devise models to force `unconfirmed_email` to be persisted when unchanged. Note that Mongoid does not seem to respect that `will_change!` should force the attribute to be persisted, even if it did not really change, so the user might have to implement a workaround similar to Devise by setting `changed_attributes["unconfirmed_email"] = nil` as well.
Conclusion & alert: CVE-2026-32700 is rated Low Risk (25.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-21 | 0.06% | 0.02% | -0.04% |
| 2 | 2026-03-19 | — | 0.06% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.0 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
1.6 | 3.6 | [email protected] |
GHSA-57hq-95w6-v4fc · Severity: medium · Ecosystem: rubygems — Devise has a confirmable "change email" race condition permits user to confirm email they have no access to
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-32700 not yet assigned priority: Debian including 1 source packages (ruby-devise), 2 status rows across 2 suites (bookworm, bullseye): open 2. | https://security-tracker.debian.org/tracker/CVE-2026-32700 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-32700 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-32700/ |
ubuntu
|
medium | CVE-2026-32700 medium priority: Ubuntu including 1 source packages (ruby-devise), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): needs-triage 6, DNE 1. | https://ubuntu.com/security/CVE-2026-32700 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| heartcombo | devise | < 5.0.3 | cpe:2.3:a:heartcombo:devise:*:*:*:*:*:ruby:*:* |
| URL | Tags |
|---|---|
| https://github.com/heartcombo/devise/issues/5783 | Issue Tracking |
| https://github.com/heartcombo/devise/pull/5784 | Issue Tracking Patch |
| https://github.com/heartcombo/devise/security/advisories/GHSA-57hq-95w6-v4fc | Vendor Advisory |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/GHSA-57hq-95w6-v4fc.yml | Broken Link |