Visit Rails NES Home Page

Rails 6.1.x Release Notes

18 versions

Changelog and Release Notes for the NES version of Rails 6.1

Nov 24, 2026
Latest: 6.1.7.45
70 Patched Vulnerabilities
VEX Statements

November 2026

6.1.7.45

Released Nov 24, 2026

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.26.12.

Notes

  • Bumped Rack version requirement to version 2.2.26.11.
  • Additional hardening around ERB internals, multipart parsing, MIME types, and Rack::Utils q-values. Bugfixes for filename handling, tag helpers, and number formatting.

Security Fixes

Action View
  • CVE-2026-41316 - Corrected an incomplete fix for the ERB patch which could be bypassed with a forged init marker. The precondition remains Marshal.load on untrusted data.
Active Support
  • CVE-2026-33169 - Corrected a regression where number_with_delimiter formatted negative numbers incorrectly (-123 became -,123).

Notes

  • Bumped Rack version requirement to version 2.2.25.10.

Security Fixes

Action Mailbox
Action Pack
  • CVE-2026-126081 - Fix possible Strong Parameters bypass in Parameters#each_key.
  • CVE-2026-126077 - Fix possible sensitive session information leak in Active Storage proxy mode.
  • CVE-2026-126076 - Fix possible restoration of destroyed sessions in CacheStore. The Dalli-based MemCacheStore has the same pattern; use Dalli >= 4.0.
  • CVE-2026-126073 - Fix possible cache poisoning in content negotiation.
  • CVE-2026-126072 - Fix possible DoS vulnerability in Action Controller Live streaming.
  • CVE-2026-126067 - Add missing SameSite attribute on session cookies from session stores.
Action View
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

Breaking Changes

Active Storage
  • Ship an ImageMagick security policy:
    Active Storage now ships an ImageMagick security policy that denies the dangerous coders.
    • mini_magick 4.9 or later is required. With an older version, Active Storage raises an error when it processes images; with the :mini_magick variant processor, the application already fails to boot.
    • ImageMagick 6.9.12-76 or later (or a distribution backporting the fix such as Debian 12) is needed to block @file indirection. 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=1 in the process environment before the application boots (a .env file or an initializer is too late). Your application is then vulnerable, unless your global ImageMagick policy.xml denies the same formats. Use the policy that Rails ships as a template.
  • Send x-goog-content-length-range with Google Cloud Storage direct uploads:
    The fix makes browsers send an additional x-goog-content-length-range header with each direct upload. Add this header to the responseHeader list in your bucket's CORS configuration before deploying; otherwise browser direct uploads will fail after the upgrade.
  • Restrict the formats ffmpeg and ffprobe open:
    ffmpeg and ffprobe now only open the formats listed in the new setting config.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

6.1.7.40

Released Oct 29, 2026

Notes

  • Added support for Ruby 4.0.
  • Bumped Rack version requirement to version 2.2.23.12.

August 2026

6.1.7.38

Released Aug 3, 2026

Security Fixes

Active Storage

Breaking Changes

Active Storage
  • Disable all untrusted libvips formats:
    • If you use libvips < 8.13 or ruby-vips < 2.2.1 this is not possible and Rails will refuse to start. As an emergency escape hatch we provide the RAILS_LTS_ALLOW_UNTRUSTED_VIPS_OPERATIONS=1 environment variable. This should only be used if you know that you don't process files from untrusted users, or when you have configured config.active_storage.variant_processor to use ImageMagick.
    • If your application processes complex file formats like SVG or PDF, ActiveStorage will no longer be able to do so. Formats can be selectively re-enabled (e.g. Vips.block('VipsForeignLoadPdf', false)). This may re-enable the vulnerability since it is not yet public which format enables the exploit.

April 2026

Security Fixes

Active Record
  • CVE-2022-44566 – Resolve incomplete denial-of-service (DoS) fix from earlier release.

6.1.7.36

Released Apr 14, 2026

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.23.10.

March 2026

Security Fixes

Action View
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

6.1.7.34

Released Mar 4, 2026

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.22.10.

October 2025

6.1.7.33

Released Oct 30, 2025

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.20.11.

6.1.7.32

Released Oct 13, 2025

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.20.10.

6.1.7.31

Released Oct 10, 2025

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.19.10.

6.1.7.30

Released Oct 2, 2025

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.18.10.

August 2025

Security Fixes

Active Record
Active Storage

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 are apply, loader and saver. 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, the saver transformation:
    1. First, ensure that the transformation is never used with or through unsafe user input.
    2. 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

6.1.7.28

Released Jun 17, 2025

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.17.10.

May 2025

6.1.7.27

Released May 14, 2025

Notes

  • No changes in Rails.
  • Bumped Rack version requirement to version 2.2.14.10.

March 2025

6.1.7.26

Released Mar 17, 2025

Notes

  • Bumped Rack version requirement to version 2.2.13.10.
  • Removed the railslts-version gem.

February 2025

Notes

  • This is the initial release of Never-Ending Support (NES) for Rails v6.1.x.

Security Fixes

Action Mailer
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.
Action Text
  • CVE-2024-47888 – Fixed a possible ReDoS vulnerability in plain_text_for_blockquote_node in Action Text.

Stay in the loop

~/herodevs-spring-framework-support

Open Source Support

When official support ends, we're just getting started.