CVE-2026-66066
Published:July 30, 2026
Updated:August 03, 2026
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.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0 <v8.1.3.1Fix Suggestion:
Update to version v8.1.3.1https://github.com/rails/rails.git (GITHUB):
Affected version(s) =v7.2.3.1 <v7.2.3.2Fix Suggestion:
Update to version v7.2.3.2https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5.1Fix Suggestion:
Update to version v8.0.5.1activestorage (RUBY):
Affected version(s) >=0.1 <7.2.3.2Fix Suggestion:
Update to version 7.2.3.2activestorage (RUBY):
Affected version(s) >=8.1.0 <8.1.3.1Fix Suggestion:
Update to version 8.1.3.1activestorage (RUBY):
Affected version(s) >=8.0.0 <8.0.5.1Fix Suggestion:
Update to version 8.0.5.1Related Resources (16)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
10
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Initialization of a Resource with an Insecure Default
EPSS
Base Score:
1.70