CVE-2026-126186: rails · Reliance on File Name or Extension of Externally-Supplied File
Affects railsSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 8.1.4.1 or 8.0.5.2 soon.
Data as of 10 Nov 2026, 21:34 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.8 |
|---|
- 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: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 8.0.5.2 or later, where this vulnerability is fixed. No other specific mitigations are indicated by the vendor advisory. Applications should avoid using vulnerable Rails versions when accepting untrusted uploads for media processing.
Description
A vulnerability in Rails Active Storage prior to versions 8.1.4.1 and 8.0.5.2 allows attackers who control uploaded filenames to influence file processing by ffprobe, ffmpeg, and ImageMagick. This can lead to disclosure of files or remote code execution if certain conditions are met, such as using an FFmpeg build with AviSynth support. The issue is fixed in versions 8.1.4.1 and 8.0.5.2.
References
- github.com/rails/rails/security/advisories/GHSA-v924-7rp8-4mxh (opens in a new tab)
- github.com/rails/rails/commit/72136ff39153bc8d63ecbc899993848eb3d6573e (opens in a new tab)
- github.com/rails/rails/commit/8106938fb0a595f11006dd1497cd409e27d7d636 (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)