CVE Tools

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.

Check it yourself

OpenVAS · 6 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.157581

Run the check

Published Updated Sources: CVE.org, NVD

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
  1. Check whether your Rails app uses Active Storage for image uploads and whether the app is configured to use libvips for variant processing.
  2. Check your Rails version and record it for your IT/vendor (the fix version is not confirmed in the provided findings).
  3. 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.
  4. 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.
  5. 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 publishers
  1. Hackers began actively exploiting CVE-2026-66066 (KindaRails2Shell) in Ruby on Rails, a critical vulnerability enabling unauthenticated remote code execution via libvips image processing flaws.

    ·SecurityWeek summary
  2. Critical Ruby on Rails vulnerability (CVE-2026-66066) allows arbitrary file read and remote code execution via image processing library.

    ·Хакер (xakep.ru) summary
  3. Ruby on Rails releases advisory for arbitrary file read vulnerability (CVE-2026-66066).

    ·Rapid7 Blog summary

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 record

CVE-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.

EPSS98th
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.

  1. EPSS band changelow → moderate
  2. EPSS band change0 → moderateepss band change
  3. EPSS band changemoderate → low
  4. EPSS band changemoderate → low
  5. EPSS band changemoderate → low
  6. EPSS band changemoderate → 0epss band change

Affected products

Technical detail

Sources

References in the record

And 10 more references. See all after sign-in

Analysis on the cve.tools blog

In the news

All news

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.