HighGHSA-746g-3gfp-hfhwCVE-2015-8314

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

Published 26 Jan 2023 · Updated 4 Feb 2026

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

Affected package

deviseRubyGems
Affected
<3.5.4
Fixed in
3.5.4
Update to the fixed version for your release line, for example:bundle update --conservative devise # Gemfile: '>= 3.5.4'

Details

Devise version before 3.5.4 uses cookies to implement a "Remember me" functionality. However, it generates the same cookie for all devices. If an attacker manages to steal a remember me cookie and the user does not change the password frequently, the cookie can be used to gain access to the application indefinitely.

Is GHSA-746g-3gfp-hfhw in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected devise, and gives you the command that fixes it.

More advisories for devise

  • MediumCVE-2026-40295Devise has an Open Redirect via Unvalidated `request.referrer` in Timeoutable Session Timeout Handler · 8 May 2026
  • MediumCVE-2026-32700Devise has a confirmable "change email" race condition permits user to confirm email they have no access to · 17 Mar 2026
  • MediumCVE-2019-16109Authentication Bypass in Devise · 11 Sept 2019
  • MediumCVE-2019-5421devise Time-of-check Time-of-use Race Condition vulnerability · 19 Mar 2019
  • MediumCVE-2013-0233Devise does not properly perform type conversion when performing database queries · 24 Oct 2017
devise security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.