thehackernews.comยท29 july 2026

Critical Rails Flaw Could Let Unauthenticated Attackers Read Server Files via Image Uploads

Image for the article: Critical Rails Flaw Could Let Unauthenticated Attackers Read Server Files via Image Uploads
Image via thehackernews.com

Ruby on Rails patched a critical Active Storage vulnerability (CVE-2026-66066, CVSS 9.5) that could let attackers read arbitrary files and expose secrets like database passwords and API tokens. The flaw affects Rails 7.0.0 through 7.2.3.1, 8.0.0 through 8.0.5, and 8.1.0 through 8.1.3, with Rails 6.x also at risk if Vips is enabled. Operators should upgrade to Rails 7.2.3.2, 8.0.5.1, or 8.1.3.1 and rotate exposed secrets. A proof-of-concept exploit has been published, demonstrating file-read-to-RCE capabilities.