RubyGems (Ruby)Worst: High6 advisories
devise: known vulnerabilities
devise has 6 reviewed security advisories in the GitHub Advisory Database — 1 high, 5 moderate. The most recent was published 2026-05-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the devise versions running across your servers, containers and images, and ranks what to patch first.
How to fix devise
Upgrade devise to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):
bundle update devise to 5.0.4 (or gem install devise -v 5.0.4)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (6)
Devise has an Open Redirect via Unvalidated `request.referrer` in Timeoutable Session Timeout Handler
Moderate 6.1 CWE-601
— Affected: before 5.0.4. Fixed in 5.0.4. Published 2026-05-22. GHSA-jp94-3292-c3xv · CVE-2026-40295
Devise has a confirmable "change email" race condition permits user to confirm email they have no access to
Moderate 5.3 CWE-362
— Affected: before 5.0.3. Fixed in 5.0.3. Published 2026-03-18. GHSA-57hq-95w6-v4fc · CVE-2026-32700
Devise Gem for Ruby Unauthorized Access Using "Remember Me" Cookie
High 7.5 CWE-288 CWE-312
— Affected: before 3.5.4. Fixed in 3.5.4. Published 2023-12-12. GHSA-746g-3gfp-hfhw · CVE-2015-8314
Authentication Bypass in Devise
Moderate 5.3 CWE-284
— Affected: before 4.7.1. Fixed in 4.7.1. Published 2019-09-08. GHSA-fcjw-8rhj-gwwc · CVE-2019-16109
devise Time-of-check Time-of-use Race Condition vulnerability
Moderate CWE-367
— Affected: before 4.6.0. Fixed in 4.6.0. Published 2019-03-19. GHSA-73rf-6mrf-759q · CVE-2019-5421
Devise does not properly perform type conversion when performing database queries
Moderate CWE-704
— Affected: from 1.5.0 up to 1.5.4. Fixed in 1.5.4. Published 2017-10-24. GHSA-jxhw-mg8m-2pj8 · CVE-2013-0233
Find devise across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.