CVE-2026-126074 json
Active Storage: Possible DoS vulnerability in Active Storage filename handling
published 8d ago modified yesterday also EUVD-2026-122910 , GHSA-p2pm-g2h6-7j5j
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems activestorage 8.0.5.2, 8.1.4.1
Is CVE-2026-126074 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-126074 updated cvss 4.3
activestorage: activestorage: Denial of Service via filenames containing null bytes
-
Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel9, 3scale-amp2/system-rhel8, 3scale-amp2/system-rhel9affected: workaround, no fix available, no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activestorage | >=8.1.0.beta1, <8.1.4.1 <8.0.5.2 |
8.1.4.1 8.0.5.2 |
Affected products
- rails rails
Classification
- Weakness
-
- CWE-248 Uncaught Exception
- Technology feeds
References
-
github.com
/rails/rails/commit/60f22af88b71eae251f112d8c0237a08a8832692
web
-
github.com
/rails/rails/commit/9b0d4bef2211a2c08cab2e0ea17fa1d0efd5d47a
web
-
github.com
/rails/rails/security/advisories/GHSA-p2pm-g2h6-7j5j
web, advisory
-
github.com
/rails/rails/releases/tag/v8.0.5.2
web
-
github.com
/rails/rails/releases/tag/v8.1.4.1
web
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-p2pm-g2h6-7j5j.yml
web
Sources
- CVE List CVE-2026-126074
- GitHub Advisory GHSA-p2pm-g2h6-7j5j
- NVD CVE-2026-126074
- Maintainer advisory GHSA-p2pm-g2h6-7j5j
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.