CVE-2026-66066
Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing
Exploitation likely. EPSS gives it a 30% chance of exploitation in the next 30 days. No fix published yet.
No public exploit knownFixNone yetNo fix or workaround published
e.g. OID 1.3.6.1.4.1.25623.1.0.157581
What to do
No fixed build or workaround is published yet. Limit exposure and watch for a patch.
- RailsAffected: < 7.2.3.2Upgrade to: not statedAffected: >= 8.0.0.beta1, < 8.0.5.1Upgrade to: not statedAffected: >= 8.1.0.beta1, < 8.1.3.1Upgrade to: not statedStated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your Rails app uses Active Storage for image uploads and whether the app is configured to use libvips for variant processing.
- Check your Rails version and record it for your IT/vendor (the fix version is not confirmed in the provided findings).
- If you use Active Storage with untrusted image uploads, temporarily restrict or block image uploads from untrusted users until you can confirm an approved fix/upgrade.
- Contact your Rails/hosting vendor or IT team with CVE-2026-66066 and ask for an upgrade path or hotfix for your specific Rails version.
- Review application logs for suspicious image upload attempts and errors around image processing, and watch for signs of unauthorized access after uploads.
Coverage timeline
6 publishersHackers began actively exploiting CVE-2026-66066 (KindaRails2Shell) in Ruby on Rails, a critical vulnerability enabling unauthenticated remote code execution via libvips image processing flaws.
Critical Ruby on Rails vulnerability (CVE-2026-66066) allows arbitrary file read and remote code execution via image processing library.
Ruby on Rails releases advisory for arbitrary file read vulnerability (CVE-2026-66066).
Sourced from public security reporting — each date is when it was published, not when it happened. 5 further articles named this CVE in wider roundups without reporting it as a distinct event.
What it is
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.
In plain language
Written by AI from the recordCVE-2026-66066 is a Rails issue where a bad image upload could let an attacker read sensitive files—and possibly run code—if your app uses Active Storage with image processing; small businesses should act urgently to confirm your Rails version and image-processing setup.
In Rails (Action Pack / Active Storage variant processing), crafted uploads can trigger unsafe libvips operations for untrusted content (CWE-1188), potentially leading to arbitrary file read and, depending on exposed credentials, remote code execution; no public patch guidance was available in the provided findings.
If you're affected
- Stolen app secrets
- Service takeover via code execution
- Credential theft
- Operational disruption
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
30% chance of exploitation activity in the next 30 days, which ranks it in the 98th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Sustained, driven by wide press coverage.
Lifecycle
21 events over 74 days, from the signal feeds we watch.
- EPSS band changelow → moderate
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → low
- EPSS band changemoderate → low
- EPSS band changemoderate → low
- EPSS band changemoderate → 0epss band change
Affected products
Technical detail
Weaknesses
Sources
References in the record
- github.com/rails/rails/security/advisories/GHSA-xr9x-r78c-5hrm
- github.com/rails/rails/commit/1c01bb587206ee6eb0e1179c2cef96a6a47acb1e
- github.com/rails/rails/commit/349e7a5d5b4b715af1e416db824f3c078a7d59e5
And 10 more references. See all after sign-in
Analysis on the cve.tools blog
- Two Parsers, One File, Zero Agreement: The Attack Surface Behind CVE-2026-66066Here's the question worth asking whenever a framework bolts on "free" image processing: if the web layer checks a file's label, and a native image library checks its bytes, who actually decides what…
- GeoServer's jsonArrayContains Zero-Day: Attackers Moved Faster Than the PatchOn August 12, 2026 at 10:46 UTC, a researcher going by @q1uf3ng posted a message on X describing an unauthenticated SQL injection in GeoServer's jsonArrayContains filter function — and noted that,…
In the news
All news- Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads
- Attackers Exploit Critical Langflow and Rails Flaws in Credential-Probing and C2 Activity
- Critical Ruby on Rails Vulnerability in Attackers’ Crosshairs
- Week in review: Cisco fixes IMC bug, Patch Tuesday forecast, Black Hat USA 2026
- В Ruby on Rails устранили критическую RCE-уязвимость
- Rapid7 Analysis: KindaRails2Shell (CVE-2026-66066)
- ⚡ Weekly Recap: Rogue AI Models, $88M Bitcoin Theft, Water-System Attacks and Dangling DNS Hijacks
- 3rd August – Threat Intelligence Report
- KindaRails2Shell threatens Ruby on Rails apps (CVE-2026-66066)
- Rails patches critical Active Storage flaw with RCE potential
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Rails, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI