CVE-2026-126074: Active Storage: Possible DoS vulnerability in Active Storage filename handling
Vulnerability summary
CVE-2026-126074 is a medium (CVSS 4.3) Uncaught Exception vulnerability in rails. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 10-11-2026PublishedVulnerability first disclosed.
- 13-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 2 versions- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard33 products
- commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.3All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.5All versions (No fix recorded)
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
Debian1 product
- railsAll versions (No fix recorded) | < 2:6.1.7.10+dfsg-1~deb12u4 | < 2:7.2.2.2+dfsg-2~deb13u3 | < 2:7.2.4+dfsg-3
Rails1 product
- rails≥ 8.1, < 8.1.4.1 | < 8.0.5.2
RubyGems1 product
- activestorage≥ 8.1.0.beta1, < 8.1.4.1 | < 8.0.5.2
Ubuntu1 product
- railsAll versions (No fix recorded)
5 vendors · 37 products
References
12 links- github.com/rails/railsPACKAGE