CVEfocus › CVE database › CVE-2026-66066

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

CVSS 9.5 CriticalEPSS 2.9% (higher than 88% of CVEs)Published 2026-07-30Updated 2026-08-05Assigner: GitHub_M

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.

CWE-1188

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
5Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10railsFix pendingUBUNTU-CVE-2026-66066
Ubuntu 26.04railsUnder investigationUBUNTU-CVE-2026-66066
Ubuntu 24.04railsUnder investigationUBUNTU-CVE-2026-66066
Ubuntu 22.04railsFix pendingUBUNTU-CVE-2026-66066
Ubuntu 20.04railsFix pendingUBUNTU-CVE-2026-66066
Ubuntu 18.04railsFix pendingUBUNTU-CVE-2026-66066
Ubuntu 16.04railsFix pendingUBUNTU-CVE-2026-66066
Debian 14railsFixed2:7.2.3.2+dfsg-1DEBIAN-CVE-2026-66066
Debian 13railsFixed2:7.2.2.2+dfsg-2~deb13u2DEBIAN-CVE-2026-66066
Debian 12railsFixed2:6.1.7.10+dfsg-1~deb12u3DEBIAN-CVE-2026-66066
RubyGems libraryactivestorageFixed8.0.5.1GHSA-xr9x-r78c-5hrm

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.