Home / heartcombo / devise / CVE-2026-32700
CVE-2026-32700: is it exploited, and which versions of heartcombo devise are affected and fixed?
CVE-2026-32700 is a race condition vulnerability in heartcombo devise. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: devise before 5.0.3 (GitHub advisory GHSA-57hq-95w6-v4fc). Fixed in 5.0.3 (GitHub advisory GHSA-57hq-95w6-v4fc). Severity: Medium (6.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-32700?
Devise has a confirmable "change email" race condition that 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.
From the CVE record by GitHub_M, last updated March 20, 2026, 18:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| heartcombo | devise | < 5.0.3 |
As the CVE record by GitHub_M states it, last updated March 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | devise | < 5.0.3 | 5.0.3 | GHSA-57hq-95w6-v4fc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 30, 2026. Summary: Devise has a confirmable "change email" race condition permits user to confirm email they have no access to.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| heartcombo | devise | before 5.0.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:36 UTC.
How severe is CVE-2026-32700?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.0 | CVSS 4.0 | 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 | GitHub_M |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-32700 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 20, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 25.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Where are the vendor advisories and references?
- https://github.com/heartcombo/devise/security/advisories/GHSA-57hq-95w6-v4fc x_refsource_CONFIRM
- https://github.com/heartcombo/devise/issues/5783 x_refsource_MISC
- https://github.com/heartcombo/devise/pull/5784 x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/GHSA-57hq-95w6-v4fc.yml x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 13, 2026
- Published
- March 18, 2026, 20:55 UTC
- CVE record updated
- March 20, 2026, 18:11 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:36 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect devise?
- May 22, 2026CVE-2026-40295 heartcombo devise: open redirect
- Dec 12, 2023CVE-2015-8314 Heartcombo Devise: sensitive data stored in clear text
Questions about CVE-2026-32700
Is CVE-2026-32700 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of heartcombo devise are affected by CVE-2026-32700?
devise before 5.0.3, per the GitHub advisory GHSA-57hq-95w6-v4fc. The tables above give every range the sources list.
Which version fixes CVE-2026-32700?
5.0.3, per the GitHub advisory GHSA-57hq-95w6-v4fc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-32700?
Medium (6.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-32700?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.