CVE-2026-66066: Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing
Noroxi assessment
Priority: This week (action score 60/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- A ready-made attack tool exists and the flaw can be exploited over the network without an account, so priority is at least “This week”.
- Probability of exploitation in the next 30 days: 26.5% (FIRST EPSS); higher than 98% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: rails (Debian:12) 2:6.1.7.10+dfsg-1~deb12u3; rails (Debian:13) 2:7.2.2.2+dfsg-2~deb13u2; rails (Debian:14) 2:7.2.3.2+dfsg-1.
Don’t wait for the next maintenance window. Upgrade to rails (Debian:12) 2:6.1.7.10+dfsg-1~deb12u3; rails (Debian:13) 2:7.2.2.2+dfsg-2~deb13u2; rails (Debian:14) 2:7.2.3.2+dfsg-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 30, 2026
- Updated
- Sep 10, 2026
- EPSS
- 26.5% · 98th percentile
- CWE
- CWE-1188
Report tools
Action score
60
This week
Don’t wait for the next maintenance window.
- CVSS
- 38 / 40 · 9.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 8 / 30 · 26.5%
- Ready-made attack tool
- 14 / 60 · floor: at least 60
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 9.5
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
rails rails
- < 7.2.3.2, >= 8.0.0.beta1, < 8.0.5.1, >= 8.1.0.beta1, < 8.1.3.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | rails | before 2:6.1.7.10+dfsg-1~deb12u3 | 2:6.1.7.10+dfsg-1~deb12u3 |
| Debian:13 | rails | before 2:7.2.2.2+dfsg-2~deb13u2 | 2:7.2.2.2+dfsg-2~deb13u2 |
| Debian:14 | rails | before 2:7.2.3.2+dfsg-1 | 2:7.2.3.2+dfsg-1 |
| openSUSE:Leap 16.0 | hawk2 | before 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 |
| openSUSE:Tumbleweed | hawk2 | before 2.7.2+git.1792148770.648dcddb-1.1 | 2.7.2+git.1792148770.648dcddb-1.1 |
| RubyGems | activestorage | from 8.0.0.beta1 · before 8.0.5.1 | 8.0.5.1 |
| RubyGems | activestorage | from 8.1.0.beta1 · before 8.1.3.1 | 8.1.3.1 |
| RubyGems | activestorage | before 7.2.3.2 | 7.2.3.2 |
| SUSE:Linux Enterprise High Availability Extension 16.0 | hawk2 | before 2.7.2+git.1788518533.7d4dadd6-160000.1.1 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 |
Same product
rails: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-47889Action Mailer has possible ReDoS vulnerability in block_format26Monitor
- CVE-2024-47888Action Text has possible ReDoS vulnerability in plain_text_for_blockquote_node26Monitor
- CVE-2024-47887Action Controller has possible ReDoS vulnerability in HTTP Token authentication26Monitor
Published before and after this one in the same product
- ← EarlierCVE-2024-41128Oct 16, 2024 · Action Dispatch has possible ReDoS vulnerability in query parameter filtering26Monitor
- ← EarlierCVE-2024-54133Dec 10, 2024 · Possible Content Security Policy bypass in Action Dispatch9Monitor
- ← EarlierCVE-2025-55193Aug 13, 2025 · Active Record logging vulnerable to ANSI escape injection10Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:rails | 2:6.1.7.10+dfsg-1~deb12u3 · Debian:12 | Package registry (OSV) |
| debian:rails | 2:7.2.2.2+dfsg-2~deb13u2 · Debian:13 | Package registry (OSV) |
| debian:rails | 2:7.2.3.2+dfsg-1 · Debian:14 | Package registry (OSV) |
| opensuse:hawk2 | 2.7.2+git.1792148770.648dcddb-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| RubyGems:activestorage | 7.2.3.2 | Package registry (OSV) |
| RubyGems:activestorage | 8.0.5.1 | Package registry (OSV) |
| RubyGems:activestorage | 8.1.3.1 | Package registry (OSV) |
| suse:hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 · SUSE:Linux Enterprise High Availability Extension 16.0 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Proof-of-concept repository on GitHub ×7
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/multi/http/rails_activestorage_vips_rceRuby on Rails Active Storage Vips Arbitrary File Read and Remote Code Executionexploit | 2026-07-29 |
| Proof-of-concept repository on GitHub | stars:1 | 2026-07-29 |
| Proof-of-concept repository on GitHub | stars:23 | 2026-07-29 |
| Proof-of-concept repository on GitHub | stars:30 | 2026-07-30 |
| Proof-of-concept repository on GitHub | stars:5 | 2026-07-31 |
| Proof-of-concept repository on GitHub | stars:4 | 2026-08-03 |
| Proof-of-concept repository on GitHub | stars:1 | 2026-08-04 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-09-10 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-2 d
- Metasploit-2 d
- Published
- TodayOct 29, 2026+90 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-1188 · Initialization of a Resource with an Insecure DefaultCVSS 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
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- github.com/rails/rails/commit/349e7a5d5b4b715af1e416db824f3c078a7d59e5
- github.com/rails/rails/commit/d79b7f4aa17dec8ce4960fef05733c8c0c7ef49a
- github.com/rails/rails/releases/tag/v7.2.3.2
- github.com/rails/rails/releases/tag/v8.0.5.1
- github.com/rails/rails/releases/tag/v8.1.3.1
- github.com/rails/rails/security/advisories/GHSA-xr9x-r78c-5hrm
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-66066.yml
- thehackernews.com/2026/07/critical-rails-flaw-could-let.html
- www.openwall.com/lists/oss-security/2026/07/29/9
- www.openwall.com/lists/oss-security/2026/08/01/6
- ethiack.com/info-hub/research/kindarails2shell-rails-rce-cve-2026-66066
- github.com/rails/rails-forensics-CVE-2026-66066
Vendor advisories and official records. Exploit/PoC links are deliberately left out.