rails · Ruby on Rails · published 2026-07-30
CVE-2026-66066Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing
This week EPSS 33% chance of exploitation in 30 days, with critical impact.
CVE-2026-66066 has a public proof-of-concept exploit, but no confirmed exploitation in the wild. EPSS estimates a 32.9% chance of exploitation in the next 30 days, higher than 98% of all CVEs. This Ruby on Rails vulnerability: CVSS 9.5 (v4.0), attacks can be automated, a successful attack gives total control of the component. Fixed upstream in Ruby on Rails 8.1.3.1, 8.0.5.1, 7.2.3.2; patched packages are out for Debian; Ubuntu still has unfixed releases. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Ruby on Rails 8.1.3.1, 8.0.5.1, 7.2.3.2.
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | rails | Fixed in 2:7.2.2.2+dfsg-2~deb13u2 |
| 12 bookworm | rails | Fixed in 2:6.1.7.10+dfsg-1~deb12u3 | |
| Ubuntu | 26.04 LTS | rails | No fix yet |
| 24.04 LTS | rails | No fix yet |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Web frameworkRuby on Rails
Ruby on Rails security releases: 8.1.3.1, 8.0.5.1, 7.2.3.2
Upgrade to
8.1.3.18.0.5.17.2.3.2Why: EPSS 33% chance of exploitation in 30 days, with critical impact.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 33% (98th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.5 (v4.0)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | CNA / CISA ADP |
| SSVC exploitation | poc | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Affected versions (from the CVE record)#
- rails rails
< 7.2.3.2(affected)>= 8.0.0.beta1, < 8.0.5.1(affected)>= 8.1.0.beta1, < 8.1.3.1(affected)
Description (from the CVE record)#
Action Pack is a framework for handling and responding to web requests. In versions prior to 7.2.3.2, 8.0.5.1 and 8.1.3.1, Active Storage does not disable libvips operations marked unsafe for untrusted content, allowing a crafted upload to invoke such an operation. Consuming applications are affected when configured to use libvips and accept image uploads from untrusted users. An unauthenticated attacker may exploit this behavior to read arbitrary files accessible to the Rails process, including environment variables and application secrets. Exposure of credentials such as secret_key_base or external-service tokens may enable remote code execution or lateral movement. This issue has been fixed in versions 7.2.3.2, 8.0.5.1 and 8.1.3.1.
Quoted from the CVE Program record.