SCA: security update for activestorage (GHSA-v924-7rp8-4mxh)

high Tenable Cloud Security Plugin ID 478941

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-126186)

Solution

Update the activestorage library and its related packages to version 8.0.5.2 or later.

See Also

https://github.com/advisories/GHSA-v924-7rp8-4mxh

Plugin Details

Severity: High

ID: 478941

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 11/11/2026

Updated: 11/11/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-126186

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/10/2026

Vulnerability Publication Date: 11/10/2026

Reference Information

CVE: CVE-2026-126186

cwe: CWE-646