What is 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.
The record classifies CVE-2026-66066 under weakness class CWE-1188. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 84 days ago.
Severity and exploitation probability
- CVSS v4.0 base score
- 9.5 — Critical (derived from score)
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 - EPSS (FIRST)
- 27.8% probability of exploitation in the next 30 days, higher than 98.0% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-07-30, last modified 2026-08-05
Is CVE-2026-66066 being exploited?
Weaponised exploit code for CVE-2026-66066 is publicly available. 8 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 50 in the Threadlinqs vulnerability feed.
- rails/rails-forensics-CVE-2026-66066 (github)
- Zer0SumGam3/CVE-2026-66066-POC (github)
- 0xsha/KindaRails2Shell (github)
- HackSpeak/CVE-2026-66066 (github)
- 0xBlackash/CVE-2026-66066 (github)
- shinthink/CVE-2026-66066 (github)
- ivanesk315/CVE-2026-66066 (github)
- trickest/cve (trickest)
Affected products and versions
- rails: rails
Affected software packages:
rubygems:activestorage— patched in 7.2.3.2rubygems:activestorage— patched in 8.0.5.1rubygems:activestorage— patched in 8.1.3.1
How to fix CVE-2026-66066
Fixed versions are recorded for 3 packages: rubygems:activestorage 7.2.3.2, rubygems:activestorage 8.0.5.1, rubygems:activestorage 8.1.3.1. No vendor patch reference has been recorded for CVE-2026-66066 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2026-66066
1 tracked threat in the Threadlinqs corpus references CVE-2026-66066, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.
Vendor advisory and patch
Other references
- github.com
- github.com (349e7a5d5b4b715af1e416db824f3c078a7d59e5)
- github.com (d79b7f4aa17dec8ce4960fef05733c8c0c7ef49a)
- github.com (v7.2.3)
- github.com (v8.0.5)
Showing 6 of 9 recorded references.