{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-66066","id":"CVE-2026-66066","title":"Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing","description":"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 a","descriptionLong":"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":"2026-07-30T18:32:11.419Z","updated":"2026-11-15T17:28:02.586617347Z","reserved":"2026-07-23T23:25:28.897Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9.5,"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","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9.5,"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","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9.5,"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","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":["rails"],"affectedProducts":[{"vendor":"rails","product":"rails","defaultStatus":null,"versions":[{"version":"< 7.2.3.2","status":"affected"},{"version":">= 8.0.0.beta1, < 8.0.5.1","status":"affected"},{"version":">= 8.1.0.beta1, < 8.1.3.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activestorage","purl":"pkg:gem/activestorage","ranges":["<7.2.3.2",">=8.0.0.beta1 <8.0.5.1",">=8.1.0.beta1 <8.1.3.1"],"fixed":["7.2.3.2","8.0.5.1","8.1.3.1"],"advisory":"GHSA-xr9x-r78c-5hrm"}],"cwes":["CWE-1188"],"aliases":["GHSA-xr9x-r78c-5hrm"],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-xr9x-r78c-5hrm","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/rails/rails/commit/1c01bb587206ee6eb0e1179c2cef96a6a47acb1e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/rails/rails/commit/349e7a5d5b4b715af1e416db824f3c078a7d59e5","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/rails/rails/commit/d79b7f4aa17dec8ce4960fef05733c8c0c7ef49a","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.5.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.3.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-66066.yml","tags":["x_refsource_MISC","advisory","web"]},{"url":"https://thehackernews.com/2026/07/critical-rails-flaw-could-let.html","tags":["x_refsource_MISC","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/29/9","tags":["web"]},{"url":"https://ethiack.com/info-hub/research/kindarails2shell-rails-rce-cve-2026-66066","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/01/6","tags":["web"]},{"url":"https://github.com/rails/rails-forensics-CVE-2026-66066","tags":["exploit","evidence"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66066.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66066","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-66066","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.32901,"epssPercentile":0.98389,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-66066","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66066","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-66066","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xr9x-r78c-5hrm","ok":true,"note":"GHSA-xr9x-r78c-5hrm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-66066","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":["CVSS 9.5 in a widely used technology","EPSS 33% with CVSS 9.5"],"attention":null}