CVE-2026-126082: rails · Insecure Default
Affects railsSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical : upgrade to 8.1.4.1 or 8.0.5.2 as a priority.
Data as of 10 Nov 2026, 21:20 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.8 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation 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 Rails to version 8.1.4.1 or later, or 8.0.5.2 or later, where this vulnerability is fixed. Ensure that ImageMagick is run under a security policy that denies the involved coders to reduce risk. Applications that do not allow uploads from untrusted users or do not use ImageMagick for Active Storage image processing with config.active_storage.variant_processor = :mini_magick are not affected.
Description
A critical vulnerability in Rails Active Storage prior to versions 8.1.4.1 and 8.0.5.2 allows unauthenticated attackers to write arbitrary files on the server and read sensitive files when using the Disk service with ImageMagick for image processing. This occurs because ImageMagick processes files using coders that can act on files named inside the image, and Active Storage did not restrict these coders. Exploitation can lead to disclosure of secrets like secret_key_base and credentials, potentially enabling remote code execution or lateral movement. The issue affects applications using config.active_storage.variant_processor = :mini_magick and running ImageMagick without restrictive security policies. The vulnerability is fixed in versions 8.1.4.1 and 8.0.5.2.
References
- github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9 (opens in a new tab)
- github.com/rails/rails/commit/468aa9a93fc98f5476b6821770f4ccfcb7f7d328 (opens in a new tab)
- github.com/rails/rails/commit/ea8c40121ce53a3d0255cd4eb6d13bfe3bc01776 (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)