206 Rails 5.2 LTS Changelog

Updated . Posted . Visible to the public.

November 4th 2026, Rails version 5.2.8.46

  • Backported a fix for GHSA-f3w6-w445-fwh9 - Possible arbitrary file write and read in Active Storage image analysis (ships an ImageMagick security policy for every MiniMagick process)
  • Backported a fix for GHSA-v924-7rp8-4mxh - Possible arbitrary file read and remote code execution in Active Storage video previews, analysis and image processing
  • Backported a fix for GHSA-8474-xrp6-wh69 - Possible DoS vulnerability in Active Support safe_constantize
  • Backported a fix for GHSA-rwvh-fw6r-pwvp - Possible DoS vulnerability in Action Controller Live streaming
  • Backported a fix for GHSA-v6rj-xm57-3p59 - Possible XSS vulnerability in Action View highlight helper
  • Backported a fix for GHSA-x6mj-8jx9-qhqv - Possible sensitive session information leak in Active Storage proxy mode (5.2 has no proxy mode, but the cookie jar rewrite affected any response that skips the session)
  • Backported a fix for GHSA-hfr4-8rjc-97m2 - Possible circumvention of file size limits in Active Storage direct uploads to Google Cloud Storage
  • Backported a fix for GHSA-p2pm-g2h6-7j5j - Possible DoS vulnerability in Active Storage filename handling
  • Backported a fix for GHSA-3f4q-8x5m-76v8 - Possible local file disclosure in Active Storage video previews and analysis
  • Backported a fix for GHSA-2586-8ghr-69fj - Possible restoration of destroyed sessions in Action Dispatch CacheStore. The Dalli-based MemCacheStore has the same pattern; use Dalli >= 4.0.
  • Not affected: GHSA-wm3x-v3qw-4jh3, GHSA-2p2f-4rq4-gjwc, GHSA-rq8q-p985-fjq7, GHSA-68p9-83h6-5wpj, GHSA-3w93-6hmw-whh4, GHSA-5957-c7qm-m469, GHSA-gmj8-hvj3-49mw, GHSA-4v2w-w6g6-f8f8, GHSA-2gff-2mmg-m73p, GHSA-2w9f-fxwj-w2qf.
  • Read the announcement Show archive.org snapshot

October 31st 2026, Rails version 5.2.8.45

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

October 31st 2026, Rack version 2.2.25.10

  • Applied a fix for GHSA-5v64-555j-wjxm - Multipart parser retains parsed data in its scan buffer, allowing denial of service via memory exhaustion
  • Applied a fix for GHSA-p8x9-v4hv-2w4g - Multipart boundary guard skips a leading empty or quoted boundary parameter, allowing parser differentials and WAF bypass
  • Applied a fix for GHSA-2j8w-xcrc-x985) - Rack::Request#host_with_port and #base_url return an invalid Host verbatim, enabling URL and allowlist bypass
  • Applied a fix for GHSA-wvg4-6p58-3gh3 - Rack::Static header_rules bypass via unnormalized dot segments in the request path
  • Read the announcement Show archive.org snapshot

October 27th 2026, Rails version 5.2.8.44

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

October 27th 2026, Rack version 2.2.23.12

October 20th 2026, Rails version 5.2.8.43 + Rack version 2.2.23.11

  • Added support for Ruby 4.0.

July 21st 2026, Rails version 5.2.8.42

  • Fixed a bug for Ruby 3 when calling named scopes with keyword arguments multiple times.

April 23rd 2026, Rails version 5.2.8.41

April 2nd 2026, Rails version 5.2.8.40

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

April 2nd 2026, Rack version 2.2.23.10

  • Backported fix for CVE-2026-34763 — Possible leak of root directory name in Rack::Directory
  • Backported fix for CVE-2026-34230 — Denial of Service in Rack when using Rack::Deflater middleware
  • Backported fix for CVE-2026-26961 — Non-RFC-conformant handling of Multipart request boundaries
  • Backported fix for CVE-2026-34786 — Possible Incorrect setting of HTTP headers in Rack::Static
  • Backported fix for CVE-2026-34831 — Possible Invalid Content-Length header in Rack::Files
  • Backported fix for CVE-2026-34826 — Possible Denial of Service in Rack handling of Range headers
  • Backported fix for CVE-2026-34835 — Missing validation of RFC-conformity of Host Header (incomplete fix, see above)
  • Backported fix for CVE-2026-34830 — Incorrect handling of X-Accel-Mapping in Rack::SendFile
  • Backported fix for CVE-2026-34785 — Possible directory traversal in Rack::Static
  • Backported fix for CVE-2026-34829 — Possible Denial of Service for multipart requests
  • Backported fix for CVE-2026-26962 — Possible mishandling of filenames in multipart requests
  • Read the announcement Show archive.org snapshot

