CVE-2026-66066 Details
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 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.
A vulnerability in Ruby on Rails Active Storage component allows unauthenticated attackers to read arbitrary files from the server via crafted image uploads. This issue affects Rails applications using libvips for image processing, and accepting uploads from untrusted users. The vulnerability arises because Active Storage does not disable certain libvips operations deemed unsafe for untrusted content. Exploitation can lead to the disclosure of sensitive information such as environment variables and application secrets, including the secret_key_base, which could facilitate remote code execution or unauthorized access to external services.
Upgrade to Ruby on Rails versions 7.2.3.2, 8.0.5.1, or 8.1.3.1. After upgrading, ensure that the minimum version of libvips is 8.13 and, if ruby-vips is installed, that it is version 2.2.1 or later. Additionally, rotate any secrets accessible by the application process, including the secret_key_base, the Rails master key, database credentials, and tokens for third-party services.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1188 | Initialization of a Resource with an Insecure Default | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | CVE Modified | CISA-ADP |
| Aug 1, 2026 | CVE Modified | CVE |
| Jul 31, 2026 | CVE Modified | CVE |
| Jul 30, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | CVE |
| Jul 30, 2026 | New CVE Received | [email protected] |