CVE-2026-66066rails
Critical 9.5 No auth needed
Follow: this CVE · rails · rails We alert you by email or Slack (account required).
- Priority
- 72
- CVSS 4.0
- 9.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 30, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1188
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | activestorage |
< 7.2.3.2 |
7.2.3.2 |
gem "activestorage", ">= 7.2.3.2" |
| RubyGems | activestorage |
≥ 8.0.0.beta1 < 8.0.5.1 |
8.0.5.1 |
gem "activestorage", ">= 8.0.5.1" |
| RubyGems | activestorage |
≥ 8.1.0.beta1 < 8.1.3.1 |
8.1.3.1 |
gem "activestorage", ">= 8.1.3.1" |
Per OSV / GitHub Advisories (GHSA-xr9x-r78c-5hrm). Check the version in your lockfile before upgrading.
Affected products
- rails · rails
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24712-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24722-1 · Nov 6, 2026 Critical
- Security update for hawk-apiserver, hawk2 · SUSE · openSUSE-SU-2026:22305-1 · Nov 6, 2026 Critical
Also: SUSE (+4)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.