CVE-2026-126074: rails · Uncaught Exception
Affects railsSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium : upgrade to 8.1.4.1 or 8.0.5.2 when convenient.
Data as of 10 Nov 2026, 21:07 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.3 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
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 10 Nov 2026.
What to do
Upgrade rails to 8.1.4.1 or 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsrails | Affected
| Fixed in
|
| railsrails | Affected
| Fixed in
|
AI-suggested
Upgrade Ruby on 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 required as the fix addresses the root cause.
Description
A vulnerability in Ruby on Rails Active Storage prior to versions 8.1.4.1 and 8.0.5.2 allows an uncaught exception due to NUL bytes in uploaded filenames. This can cause persistent denial of service (DoS) on pages displaying affected attachments until the filename is corrected or the blob is purged. PostgreSQL users are not affected as it rejects such rows.
References
- 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)