← Vulnerabilities

MediumAdvisoryRubyMySQL / MariaDBSQLite

Active Storage: Possible DoS vulnerability in Active Storage filename handling

Affected

PackageAffected versionsFixed in
rubygems:activestorage>= 8.1.0.beta1, < 8.1.4.18.1.4.1
rubygems:activestorage< 8.0.5.28.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 pr…

Read on GitHub Advisory Database

On 11/11/2026, 06:33 AM, GitHub Advisory Database published "Active Storage: Possible DoS vulnerability in Active Storage filename handling" (type: Advisory). Severity is "Medium" (medium). Related technologies: Ruby, MySQL / MariaDB, SQLite. CVE: CVE-2026-126074.