March 24th 2026, Rails version 5.2.8.39

  • Backported fix for CVE-2026-33168 — XSS in tag helper.
  • Backported fix for CVE-2026-33169 — ReDoS in ActiveSupport.
  • Backported fix for CVE-2026-33170 — XSS in SafeBuffer.
  • Backported fix for CVE-2026-33173 — Insufficient filtering in ActiveStorage.
  • Backported fix for CVE-2026-33176 — DoS in ActiveSupport.
  • Backported fix for CVE-2026-33195 — Path Traversal in ActiveStorage.
  • Backported fix for CVE-2026-33202 — Glob injection in ActiveStorage.
  • Read the announcement Show archive.org snapshot
    • Note that the announcement mistakenly states that [CVE-2026-33174] and [CVE-2026-33658] were fixed in Rails LTS. Instead, they do not affect Rails LTS.

February 19th 2026, Rails version 5.2.8.38

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

February 19th 2026, Rack version 2.2.22.10

October 20th 2025, Rails version 5.2.8.37

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

October 20th 2025, Rack version 2.2.20.11

  • Removed an unnecessary warning caused by the last change ("unknown or unsafe x-sendfile variation"). Has no security implications.

October 13th 2025, Rails version 5.2.8.36

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

October 13th 2025, Rack version 2.2.20.10

October 9th 2025, Rails version 5.2.8.35

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

October 9th 2025, Rack version 2.2.19.10

October 1st 2025, Rails version 5.2.8.34

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

October 1st 2025, Rack version 2.2.18.10

August 14th 2025, Rails version 5.2.8.33

  • Backported fixes for two vulnerabilies. Read the announcement Show archive.org snapshot . This includes:

    • Dangerous transformation methods in ActiveStorage (CVE-2025-24293)
    • ANSI injection in ActiveRecord logging (CVE-2025-55193)
  • Backported a (non-CVE) fix to ActionCable logging, to filter sensitive parameters.

June 6th 2025, Rails version 5.2.8.32

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

June 6th 2025, Rack version 2.2.17.10

May 9th 2025, Rails version 5.2.8.31

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

May 9th 2025, Rack version 2.2.14.10

March 13th 2025, Rails version 5.2.8.30

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

March 13th, 2025, Rack version 2.2.13.10

March 11th, Rails version 5.2.8.29

March 6th 2025, Rails version 5.2.8.28

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

March 6th 2025, Rack version 2.2.12.10

  • Fixed CVE-2025-27111: Possible Log Injection in Rack

February 21th 2025, Rails version 5.2.8.27

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

February 21th 2025, Rack version 2.2.11.10

  • Fixed CVE-2025-25184: Possible Log Injection in Rack::CommonLogger

Dezember 11th 2024, Rails version 5.2.8.26

October 17th 2024, Rails version 5.2.8.25

Sep 18th 2024, Rack version 2.2.9.10

  • Merged upstream bug fixes from Rack 2.2.9.

May 14th 2024, Rails version 5.2.8.24

  • Added support for Ruby 3.3. See our upgrade guide.
  • (There is no release of Rack, version 2.2.8.10 is already compatible with Ruby 3.3.)

Feb 23rd 2024, Rack version 2.2.8.10

  • Fixed DoS vulnerabilities CVE-2024-25126 and CVE-2024-26141, see here Show archive.org snapshot for more details.
  • Merged several upstream bug fixes from Rack 2.2.8.

Oct 18th 2023, Rails version 5.2.8.23

  • Fixed a bug for Ruby 3.1, where it was not possible to use scopes or class methods on scopes with keyword arguments.

Aug 23rd 2023, Rails version 5.2.8.22

