end-of-life.org

Ruby on Rails 4.2 End of Life

Support dates, vulnerabilities published since end of life, and upgrade guidance — rebuilt from live data.

End of Life

Ruby on Rails 4.2 reached end of life on 27 Apr 2017. It no longer receives security fixes.

3,391 days without security patches
45 Ruby on Rails CVEs published since EOL
Recommended action: upgrade to Ruby on Rails 8.1.

Support timeline

Official dates from the Ruby on Rails release process.

MilestoneDateStatus
Initial release19 Dec 2014
End of life 27 Apr 2017 9.3 years ago
Active support ended30 Jun 2016 security fixes only after this
Latest release4.2.11.3 · 15 May 2020 final

The cost of staying: CVEs since end of life

45 Ruby on Rails vulnerabilities have been published since 27 Apr 2017. All were fixed in supported branches — 4.2 received none of them. Source: NVD.

Ruby on Rails CVEs published since 4.2's EOL, by year

4 of the 45 are rated critical · data refreshed 2026-08-09

0 5 10 2 2017 2 2018 4 2019 7 2020 9 2021 4 2022 4 2023 5 2024 8 2026
CVE-2019-5420 CVSS 9.8

Published 27 Mar 2019 · rated critical — fixed in supported branches only, never in 4.2. Details

CVE-2020-8165 CVSS 9.8

Published 19 Jun 2020 · rated critical — fixed in supported branches only, never in 4.2. Details

CVE-2026-33195 CVSS 9.8

Published 24 Mar 2026 · rated critical — fixed in supported branches only, never in 4.2. Details

Where to go from 4.2

Recommended target: Ruby on Rails 8.1 (supported until 10 Oct 2027).

The newest actively supported branch is Ruby on Rails 8.1 (latest release 8.1.3.1).

Frequently asked questions

Is Ruby on Rails 4.2 still safe to use?

No. Ruby on Rails 4.2 stopped receiving security fixes on 27 Apr 2017. Since then, 45 Ruby on Rails vulnerabilities have been published and fixed in supported branches — Ruby on Rails 4.2 received none of those fixes.

Can I still download Ruby on Rails 4.2?

Yes — the final release (4.2.11.3) generally remains available from vendor archives and OS package mirrors, but installing it means running software with known, unpatched vulnerabilities.

What should I upgrade Ruby on Rails 4.2 to?

Upgrade to Ruby on Rails 8.1, the newest actively supported branch (supported until 10 Oct 2027).

All Ruby on Rails versions