CVE-2026-66066

NameCVE-2026-66066
DescriptionAction 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1143080

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)bullseye2:6.0.3.7+dfsg-2+deb11u2vulnerable
bullseye (security)2:6.0.3.7+dfsg-2+deb11u5vulnerable
bookworm, bookworm (security)2:6.1.7.10+dfsg-1~deb12u2vulnerable
trixie, trixie (security)2:7.2.2.2+dfsg-2~deb13u1vulnerable
forky, sid2:7.2.3.2+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssource(unstable)2:7.2.3.2+dfsg-11143080

Notes

https://github.com/rails/rails/security/advisories/GHSA-xr9x-r78c-5hrm
Fixed by: https://github.com/rails/rails/commit/d79b7f4aa17dec8ce4960fef05733c8c0c7ef49a (v7.2.3.2)
https://discuss.rubyonrails.org/t/cve-2026-66066-attack-details-and-tools-to-perform-a-forensic-investigation/91441
https://github.com/rails/rails-forensics-CVE-2026-66066

Search for package or bug name: Reporting problems