CVE-2026-66066 — Vulnerability in activestorage — CVE Details
Active Storage has possible arbitrary file read and remote code execution in Active Storage variant processing
Summary
Advisory Timeline
- First published July 30, 2026 (74 days ago).
- Last revised September 10, 2026 — 41 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install activestorage -v 7.2.3.2
gem install activestorage -v 8.1.3.1
gem install activestorage -v 8.0.5.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| activestorage | rubygems | 0.1, 5.2.0, 5.2.0.beta1, 5.2.0.beta2 (+158 more) | 7.2.3.2 |
| activestorage | rubygems | 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1 (+3 more) | 8.1.3.1 |
| activestorage | rubygems | 8.0.0, 8.0.0.1, 8.0.0.beta1, 8.0.0.rc1 (+8 more) | 8.0.5.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1188
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
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
References
- https://github.com/rails/rails/security/advisories/GHSA-xr9x-r78c-5hrmWEB
- https://github.com/rails/rails/commit/1c01bb587206ee6eb0e1179c2cef96a6a47acb1eWEB
- https://github.com/rails/rails/commit/349e7a5d5b4b715af1e416db824f3c078a7d59e5WEB
- https://github.com/rails/rails/commit/d79b7f4aa17dec8ce4960fef05733c8c0c7ef49aWEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rails/rails/releases/tag/v7.2.3.2WEB
- https://github.com/rails/rails/releases/tag/v8.0.5.1WEB
- https://github.com/rails/rails/releases/tag/v8.1.3.1WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-66066.ymlWEB
- https://thehackernews.com/2026/07/critical-rails-flaw-could-let.htmlWEB
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-66066WEB
Frequently Asked Questions
- What is CVE-2026-66066?
- Active Storage has possible arbitrary file read and remote code execution in Active Storage variant processing This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2026-66066?
- CVE-2026-66066 affects activestorage. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-66066 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-24293CRITICAL
Active Storage allowed transformation methods that were potentially unsafe
- CVE-2022-21831CRITICAL
Possible code injection vulnerability in Rails / Active Storage
- CVE-2026-33202MEDIUM
Rails Active Storage has possible glob injection in its DiskService
- CVE-2018-16477MEDIUM
Exposure of Sensitive Information to an Unauthorized Actor in activestorage
- CVE-2024-26144MEDIUM
Rails has possible Sensitive Session Information Leak in Active Storage
- CVE-2026-33173MEDIUM
Rails Active Storage has possible content type bypass via metadata in direct uploads
- CVE-2026-33174MEDIUM
Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range requests
- CVE-2026-33658LOW
Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies