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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.305% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6 · published by GitHub_MCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:21.742Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:21.742Z | CVE Program |
| epss | verified | 2026-11-19T16:04:48.739Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:45.885Z | OSV |
| affected | verified | 2026-11-19T12:58:21.742Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:21.742Z | CVE Program |
Affected versions and configuration
heartcombo devise; default status: unknown: < 5.0.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "heartcombo",
"product": "devise",
"versions": [
{
"status": "affected",
"version": "< 5.0.3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-32700",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-03-20T17:35:55.837904Z"
}
}
}
],
"references": [
{
"url": "https://github.com/heartcombo/devise/issues/5783",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-03-20T18:11:56.909Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-57hq-95w6-v4fc",
"aliases": [
"CVE-2026-32700"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.3"
}
]
}
],
"package": {
"name": "devise",
"purl": "pkg:gem/devise",
"ecosystem": "RubyGems"
},
"versions": [
"0.1.0",
"0.1.1",
"0.2.0",
"0.2.1",
"0.2.2",
"0.2.3",
"0.3.0",
"0.4.0",
"0.4.1",
"0.4.2",
"0.4.3",
"0.5.0",
"0.5.1",
"0.5.2",
"0.5.3",
"0.5.4",
"0.5.5",
"0.5.6",
"0.6.0",
"0.6.1",
"0.6.2",
"0.6.3",
"0.7.0",
"0.7.1",
"0.7.2",
"0.7.3",
"0.7.4",
"0.7.5",
"0.8.0",
"0.8.1",
"0.8.2",
"0.9.0",
"0.9.1",
"0.9.2",
"1.0.0",
"1.0.1",
"1.0.10",
"1.0.11",
"1.0.2",
"1.0.3",
"1.0.4",
"1.0.5",
"1.0.6",
"1.0.7",
"1.0.8",
"1.0.9",
"1.1.0",
"1.1.1",
"1.1.2",
"1.1.3",
"1.1.4",
"1.1.5",
"1.1.6",
"1.1.7",
"1.1.8",
"1.1.9",
"1.1.pre",
"1.1.pre2",
"1.1.pre3",
"1.1.pre4",
"1.1.rc0",
"1.1.rc1",
"1.1.rc2",
"1.2.0",
"1.2.1",
"1.2.rc",
"1.2.rc2",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.5",
"1.4.7",
"1.4.8",
"1.4.9",
"1.5.0",
"1.5.0.rc1",
"1.5.1",
"1.5.2",
"1.5.3",
"1.5.4",
"2.0.0",
"2.0.0.rc",
"2.0.0.rc2",
"2.0.1",
"2.0.2",
"2.0.4",
"2.0.5",
"2.0.6",
"2.1.0",
"2.1.0.rc",
"2.1.0.rc2",
"2.1.2",
"2.1.3",
"2.1.4",
"2.2.0",
"2.2.0.rc",
"2.2.1",
"2.2.2",
"2.2.3",
"2.2.4",
"2.2.5",
"2.2.6",
"2.2.7",
"2.2.8",
"3.0.0",
"3.0.0.rc",
"3.0.1",
"3.0.2",
"3.0.3",
"3.0.4",
"3.1.0",
"3.1.0.rc2",
"3.1.1",
"3.1.2",
"3.2.0",
"3.2.1",
"3.2.2",
"3.2.3",
"3.2.4",
"3.3.0",
"3.4.0",
"3.4.1",
"3.5.1",
"3.5.10",
"3.5.2",
"3.5.3",
"3.5.4",
"3.5.5",
"3.5.6",
"3.5.7",
"3.5.8",
"3.5.9",
"4.0.0",
"4.0.0.rc1",
"4.0.0.rc2",
"4.0.1",
"4.0.2",
"4.0.3",
"4.1.0",
"4.1.1",
"4.2.0",
"4.2.1",
"4.3.0",
"4.4.0",
"4.4.1",
"4.4.2",
"4.4.3",
"4.5.0",
"4.6.0",
"4.6.1",
"4.6.2",
"4.7.0",
"4.7.1",
"4.7.2",
"4.7.3",
"4.8.0",
"4.8.1",
"4.9.0",
"4.9.1",
"4.9.2",
"4.9.3",
"4.9.4",
"5.0.0",
"5.0.0.rc",
"5.0.1",
"5.0.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-57hq-95w6-v4fc/GHSA-57hq-95w6-v4fc.json",
"last_known_affected_version_range": "<= 5.0.2"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/heartcombo/devise/security/advisories/GHSA-57hq-95w6-v4fc",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32700",
"type": "ADVISORY"
},
{
"url": "https://github.com/heartcombo/devise/issues/5783",
"type": "WEB"
},
{
"url": "https://github.com/heartcombo/devise/pull/5784",
"type": "WEB"
},
{
"url": "https://github.com/heartcombo/devise",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/CVE-2026-32700.yml",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/GHSA-57hq-95w6-v4fc.yml",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-362"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-03-18T21:16:26Z",
"github_reviewed_at": "2026-03-17T17:24:17Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | devise | Not a distribution channel | 5.0.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:45.885ZArchived source JSON
Source publication: 2026-03-17T17:24:17.000Z
Source modification: 2026-03-30T14:05:52.117ZDocument fingerprint
629f5e8110b5250c868c984f2cb08a43b89e5e626526b7f6437b0b5550344a45 - CVE ProgramConsulted: 2026-11-19T12:58:21.742ZArchived source JSON
Source publication: 2026-03-18T20:55:55.034Z
Source modification: 2026-03-20T18:11:56.909ZDocument fingerprint
623aff57ecddfc160fb66ba5c6674970750b853ed91b48ba01f195050977736f - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:48.739ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3313a11d11e613d0701bead667f77d25d88fe41ce03f62f29fd0b2747a4c900c
Official status history
- UNKNOWN → PUBLISHED · · evidence