CVE-2026-32700 | heartcombo devise up to 5.0.2 Confirmable confirmation_token/unconfirmed_email race condition (ID 5783)
VulDBArchived Mar 19, 2026✓ Full text saved
A vulnerability, which was classified as problematic , has been found in heartcombo devise up to 5.0.2 . Affected is an unknown function of the component Confirmable Module . This manipulation of the argument confirmation_token/unconfirmed_email causes race condition. This vulnerability is registered as CVE-2026-32700 . Remote exploitation of the attack is possible. No exploit is available. It is advisable to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-351626 · CVE-2026-32700 · ID 5783
HEARTCOMBO DEVISE UP TO 5.0.2 CONFIRMABLE CONFIRMATION_TOKEN/UNCONFIRMED_EMAIL RACE CONDITION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.8 $0-$5k 0.74+
Summaryinfo
A vulnerability, which was classified as problematic, was found in heartcombo devise up to 5.0.2. Affected by this vulnerability is an unknown functionality of the component Confirmable Module. Such manipulation of the argument confirmation_token/unconfirmed_email leads to race condition. This vulnerability is documented as CVE-2026-32700. The attack can be executed remotely. There is not any exploit available. You should upgrade the affected component.
Detailsinfo
A vulnerability was found in heartcombo devise up to 5.0.2 and classified as problematic. Affected by this issue is some unknown functionality of the component Confirmable Module. The manipulation of the argument confirmation_token/unconfirmed_email with an unknown input leads to a race condition vulnerability. Using CWE to declare the problem leads to CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is available at github.com. This vulnerability is handled as CVE-2026-32700 since 03/13/2026. The exploitation is known to be difficult. The attack may be launched remotely. Technical details are known, but there is no available exploit.
Upgrading to version 5.0.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
heartcombo
Name
devise
Version
5.0.0
5.0.1
5.0.2
Website
Product: https://github.com/heartcombo/devise/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 5.0
VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Race condition
CWE: CWE-362
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: devise 5.0.3
Patch: github.com
Timelineinfo
03/13/2026 CVE reserved
03/18/2026 +5 days Advisory disclosed
03/18/2026 +0 days VulDB entry created
03/19/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: 5783
Status: Confirmed
CVE: CVE-2026-32700 (🔒)
GCVE (CVE): GCVE-0-2026-32700
GCVE (VulDB): GCVE-100-351626
Entryinfo
Created: 03/19/2026 00:01
Changes: 03/19/2026 00:01 (69)
Complete: 🔍
Cache ID: 99:D13:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