Visit Rails NES Home Page
Rails 5.2.x Release Notes
15 versions
Changelog and Release Notes for the NES version of Rails 5.2
November 2026
5.2.8.46
Released Nov 6, 2026Notes
- Bumped Rack version requirement to version 2.2.25.10.
Security Fixes
Action Pack
- CVE-2026-126077 - Fix possible sensitive session information leak. Rails 5.2 has no Active Storage proxy mode, but the cookie jar rewrite affected any response that skips the session.
- CVE-2026-126076 - Fix possible restoration of destroyed sessions in
CacheStore. The Dalli-basedMemCacheStorehas the same pattern; use Dalli >= 4.0. - CVE-2026-126072 - Fix possible DoS vulnerability in Action Controller Live streaming.
Action View
- CVE-2026-126078 - Fix possible XSS vulnerability in the
highlighthelper.
Active Storage
- CVE-2026-126188 - Fix possible local file disclosure in video previews and analysis.
- CVE-2026-126186 - Fix possible arbitrary file read and remote code execution in Active Storage video previews, analysis and image processing.
- CVE-2026-126085 - Fix possible circumvention of file size limits in direct uploads to Google Cloud Storage.
- CVE-2026-122006 - Fix possible arbitrary file write and read in Active Storage image analysis. Ships an ImageMagick security policy for every MiniMagick process.
- CVE-2026-126074 - Fix possible DoS vulnerability in filename handling.
Active Support
- CVE-2026-126080 - Fix possible DoS vulnerability in
safe_constantize.
Breaking Changes
Active Storage
- Ship an ImageMagick security policy:
Active Storage now ships an ImageMagick security policy that denies the dangerous coders.mini_magick4.9 or later is required. With an older version, Active Storage raises an error when it processes images.- ImageMagick 6.9.12-76 or later (or a distribution backporting the fix such as Debian 12) is needed to block
@fileindirection. Older versions, including those in Ubuntu 22.04 and 18.04, ignore this rule; all other rules still apply. On such systems, make sure user input never ends up in ImageMagick command-line arguments, for example in variant transformations. On versions before 6.9.7-7 (Ubuntu 18.04), your own policy also cannot re-allow a format the shipped policy denies. - ImageMagick can no longer read PDF or PostScript files. For PDF previews, use Active Storage's Poppler or MuPDF previewer. Do not re-allow these formats if you process files from untrusted users.
- If you cannot use the shipped policy, set
RAILS_LTS_SKIP_ACTIVE_STORAGE_IMAGEMAGICK_POLICY=1in the process environment before the application boots (a.envfile or an initializer is too late). Your application is then vulnerable, unless your global ImageMagickpolicy.xmldenies the same formats. Use the policy that Rails ships as a template.
- Send
x-goog-content-length-rangewith Google Cloud Storage direct uploads:
The fix makes browsers send an additionalx-goog-content-length-rangeheader with each direct upload. Add this header to theresponseHeaderlist in your bucket's CORS configuration before deploying; otherwise browser direct uploads will fail after the upgrade. - Restrict the formats
ffmpegandffprobeopen:ffmpegandffprobenow only open the formats listed in the new settingconfig.active_storage.ffmpeg_allowed_formats. Previews and metadata for rarer formats (such as MXF, DV or AC3) stop working unless you add them there.
October 2026
April 2026
5.2.8.41
Released Apr 23, 2026Security Fixes
- CVE-2026-41316 - Fix for ERB vulnerability when using
Marshal.load.
Active Record
- CVE-2022-44566 – Resolve incomplete denial-of-service (DoS) fix from earlier release.
March 2026
5.2.8.39
Released Mar 24, 2026Security Fixes
Action View
- CVE-2026-33168 — Fix possible XSS vulnerability in tag helpers.
Active Storage
- CVE-2026-33658 - Fix possible DoS vulnerability in proxy mode via multi-range requests.
- CVE-2026-33202 — Fix possible glob injection in
DiskService. - CVE-2026-33195 — Fix possible path traversal in
DiskService. - CVE-2026-33174 - Fix possible DoS vulnerability in proxy mode via Range requests.
- CVE-2026-33173 — Fix insufficient filtering of metadata in direct uploads.
Active Support
- CVE-2026-33176 — Fix possible DoS vulnerability in number helpers.
- CVE-2026-33170 — Fix possible XSS vulnerability in
SafeBuffer#%. - CVE-2026-33169 — Fix possible ReDoS vulnerability in
number_to_delimited.
October 2025
5.2.8.37
Released Oct 30, 2025Notes
- No changes in Rails.
- Bumped Rack version requirement to version 2.2.20.11.
5.2.8.36
Released Oct 13, 2025Notes
- No changes in Rails.
- Bumped Rack version requirement to version 2.2.20.10.
August 2025
5.2.8.33
Released Aug 20, 2025Security Fixes
Active Record
- CVE-2025-55193 - Call inspect on ids in
RecordNotFounderror.
Active Storage
- CVE-2025-24293 - Remove dangerous transformations.
Breaking Changes
Active Storage
- Remove unsafe transformations from the default allowlist:
We adapted the default allowlist (ActiveStorage.supported_image_processing_methods) and removed unsafe transformations, mirroring the official fixes in Rails 7/8. The removed transformations areapply,loaderandsaver. We still strongly recommend not to pass unsanitized user input in the variant processor in any case.
We suspect that applications commonly use at least some of these methods, so the update might break image processing for your app. If you find that your app does rely on, for example, thesavertransformation:- First, ensure that the transformation is never used with or through unsafe user input.
- Then, re-enable the transformation in your
application.rb. The methods will be added to the default list of allowed methods.
config.active_storage.supported_image_processing_methods = ['saver']
June 2025
May 2025
February 2025
5.2.8.26
Released Feb 10, 2025Notes
- This is the initial release of Never-Ending Support (NES) for Rails v5.2.x.
Security Fixes
Action Mailer
- CVE-2024-47889 – Avoid regex backtracking in
block_formathelper.
Action Pack
- CVE-2024-54133 – Fixed a possible Content Security Policy bypass in Action Dispatch.
- CVE-2024-47887 – Fixed a possible ReDoS vulnerability in HTTP Token authentication in Action Controller.
- CVE-2024-41128 – Fixed a possible ReDoS vulnerability in query parameter filtering in Action Dispatch.
- CVE-2023-28362 – Raise an exception if illegal characters are provide to
redirect_to. - CVE-2023-22795 – Fixed a ReDoS-based DoS vulnerability in Action Dispatch.
- CVE-2023-22792 – Fixed a ReDoS-based DoS vulnerability in Action Dispatch.
Action View
- CVE-2023-23913 – Fixed a DOM-based cross-site scripting (XSS) vulnerability in rails-ujs affecting contenteditable HTML elements.
Active Record
- CVE-2022-44566 – Fixed a denial-of-service (DoS) vulnerability in ActiveRecord's PostgreSQL adapter.
- CVE-2022-32224 – Fixed an Active Record RCE bug with serialized columns.
Active Support
- CVE-2023-38037 – Fixed a potential information disclosure vulnerability in Active Support where locally encrypted files could be exposed.
- CVE-2023-28120 – Fixed a possible XSS security vulnerability in
SafeBuffer#bytesplice. - CVE-2023-22796 – Fixed a ReDoS-based DoS vulnerability in Active Support's underscore.
Stay in the loop
~/herodevs-spring-framework-support
herodevs@nes:open-source$ ./display-support-info.sh