activestorage · Active Storage: Possible arbitrary file read and remote code execution in video previews, analysis and image
Affects activestorageSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 8.1.4.1 soon.
Data as of 10 Nov 2026, 22:36 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 activestorage to 8.1.4.1; activestorage to 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsactivestorage | Affected
| Fixed in
|
| RubyGemsactivestorage | 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 Active Storage to version 8.0.5.2 or later, or 8.1.4.1 or later, where the vulnerability is fixed. For applications unable to upgrade immediately, remove ActiveStorage::Previewer::VideoPreviewer from config.active_storage.previewers and ActiveStorage::Analyzer::VideoAnalyzer and ActiveStorage::Analyzer::AudioAnalyzer from config.active_storage.analyzers to prevent FFmpeg from processing uploaded files. Running FFmpeg builds without AviSynth support mitigates the AviSynth attack vector but does not address other extension-based decoder risks in ImageMagick. Applications meeting the AviSynth conditions should consider all secrets potentially exposed and rotate them, including secret_key_base, master key, credentials, service credentials, database credentials, and third-party tokens. Changing secret_key_base also invalidates active sessions and signed cookies. Do not retain any exposed secrets as fallback.
Description
Active Storage versions prior to 8.0.5.2 and between 8.1.0.beta1 and 8.1.4.1 are vulnerable to arbitrary file read and potential remote code execution via crafted video previews, analysis, and image processing. The vulnerability arises because the tempfile used for uploaded blobs retains the original file extension, which influences how external tools like FFmpeg and ImageMagick decode the file. An attacker controlling the filename and content type can cause these tools to execute unintended decoders, including AviSynth scripts in FFmpeg builds with AviSynth support, potentially leading to file disclosure or remote code execution. Fixed versions restrict the tempfile extension to those matching the blob's content type, mitigating this risk.
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 (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)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-v924-7rp8-4mxh.yml (opens in a new tab)