Skip to content
skopnix
Dossier · Vulnerability

Vulnerability · NVD published 2026-07-30

CVE-2026-66066

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.

  1. First PoC
  2. 27 days →Metasploit

Signals

Exploited in the wild
Not on KEVNot in CISA's catalogue as of the last daily pull. Absence is not proof of safety.
EPSS · 30-day forecast
28%Chance of exploitation in the next 30 days, 98th percentile of all CVEs. A forecast; KEV outranks it.
CVSS · NVD
not stated by sourcesNo score published by NVD.
Internet exposure
not stated by sourcesNo exposure census on this CVE's dispatches.

Exploits

8 known · links only

GitHub PoCs · by trust, then stars7

  1. ★ 30 · created 2026-07-30

  2. PoC for CVE-2026-66066 in Ruby on Rails

    ★ 23 · created 2026-07-29

  3. CVE-2026-66066 (KindaRails2Shell) PoC - Rails Active Storage/libvips arbitrary file read to RCE; for authorized security testing

    ★ 4 · created 2026-08-03

  4. CVE-2026-66066 + File Read, RCE, Scanner, Lab

    ★ 3 · created 2026-07-31

  5. CVE-2026-66066

    ★ 1 · created 2026-07-29

  6. CVE-2026-66066 — KindaRails2Shell: Rails Active Storage/libvips Arbitrary File Read → RCE. MATLAB/HDF5 dual-identity file → SECRET_KEY_BASE theft → forged variation. CVSS 9.5 | Rails < 8.1.3.1

    ★ 1 · created 2026-08-04

  7. ★ 0 · created 2026-09-10

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module exploits CVE-2026-66066 in Ruby on Rails Active Storage when the application uses the Vips variant processor and accepts untrusted image uploads. A crafted MATLAB v7.3/HDF5 image uses external storage to read text files accessible to the Rails worker through a PNG representation response. The module recovers secret_key_base from the process environment, Rails local secrets, encrypted credentials, or the legacy secrets.yml(.enc) files

    ruby · seen 2026-10-18

On the wire

1 dispatch
  1. Rapid7 Analysis: KindaRails2Shell (CVE-2026-66066)VULN

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Check your stack

Paste what you run: the CVEs exploited in the wild against it, and who is cited as exploiting them, with the report.

Stack checkNo key. No signup.