8.8

CVE-2026-126186: Active Storage: Possible arbitrary file read and remote code execution in Active Storage video previews, analysis and image processing

Awaiting analysis
AliasesGHSA-v924-7rp8-4mxhCGA-c3vc-vhq6-667mCGA-cq9p-p8c9-rj9r
Published 10-11-2026Last modified 12-11-2026

Vulnerability summary

CVE-2026-126186 is a high (CVSS 8.8) vulnerability in rails. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 45.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.51%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 10-11-2026
    PublishedVulnerability first disclosed.
  2. 12-11-2026
    Last modifiedVulnerability information updated.

Description

Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, ActiveStorage::Blob#open writes a blob to a tempfile whose name carries the extension of the uploaded filename, and hands that path to ffprobe (VideoAnalyzer, AudioAnalyzer), ffmpeg (VideoPreviewer) and ImageMagick (ImageAnalyzer, the :mini_magick variant processor). These tools select a decoder from the file extension when the content does not identify its own format, so an attacker who chooses the filename and declares the content type of an upload chooses which decoder processes it. An FFmpeg built with AviSynth support treats a file with the .avs extension as an AviSynth script and evaluates it, which could disclose files readable by the application process through the preview image, or load a native library the attacker has also uploaded, possibly leading to remote code execution in the FFmpeg process. ImageMagick selects its coders and delegates from the extension in the same way. An application is affected if it accepts uploads from untrusted users and analyzes video or audio attachments, generates video previews, or processes images with ImageMagick. The AviSynth attack additionally requires an FFmpeg built with --enable-avisynth and the AviSynthPlus runtime on the host. Upstream FFmpeg and the common Linux distribution and Homebrew packages do not enable it; the GPL builds distributed for Windows and Linux from ffmpeg.org do. Other decoders that FFmpeg or ImageMagick select from the extension may be reachable without AviSynth. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

11-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard32 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.4All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.5All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
Debian1 product
  • railsAll versions (No fix recorded) | < 2:6.1.7.10+dfsg-1~deb12u4 | < 2:7.2.2.2+dfsg-2~deb13u3 | < 2:7.2.4+dfsg-3
Rails1 product
  • rails≥ 8.1, < 8.1.4.1 | < 8.0.5.2
RubyGems1 product
  • activestorage≥ 8.1.0.beta1, < 8.1.4.1 | < 8.0.5.2
Ubuntu1 product
  • railsAll versions (No fix recorded)

5 vendors · 36 products

References

12 links
Show all 12 references