thehackernews.comยท4 november 2026

Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads

Image for the article: Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads
Image via 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.