Skip to main content

Active Storage

2 CVEs product

Monthly

CVE-2026-122006 Nov 04, 14:12 Ruby CRITICAL POC PATCH GHSA Act Now

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk service, read arbitrary files such as secret_key_base, by uploading a crafted attachment that ImageMagick analyzes. Exposure requires an application that processes images through mini_magick (the default only under load_defaults 6.1 or earlier), whose host ImageMagick policy does not already deny the MSL, Ghostscript and file/URL indirection coders - the policies shipped by Debian and Ubuntu do not - and that accepts uploads from untrusted users; merely attaching the file is enough, since the analyzer runs on attach and no variant, preview or explicit analyze call is needed. The Rails team rates this act_now and shipped fixes in activestorage 8.1.4.1 and 8.0.5.2 (with patch commits for 8.1 and 8.0); no public exploit identified at time of analysis, though the advisory notes one specific attack chain has already been reported.

Information Disclosure Red Hat Imagemagick Ruby On Rails Active Storage +1
NVD GitHub VulDB
CVSS 3.1
9.8
EPSS
0.7%
CVE-2022-21831 May 26, 17:15 Ruby CRITICAL PATCH Act Now

A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

RCE Code Injection Debian Debian Linux Active Storage +1
NVD GitHub
CVSS 3.1
9.8
EPSS
2.7%
EPSS 1% CVSS 9.8
CRITICAL POC PATCH Act Now

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk service, read arbitrary files such as secret_key_base, by uploading a crafted attachment that ImageMagick analyzes. Exposure requires an application that processes images through mini_magick (the default only under load_defaults 6.1 or earlier), whose host ImageMagick policy does not already deny the MSL, Ghostscript and file/URL indirection coders - the policies shipped by Debian and Ubuntu do not - and that accepts uploads from untrusted users; merely attaching the file is enough, since the analyzer runs on attach and no variant, preview or explicit analyze call is needed. The Rails team rates this act_now and shipped fixes in activestorage 8.1.4.1 and 8.0.5.2 (with patch commits for 8.1 and 8.0); no public exploit identified at time of analysis, though the advisory notes one specific attack chain has already been reported.

Information Disclosure Red Hat Imagemagick +3
NVD GitHub VulDB
EPSS 3% CVSS 9.8
CRITICAL PATCH Act Now

A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

RCE Code Injection Debian +3
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy