Skip to main content
VulnerabilityPublished Updated

CVE-2026-32700: Ruby devise · Devise is an authentication solution for Rails based on Warden

Affects ruby-deviseSource GCVE Database

0
Compare
Authoritative record:CVE-2026-32700· Medium 6.0

Not known to be exploited · CVSS 6.0 Medium · fixed in 5.0.3 : update ruby-devise when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.3
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSruby-devisepkg:deb/ubuntu/ruby-devise?arch=source&distro=nobleOther threatsAffected
  • =4.8.1-1
  • =4.9.2-1
  • =4.9.3-1
Fixed in–
Ubuntu 22.04 LTSruby-devisepkg:deb/ubuntu/ruby-devise?arch=source&distro=jammyOther threatsAffected
  • =4.7.3-2
Fixed in–
Ubuntu 20.04 LTSruby-devisepkg:deb/ubuntu/ruby-devise?arch=source&distro=focalOther threatsAffected
  • =4.5.0-3
  • =4.6.2-2
  • =4.7.1-2
Fixed in–
Ubuntu 18.04 LTSruby-devisepkg:deb/ubuntu/ruby-devise?arch=source&distro=bionicOther threatsAffected
  • =4.2.0-1
  • =4.3.0-1
  • =4.4.3-1
Fixed in–
Ubuntu 16.04 LTSruby-devisepkg:deb/ubuntu/ruby-devise?arch=source&distro=xenialOther threatsAffected
  • 3.5.1-1 – 3.5.6-2
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…