Learn about CVE-2026-66066: An arbitrary file read vulnerability in Rails Active Storage. Understand the risks and protect your environment with our virtual patch.

Navigating CVE-2026-66066: Threat details, affected components, and how to stay protected
CVE-2026-66066: What You Need to KnowOn July 29, 2026, Rails released patches and an advisory for CVE-2026-66066, an arbitrary file read vulnerability in Active Storage that can enable remote code execution (RCE)
Exploiting this vulnerability also requires the use of libvips < version 8.13
Fastly Next-Gen WAF customers can enable our new virtual patch (released July 31, 2026) to gain immediate protection against exploitation attempts while the underlying components are patched.
Affected components
Active Storage
< 7.2.3.2, 8.0 up to 8.0.5.1, 8.1 up to 8.1.3.1
Mitigating this vulnerability requires updating both Active Storage and libvips
Active Storage
>= 7.2.3.2, >= 8.0.5.1, >= 8.1.3.1
libvips
>= 8.13
CVE-2026-66066 is an arbitrary file read vulnerability, meaning it enables an attacker to read arbitrary files (and process memory) from a vulnerable web server. If certain files are read, an attacker can use this to gain remote code execution on the vulnerable server. For more in-depth details on the exact cause of the vulnerability, see Ethiack’s detailed research post.
What to do next: Virtual patching and remediationWhile our virtual patch mitigates the vast majority of attack vectors, edge cases may exist depending on your specific environment and configuration. Applying the official patches to Active Storage and libvips as soon as possible remains the best way to ensure total protection.
To enable the virtual patch, follow the enablement instructions in our official documentation.
If you are concerned about potential exploitation, Rails has also published details on how to perform forensics for this vulnerability. This includes a forensics repo with Claude skills to assist in forensics.
ReferencesRails advisory & technical details:
Research from Ethiack:
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Rocky Linux ruby Important Security Fix Denial of Service CVE-2026-42245 | 0 | 5 | 01-07-2026 |
| 2 | Rocky Linux RLSA-2026-33515 Ruby Important Denial of Service Threats | 0 | 5 | 30-06-2026 |
| 3 | SUSE Python-Lxml Moderate Local File Read Threat Update 2026-2728-1 | 0 | 5 | 03-07-2026 |
| 4 | CVE-2026-46333: Local Root Privilege Escalation and Credential Disclosure in the Linux Kernel ptrace Path | 0 | 7.54 | 20-05-2026 |
| 5 | CVE-2026-34486: Apache Tomcat Tribes Unauthenticated RCE | 0 | 7.47 | 25-08-2026 |
| 6 | Oracle Security Alert for CVE-2026-21992 - 19 March 2026 | 0 | 32.22 | 20-03-2026 |
| 7 | Oracle Critical Patch Update Advisory - April 2026 | 0 | 22.5 | 21-04-2026 |
| 8 | From tool procurement to platform architecture: Rethinking the SOC for machine-speed threats | 0 | 16.79 | 27-07-2026 |
| 9 | Мониторинг модулей ядра и защита от Dirty-уязвимостей с помощью Wazuh | 0 | 7 | 14-07-2026 |
| 10 | Závažná zranitelnost WordPressu XSS2Shell | 0 | 15.28 | 07-08-2026 |