CVE-2026-126074: Rails · Active Storage makes it simple to upload and reference files in cloud services and attach
Affects railsSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium · fixed in 8.1.4.1 : update rails when convenient.
Data as of 13 Nov 2026, 22:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.3 |
|---|
- Patch
- Available – fixed in 8.1.4.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10railspkg:deb/ubuntu/rails?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Rails Active Storage to version 8.1.4.1 or 8.0.5.2 or later, where this issue is fixed. No other mitigation is indicated or necessary. If upgrading is not immediately possible, consider purging or correcting filenames containing NUL bytes to prevent persistent errors.
Description
A vulnerability in Rails Active Storage prior to versions 8.1.4.1 and 8.0.5.2 allows a denial of service (DoS) condition when processing filenames containing NUL bytes. This occurs because Active Storage passes the stored filename unmodified to Ruby's File.basename and File.extname methods, which raise ArgumentError on NUL bytes. Databases like SQLite and MySQL/MariaDB that accept NUL bytes in string columns can persist such filenames, causing persistent errors on subsequent requests that handle the file, potentially leading to a DoS until the blob is purged or renamed. PostgreSQL is not affected as it rejects such rows.
References
- ubuntu.com/security/CVE-2026-126074 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-126074 (opens in a new tab)
- github.com/rails/rails/security/advisories/GHSA-p2pm-g2h6-7j5j (opens in a new tab)
- github.com/rails/rails/commit/60f22af88b71eae251f112d8c0237a08a8832692 (opens in a new tab)
- github.com/rails/rails/commit/9b0d4bef2211a2c08cab2e0ea17fa1d0efd5d47a (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.5.2 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.4.1 (opens in a new tab)