rails · Ruby on Rails · published 2026-07-30

CVE-2026-66066Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing

This week EPSS 33% chance of exploitation in 30 days, with critical impact.

CVE-2026-66066 has a public proof-of-concept exploit, but no confirmed exploitation in the wild. EPSS estimates a 32.9% chance of exploitation in the next 30 days, higher than 98% of all CVEs. This Ruby on Rails vulnerability: CVSS 9.5 (v4.0), attacks can be automated, a successful attack gives total control of the component. Fixed upstream in Ruby on Rails 8.1.3.1, 8.0.5.1, 7.2.3.2; patched packages are out for Debian; Ubuntu still has unfixed releases. Patch this week.

Share this

Remediation#

Fixed upstream in Ruby on Rails 8.1.3.1, 8.0.5.1, 7.2.3.2.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixierailsFixed in 2:7.2.2.2+dfsg-2~deb13u2
12 bookwormrailsFixed in 2:6.1.7.10+dfsg-1~deb12u3
Ubuntu26.04 LTSrailsNo fix yet
24.04 LTSrailsNo fix yet

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This weekSecurity release

    Web frameworkRuby on Rails

    Ruby on Rails security releases: 8.1.3.1, 8.0.5.1, 7.2.3.2

    Upgrade to 8.1.3.18.0.5.17.2.3.2

    Why: EPSS 33% chance of exploitation in 30 days, with critical impact.

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)33% (98th pct)FIRST EPSS v2026.06.15
CVSS base score9.5 (v4.0)
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
CNA / CISA ADP
SSVC exploitationpocCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →