Rapid7Jonah Burgess
CVE-2026-66066 flaw lets attackers read files in Ruby on Rails
Part of the CVE-2026-66066 story · since 30 Jul
- Thu 30 Jul, 04:31 UTC. SecurityOnline, first report. Critical Rails flaw exposes files, risks RCE via CVE-2026-66066.
- Thu 30 Jul, 16:59 UTC. Rapid7, its first report on the story. Critical Ruby on Rails Bug Exposes Files via Image Upload.
- Sat 1 Aug, 11:25 UTC. SecurityOnline. CVE-2026-66066: Rails Active Storage RCE Exploit Code Now Public.
- Sat 1 Aug, 11:25 UTC. SecurityWeek, its first report on the story. Ruby on Rails Patches Critical Vulnerability.
- Mon 3 Aug, 07:26 UTC. Security Affairs, its first report on the story. Ruby on Rails fixes critical Active Storage bug CVE-2026-66066.
- Mon 3 Aug, 19:21 UTC. Rapid7. CVE-2026-66066 flaw lets attackers read files in Ruby on Rails. This article, 6th of 7.
- Mon 31 Aug, 11:29 UTC. SecurityWeek. CVE-2026-66066 Ruby on Rails Flaw Triggers Remote Code Execution.
The article from Rapid7 discusses the security vulnerability CVE-2026-66066 affecting Ruby on Rails applications that use Active Storage with the Vips image processor, enabling arbitrary file reads. It highlights that versions below 7.2.3.2, between 8.0 and 8.0.5.1, and between 8.1 and 8.1.3.1 are affected. The vulnerability arises when an attacker can upload files with manipulated content types leading to the potential for remote code execution (RCE).
The article provides a detailed analysis of how an attacker can exploit this weakness, reproducing the attack chain across different Rails versions, and notes how recent patches work by blocking unsafe operations in the Vips library. Furthermore, the article discusses the steps for remediation, emphasizing the importance of keeping dependencies updated.
How the story developed
7 articles from 4 outlets since 30 Jul. Quiet since 31 Aug. This was the 6th report, 5 days after the first.
- Thu 30 Jul, 04:31 UTC. SecurityOnline, first report. Critical Rails flaw exposes files, risks RCE via CVE-2026-66066.
- Thu 30 Jul, 16:59 UTC. Rapid7, its first report on the story. Critical Ruby on Rails Bug Exposes Files via Image Upload.
- Sat 1 Aug, 11:25 UTC. SecurityOnline. CVE-2026-66066: Rails Active Storage RCE Exploit Code Now Public.
- Sat 1 Aug, 11:25 UTC. SecurityWeek, its first report on the story. Ruby on Rails Patches Critical Vulnerability.
- Mon 3 Aug, 07:26 UTC. Security Affairs, its first report on the story. Ruby on Rails fixes critical Active Storage bug CVE-2026-66066.
- Mon 3 Aug, 19:21 UTC. Rapid7. CVE-2026-66066 flaw lets attackers read files in Ruby on Rails. This article, 6th of 7.
- Mon 31 Aug, 11:29 UTC. SecurityWeek. CVE-2026-66066 Ruby on Rails Flaw Triggers Remote Code Execution.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
- Quiet time, folded
Show all 7 articles as a listHide the list
- Thu 30 JulDay 02
- Critical Rails flaw exposes files, risks RCE via CVE-2026-6606604:31 · SecurityOnline · First report
Quiet for 2 days
Sat 1 AugDay 22- CVE-2026-66066: Rails Active Storage RCE Exploit Code Now Public11:25 · SecurityOnline
- Ruby on Rails Patches Critical Vulnerability11:25 · SecurityWeek
Quiet for 2 days
Mon 3 AugDay 42- Ruby on Rails fixes critical Active Storage bug CVE-2026-6606607:26 · Security Affairs
- CVE-2026-66066 flaw lets attackers read files in Ruby on Rails19:21 · Rapid7 · This article, 6th of 7
Quiet for 4 weeks
Mon 31 AugDay 321- CVE-2026-66066 Ruby on Rails Flaw Triggers Remote Code Execution11:29 · SecurityWeek · Picked up again