Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-126074
Published:November 10, 2026
Updated:November 21, 2026
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, ActiveStorage::Filename#base and #extension_with_delimiter, and therefore #extension, pass the stored filename unmodified to File.basename and File.extname, which raise ArgumentError when the name contains a NUL byte. Active Storage stores the client-supplied filename verbatim, so a user who is permitted to upload an attachment could persist such a filename on databases that accept NUL bytes in string columns, such as SQLite and MySQL/MariaDB. Each subsequent request that builds a variant or preview of the blob, opens it, or renders it as an Action Text attachment then raises, possibly resulting in a persistent DoS vulnerability for the pages that display the blob until it is purged or its filename is corrected. Applications that use PostgreSQL are not affected, because PostgreSQL rejects the row. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0.beta1 <v8.1.4.1
Fix Suggestion:
Update to version v8.1.4.1
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v5.2.0.beta1 <v8.0.5.2 || >=v6.0.0.beta1 <v8.0.5.2 || >=v7.0.0.alpha1 <v8.0.5.2 || >=v8.0.0.alpha1 <v8.0.5.2
Fix Suggestion:
Update to version v8.0.5.2
activestorage (RUBY):
Affected version(s) >=8.0.0.beta1 <8.0.5.2 || >=6.0.0.beta1 <8.0.5.2 || >=7.0.0.alpha1 <8.0.5.2 || >=5.2.0.beta1 <8.0.5.2
Fix Suggestion:
Update to version 8.0.5.2
activestorage (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.4.1
Fix Suggestion:
Update to version 8.1.4.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncaught Exception
EPSS
Base Score:
0.50