CVE-2026-66066
Fixed in a distro release EPSS 27%CVSS 9.5
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.
Products: rails
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| RubyGems | activestorage | 7.2.3.2 |
| RubyGems | activestorage | 8.0.5.1 |
| RubyGems | activestorage | 8.1.3.1 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | gitlab-rails-ce-18.1 | no fix |
| Chainguard | gitlab-rails-ce-18.10 | 18.10.8-r6 |
| Chainguard | gitlab-rails-ce-18.11 | 18.11.8-r0 |
| Chainguard | gitlab-rails-ce-18.6 | no fix |
| Chainguard | gitlab-rails-ce-18.7 | no fix |
| Chainguard | gitlab-rails-ce-18.8 | 18.8.11-r4 |
| Chainguard | gitlab-rails-ce-18.9 | 18.9.8-r7 |
| Chainguard | gitlab-rails-ce-19.0 | 19.0.5-r0 |
| Chainguard | gitlab-rails-ce-fips-18.1 | no fix |
| Chainguard | gitlab-rails-ce-fips-18.10 | 18.10.8-r7 |
| Chainguard | gitlab-rails-ce-fips-18.11 | 18.11.8-r0 |
| Chainguard | gitlab-rails-ce-fips-18.6 | no fix |
| Chainguard | gitlab-rails-ce-fips-18.7 | no fix |
| Chainguard | gitlab-rails-ce-fips-18.8 | no fix |
| Chainguard | gitlab-rails-ce-fips-19.0 | 19.0.4-r9 |
| Chainguard | gitlab-rails-ce-fips-19.2 | 19.2.1-r0 |
| Chainguard | pghero | 3.8.0-r3 |
| Chainguard | pghero-fips | 3.8.0-r3 |
| Chainguard | ruby3.3-rails-8.0 | 8.0.5.1-r0 |
| Debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u3 |
| Debian 13 | rails | 2:7.2.2.2+dfsg-2~deb13u2 |
| Debian 14 | rails | 2:7.2.3.2+dfsg-1 |
| SUSE Linux Enterprise High Availability Extension 16.0 | hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 |
| Ubuntu 24.04 LTS | rails | no fix |
| Ubuntu 26.04 LTS | rails | no fix |
| Ubuntu 26.10 | rails | no fix |
| Ubuntu Pro 16.04 LTS | rails | no fix |
| Ubuntu Pro 18.04 LTS | rails | no fix |
| Ubuntu Pro 20.04 LTS | rails | no fix |
| Ubuntu Pro 22.04 LTS | rails | no fix |
| openSUSE Leap 16.0 | hawk2 | 2.7.2+git.1788518533.7d4dadd6-160000.1.1 |
| openSUSE Tumbleweed | hawk2 | 2.7.2+git.1792148770.648dcddb-1.1 |