thehackernews.comยท29 july 2026
Critical Rails Flaw Could Let Unauthenticated Attackers Read Server Files via Image Uploads

17:30 UTC on July 29, 2026
Active Storage
cURL
CVE-2025-24293
CVE-2026-66066
Debian
Ethiack
GMO Flatt Security
hdf5
image/png
instance_eval
lateral movement
libmatio
libvips
libvips 8.13
MATLAB/HDF5
MAT v7.3
Rails 6.0.0 through 6.1.7.10
Rails 7.0.0 through 7.2.3.1
Rails 7.2.3.2
Rails 8.0.0 through 8.0.5
Rails 8.0.5.1
Rails 8.1.0 through 8.1.3
Rails 8.1.3
Rails 8.1.3.1
remote code execution
Ruby on Rails
ruby-vips 2.2.1
secret_key_base
The Hacker News
Ubuntu
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.