cybersecuritynews.comยท4 november 2026

Critical Ruby on Rails Flaw Could Let Hackers Steal Server Secrets Through Malicious Image Uploads

Image for the article: Critical Ruby on Rails Flaw Could Let Hackers Steal Server Secrets Through Malicious Image Uploads
Image via cybersecuritynews.com

A critical flaw in Ruby on Rails Active Storage allows unauthenticated users to upload crafted images and make the server write or read files. The Rails team rated the bug Critical with a CVSS score of 9.8, and published the advisory on November 4, 2026. The flaw affects apps using ImageMagick through MiniMagick and accepting uploads from untrusted users. Affected versions are activestorage before 8.0.5.2 and 8.1 releases before 8.1.4.1. The fix includes an ImageMagick security policy that blocks dangerous coders and delegates.