CVE & CISA-KEV Catalog

CVE-2026-126186

HIGH
8.8
CVSS v3
NVD

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.

How to fix

Remediation Available
activestorageRubyGems
Fixed in:8.0.5.2GHSA-v924-7rp8-4mxh

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.51%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Related Vulnerabilities

Other CWE-646 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-34639High7.50.6%--
CVE-2024-52052High7.20.5%-Fix
CVE-2025-1889Critical9.80.4%-Fix
CVE-2025-58449Unscored-0.3%--
CVE-2023-45599Medium5.50.2%-Fix
CVE-2026-45315High8.70.2%-Fix

Common questions

How do I fix CVE-2026-126186?

Upgrade activestorage to 8.0.5.2 or later.

Is CVE-2026-126186 being actively exploited?

Not that we know of. CVE-2026-126186 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.51% is the estimated probability that it will be exploited in the next 30 days. That is higher than 44% of all scored CVEs.

How severe is CVE-2026-126186?

CVE-2026-126186 has a CVSS v3 base score of 8.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-126186 affect?

Published advisories record a fix for activestorage (RubyGems). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-126186
CVE-2026-126186 severity badge

Markdown

[![CVE-2026-126186](https://tridentstack.com/cve/badge/CVE-2026-126186.svg)](https://tridentstack.com/cve/CVE-2026-126186)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-126186"><img src="https://tridentstack.com/cve/badge/CVE-2026-126186.svg" alt="CVE-2026-126186"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Run a free CVE scan on your fleetStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-11-12.