Fix CVE-2021-28125 in Devise HIGH
Fix CVE-2021-28125 (open redirect in OAuth flow) in Devise for Ruby. Paste your Gemfile into PackageFix and get a patched version back — no CLI, no signup.
⚠ Vulnerability
CVE-2021-28125 — open redirect in OAuth flow in Devise. Update to 4.9.4 or later.
Vulnerable Version — Gemfile
gem 'devise', '4.7.3'
Fixed Version — Gemfile
gem 'devise', '4.9.4'
✓ Fix
Update to 4.9.4 and run bundle install to apply the fix.
Scan your dependencies now — paste your manifest, get a fixed version back in seconds.
Open PackageFix →No signup · No CLI · No GitHub connection · Runs 100% in your browser
Frequently Asked Questions
What is CVE-2021-28125?
CVE-2021-28125 is a vulnerability in Devise that allows open redirect in OAuth flow. Update to version 4.9.4 or later to fix it.
Is CVE-2021-28125 on the CISA KEV catalog?
Check the live CISA KEV catalog at packagefix.dev — the catalog updates daily and PackageFix always reflects the current status.
How do I fix CVE-2021-28125 in Devise?
Update Devise to version 4.9.4 or later in your Gemfile. Run bundle install after updating.
Does CVE-2021-28125 affect all versions of Devise?
Check the OSV advisory for the exact affected version range. PackageFix shows the minimum safe version for your installed version.