Visit Rails NES Home Page
Rails 7.2.x Release Notes
6 versions
Changelog and Release Notes for the NES version of Rails 7.2
November 2026
7.2.4.12
Released Nov 23, 2026Notes
- Bumped Rack version requirement to >= 2.2.26. Rack 3 applications need Rack 3.1.24 or 3.2.9.
- Additional hardening around ERB internals, multipart parsing, MIME types, and
Rack::Utilsq-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.loadon untrusted data. Code that alias-chainsERB#resultafter Rails loads now raisesSystemStackError.
Active Support
- CVE-2026-33169 - Corrected a regression where
number_with_delimiterformatted negative numbers incorrectly (-123became-,123).
7.2.4.11
Released Nov 6, 2026Notes
- Bumped Rack version requirement to >= 2.2.25. Rack 3 applications need Rack 3.1.23 or 3.2.8.
Security Fixes
Action Mailbox
- CVE-2026-126068 - Fix possible signature replay in Mailgun ingress.
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-basedMemCacheStorehas 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
SameSiteattribute on session cookies from session stores.
Action View
- CVE-2026-126079 - Fix possible XSS vulnerability in text helpers. The upstream fix requires Nokogiri >= 1.19.5, which needs Ruby 3.2+. Update Nokogiri if you can; on older Nokogiri,
highlightandsimple_formatfall back to the HTML4 sanitizer, which escapes<and>in attribute values. - CVE-2026-126078 - Fix possible XSS vulnerability in the
highlighthelper. - CVE-2026-126070 - Fix possible XSS vulnerability in
strip_tags. - CVE-2026-126069 - Fix possible XSS vulnerability in tag helpers.
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-126084 - Fix unsigned
Content-Typein GCS direct uploads withcache_control. - 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; with the:mini_magickvariant 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
@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
August 2026
7.2.3.11
Released Aug 3, 2026Security Fixes
Active Storage
- CVE-2026-66066 - Disable all untrusted
libvipsformats.
Breaking Changes
Active Storage
- Disable all untrusted
libvipsformats:- If you use
libvips< 8.13 orruby-vips< 2.2.1 this is not possible and Rails will refuse to start. As an emergency escape hatch we provide theRAILS_LTS_ALLOW_UNTRUSTED_VIPS_OPERATIONS=1environment variable. This should only be used if you know that you don't process files from untrusted users, or when you have configuredconfig.active_storage.variant_processorto 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.
- If you use
March 2026
7.2.3.1
Released Mar 24, 2026Notes
- This release contains no functional change from the OSS Rails v7.2.3.1.
Security 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.
Stay in the loop
~/herodevs-spring-framework-support
herodevs@nes:open-source$ ./display-support-info.sh