Is devise 3.0 vulnerable?

RubyGems · 5 releases from 3.0.0 to 3.0.4 · latest devise is 5.0.4 · checked 18 Nov 2026

Yes: 5 known advisories

Yes. devise 3.0.4, the last 3.0 release, is affected by 5 known security advisories (1 high, 4 medium), including CVE-2015-8314, CVE-2026-40295, CVE-2026-32700. Upgrade to 5.0.4 or later to fix all of them.

Upgrade with: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

Advisories affecting devise 3.0.4

  • 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

Every devise 3.0.x release

Affected: 3.0.0 to 3.0.4. Latest devise: 5.0.4.

VersionKnown advisories
devise 3.0.4CVE-2026-40295, CVE-2026-32700, CVE-2015-8314, CVE-2019-16109, CVE-2019-5421
devise 3.0.3CVE-2026-40295, CVE-2026-32700, CVE-2015-8314, CVE-2019-16109, CVE-2019-5421
devise 3.0.2CVE-2026-40295, CVE-2026-32700, CVE-2015-8314, CVE-2019-16109, CVE-2019-5421
devise 3.0.1CVE-2026-40295, CVE-2026-32700, CVE-2015-8314, CVE-2019-16109, CVE-2019-5421
devise 3.0.0CVE-2026-40295, CVE-2026-32700, CVE-2015-8314, CVE-2019-16109, CVE-2019-5421

Which of your client projects are still on devise 3.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact devise version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other devise versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.