What's Happening?
Ruby on Rails has released patches to address a critical vulnerability that could allow unauthenticated attackers to achieve remote code execution (RCE). The vulnerability, tracked as CVE-2026-66066 with a CVSS score of 9.5, involves an arbitrary file
read that potentially exposes secrets, enabling remote attackers to execute code or move laterally to other systems. The issue affects applications using the libvips library for Active Storage image processing and those allowing image uploads from untrusted users. The vulnerability arises because libvips marks some file read and write operations as 'unfuzzed,' which are unsafe for untrusted content, and Active Storage did not disable these operations. Ruby on Rails has patched the vulnerability in Active Storage versions 7.2.3.2, 8.0.5.1, and 8.1.3.1, and advises users to update their deployments and libvips to at least version 8.13.
Why It's Important?
The patching of this vulnerability is crucial for maintaining the security of web applications built using Ruby on Rails, a popular framework for developing full-stack web applications and APIs. The ability for attackers to execute remote code could lead to significant security breaches, including unauthorized access to sensitive data and potential lateral movement within networks. By addressing this vulnerability, Ruby on Rails helps protect organizations from potential data exfiltration and other cyber threats. The advisory also highlights the importance of regularly updating software components to mitigate risks associated with known vulnerabilities. Organizations using Ruby on Rails must act promptly to update their systems to prevent exploitation.
What's Next?
Users of Ruby on Rails are advised to update their deployments immediately to the patched versions of Active Storage and libvips to close the vulnerability. Additionally, affected applications should treat every secret readable by the application process as potentially exposed and change them accordingly. While there is currently no evidence of exploitation in the wild, cybersecurity firms and users should remain vigilant for any signs of attempted attacks. Continuous monitoring and updating of security measures will be essential to safeguard against future vulnerabilities.











