devise vulnerabilities

Flexible authentication solution for Rails with Warden

Registry
RubyGems
Latest
5.0.4
License
MIT

6 known advisories

The latest version, 5.0.4, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative devise # Gemfile: '>= 5.0.4'

Is your project on an affected devise?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for devise

  • MediumCVE-2026-40295GHSA-jp94-3292-c3xv8 May 2026

    Devise has an Open Redirect via Unvalidated `request.referrer` in Timeoutable Session Timeout Handler

    Affected
    <5.0.4
    Fixed in
    5.0.4
  • MediumCVE-2026-32700GHSA-57hq-95w6-v4fc17 Mar 2026

    Devise has a confirmable "change email" race condition permits user to confirm email they have no access to

    Affected
    <5.0.3
    Fixed in
    5.0.3
  • HighCVE-2015-8314GHSA-746g-3gfp-hfhw26 Jan 2023

    Devise Gem for Ruby Unauthorized Access Using "Remember Me" Cookie

    Affected
    <3.5.4
    Fixed in
    3.5.4
  • MediumCVE-2019-16109GHSA-fcjw-8rhj-gwwc11 Sept 2019

    Authentication Bypass in Devise

    Affected
    <4.7.1
    Fixed in
    4.7.1
  • MediumCVE-2019-5421GHSA-73rf-6mrf-759q19 Mar 2019

    devise Time-of-check Time-of-use Race Condition vulnerability

    Affected
    <4.6.0
    Fixed in
    4.6.0
  • MediumCVE-2013-0233GHSA-jxhw-mg8m-2pj824 Oct 2017

    Devise does not properly perform type conversion when performing database queries

    Affected
    >=2.2.0 <2.2.3 · >=2.1.0 <2.1.3 · >=2.0.0 <2.0.5 · >=1.5.0 <1.5.4
    Fixed in
    1.5.4, 2.0.5, 2.1.3, 2.2.3

Is your devise version vulnerable?

Which of your client projects still run an old devise?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.