Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. devise
  4. ›
  5. CVE-2026-32700

CVE-2026-32700: Devise has a confirmable "change email" race condition permits user to confirm email they have no access to

March 17, 2026 (updated March 18, 2026)

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.

References

  • github.com/advisories/GHSA-57hq-95w6-v4fc
  • github.com/heartcombo/devise
  • github.com/heartcombo/devise/issues/5783
  • github.com/heartcombo/devise/pull/5784
  • github.com/heartcombo/devise/security/advisories/GHSA-57hq-95w6-v4fc
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/GHSA-57hq-95w6-v4fc.yml
  • nvd.nist.gov/vuln/detail/CVE-2026-32700

Code Behaviors & Features

Detect and mitigate CVE-2026-32700 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.0.3

Fixed versions

  • 5.0.3

Solution

Upgrade to version 5.0.3 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

gem/devise/CVE-2026-32700.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 20 Mar 2026 00:17:08 +0000.