-
Fix Rails hanging when generating video previews
When Rails runs in a background process group, ffmpeg's attempt to configure the terminal for interactive input would send SIGTTOU to the Rails process, suspending it indefinitely.
Fixed by explicitly passing /dev/null to ffmpeg's stdin.
Jonathan del Strother
-
Fix
ActiveStorage::Blobcontent type predicate methods to handlenil.Daichi KUDO
-
Filter user supplied metadata in DirectUploadController
[CVE-2026-33173]
Jean Boussier
-
Configurable maxmimum streaming chunk size
Makes sure that byte ranges for blobs don't exceed 100mb by default. Content ranges that are too big can result in denial of service.
[CVE-2026-33174]
Gannon McGibbon
-
Limit range requests to a single range
[CVE-2026-33658]
Jean Boussier
-
Prevent path traversal in
DiskService.DiskService#path_fornow raises anInvalidKeyErrorwhen passed keys with dot segments (".", ".."), or if the resolved path is outside the storage root directory.#path_foralso now consistently raisesInvalidKeyErrorif the key is invalid in any way, for example containing null bytes or having an incompatible encoding. Previously, the exception raised may have beenArgumentErrororEncoding::CompatibilityError.DiskControllernow explicitly rescuesInvalidKeyErrorwith appropriate HTTP status codes.[CVE-2026-33195]
Mike Dalessio
-
Prevent glob injection in
DiskService#delete_prefixed.Escape glob metacharacters in the resolved path before passing to
Dir.glob.Note that this change breaks any existing code that is relying on
delete_prefixedto expand glob metacharacters. This change presumes that is unintended behavior (as other storage services do not respect these metacharacters).[CVE-2026-33202]
Mike Dalessio
- No changes.
-
Address deprecation of
Aws::S3::Object#upload_streaminActiveStorage::Service::S3Service.Joshua Young
-
Fix
config.active_storage.touch_attachment_recordsto work with eager loading.fatkodima
-
Remove dangerous transformations
[CVE-2025-24293]
Zack Deveau
-
A Blob will no longer autosave associated Attachment.
This fixes an issue where a record with an attachment would have its dirty attributes reset, preventing your
after commitcallbacks on that record to behave as expected.Note that this change doesn't require any changes on your application and is supposed to be internal. Active Storage Attachment will continue to be autosaved (through a different relation).
Edouard-chin
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
-
Deprecate
ActiveStorage::Service::AzureStorageService.zzak
-
Improve
ActiveStorage::Filename#sanitizedmethod to handle special characters more effectively. Replace the characters"*?<>with-if they exist in the Filename to match the Filename convention of Win OS.Luong Viet Dung(Martin)
-
Improve InvariableError, UnpreviewableError and UnrepresentableError message.
Include Blob ID and content_type in the messages.
Petrik de Heus
-
Mark proxied files as
immutablein their Cache-Control headerNate Matykiewicz
Please check 7-2-stable for previous changes.