Jun 27th 2023, Rails version 5.2.8.21

Apr 11th 2023, Rails version 5.2.8.19

  • Fixed an issue with migrations on Ruby 3.1 when using code of the form
    change_table do |t|
      t.integer :size, default: 0 # works
      t.integer :count, { default: 0 } # would create an additional column named "{default => 0}" 
    end
    
    This could also cause weird columns to appear in the schema_migrations or ar_internal_metadata tables when creating a new database.

Apr 4th 2023, Rack version 2.2.6.14

  • Backported non-security fixes from upstream Rack 2.2.5 and 2.2.6. Changes are
    • Extend Rack::MethodOverride to handle QueryParser::ParamsTooDeepError error.
    • Rack::URLMap uses non-deprecated form of Regexp.new.

Apr 4th 2023, Rails version 5.2.8.18

  • Added monkey patches to address ReDoS vulnerabilities in the time and uri stdlibs (CVE-2023-28755, CVE-2023-28756), see here Show archive.org snapshot for more details

Mar 14th 2023: Rails version 5.2.8.17

Mar 14th 2023: Rack version 2.2.4.13

Mar 3rd, 2023: Rack version 2.2.4.12

  • Backported fix for [CVE-2023-27530] to address a potential DOS attack with rack multipart requests.
  • See here Show archive.org snapshot for additional details and a potential breaking change.

Jan 24th, 2023: Rails version 5.2.8.16

Jan 20th, 2023: Rails version 5.2.8.15

  • Fixed multiple ReDoS vulnerabilities in Rails: [CVE-2023-22792], [CVE-2023-22796], [CVE-2023-22795]
  • Fixed a DOS vulnerability in the PostgreSQL adapter for ActiveRecord [CVE-2022-44566]
    • ActiveRecord will now throw an exception, if you pass an integer > 64bit. You can opt out using
      config.active_record.raise_int_wider_than_64bit = false
      
  • Added a monkey patch to fix a ReDoS vulnerability in globalid [CVE-2023-22799]
  • See here Show archive.org snapshot for more details

Jan 20th, 2023: Rack version 2.2.4.11

Dec 16th, 2022: Rails version 5.2.8.14

  • Backported fix for CVE-2022-3704. This is an XSS vulnerability that only applies to development and not an actual security problem.

Dec 13th, 2022: Rails version 5.2.8.13

Dec 13th, 2022: Rack version 2.2.4.10

  • Based on our fork of rack.
  • Added support for Ruby 2.2
  • Added support for Ruby 3.1.
  • Includes fixes for CWE-444.
  • More info

Jul 21st, 2022: Version 5.2.8.12

Jul 14th, 2022: Version 5.2.8.11

  • Merged upstream bug fix for [CVE-2022-32224] Possible RCE escalation bug with Serialized Columns in Active Record. We tried to make it less of a breaking change than the official patch by adding a default set of permitted serializable classes. see details

May 18th, 2022: Version 5.2.8.10

Apr 27th, 2022: Version 5.2.7.11

  • Merged upstream fixes for CVE-2022-22577 and CVE-2022-27777, to include CSP headers on all all responses, and fixing possible XSS vulnerabilities via content_tag or tag helpers; see details Show archive.org snapshot .

Mar 12th, 2022: Version 5.2.7.10

Mar 09th, 2022: Version 5.2.6.12

  • Merged upstream fix for CVE-2022-21831, which fixes a potential code injection vulnerability in ActiveStorage by adding an allowlist to image processing methods, in case user input is passed to the #variant method. see here Show archive.org snapshot

Feb 12th, 2022: Version 5.2.6.11

Dec 09th, 2021: Version 5.2.6.10

  • Initial release of the LTS version of Rails 5.2.
  • This is identical to the official 5.2.6 release, except for the additional Rails LTS hardening config. This config currently has no effect but might be used for future fixes (in which case the advisory will point that out).
  • Supports Ruby 2.2, 2.5, and 2.7.
  • (Skipped to version .10 to avoid collision with a potential future 5.2.6.1 community release.)
Profile picture of Tobias Kraze
Tobias Kraze
Last edit
Dominik Schöler
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to Rails LTS documentation (2021-12-09 12:28)