thehackernews.comยท4 november 2026
Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads

Active Storage
arbitrary file write
CVE-2026-66066
CVSS
File Upload
GHSA-f3w6-w445-fwh9
GHSA-v924-7rp8-4mxh
GMO Flatt Security
ImageMagick
lateral movement
MiniMagick
MSL
remote code execution
Ruby on Rails
RyotaK
thehackernews.com
A critical flaw in Ruby on Rails (CVE-2024-12345) allows unauthenticated attackers to write arbitrary files on an app's server via crafted uploads processed with ImageMagick. The flaw, rated 9.8 on the CVSS scale, affects apps using ImageMagick for Active Storage image processing and accepting untrusted file uploads. Exploiting the flaw could lead to remote code execution or lateral movement. Rails has released fixes in versions 8.1.4.1 and 8.0.5.2, urging users to upgrade immediately.