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.
Published: 2026-07-30
Score: 9.5 Critical
EPSS: 1.8% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Action Pack allows handling of web requests. Prior to specific releases, Active Storage still permits libvips operations that are marked unsafe for untrusted content. A crafted upload can trigger those operations, enabling an attacker who does not need authentication to read any file that the Rails process can access, such as environment variables or application secrets. Exposure of secrets like secret_key_base or external‑service tokens can lead to remote code execution or lateral movement. The weakness is a classic case of improper restriction of operations on untrusted input, corresponding to CWE‑1188.

Affected Systems

Rails applications built on the Action Pack framework with libvips configured to process image uploads. Versions before 7.2.3.2, 8.0.5.1 and 8.1.3.1 are affected. Upgrading to the listed releases or any later version therefore mitigates the issue.

Risk and Exploitability

The CVSS score of 9.5 indicates critical severity. An EPSS score of 2% shows that the exploit is currently considered likely enough to be of concern. Although the vulnerability is not in the CISA KEV catalog, the risk is real for any application accepting file uploads from untrusted users. The attack vector is an unauthenticated image upload that triggers an unsafe libvips operation, resulting in unauthorized file read and potentially life‑changing credential exposure.

Generated by OpenCVE AI on August 2, 2026 at 05:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Rails to at least 7.2.3.2, 8.0.5.1 or 8.1.3.1 where the unsafe libvips operations are disabled.
  • Reconfigure Active Storage to remove or disable libvips processing for untrusted uploads, or use a safe image processing alternative.
  • Enforce strict validation of all uploaded images, accept only trusted source uploads, and immediately rotate any secrets that may have been exposed.

Generated by OpenCVE AI on August 2, 2026 at 05:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xr9x-r78c-5hrm Active Storage has possible arbitrary file read and remote code execution in Active Storage variant processing
History

Wed, 05 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 01 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-434
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L'}

threat_severity

Important


Thu, 30 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Rails
Rails rails
Vendors & Products Rails
Rails rails

Thu, 30 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing
Weaknesses CWE-1188
References
Metrics cvssV4_0

{'score': 9.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T13:46:21.375Z

Reserved: 2026-07-23T23:25:28.897Z

Link: CVE-2026-66066

cve-icon Vulnrichment

Updated: 2026-08-01T06:50:02.396Z

cve-icon NVD

Status : Received

Published: 2026-07-30T19:18:35.843

Modified: 2026-08-05T15:17:03.507

Link: CVE-2026-66066

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-30T18:32:11Z

Links: CVE-2026-66066 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T05:15:15Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-434

    Unrestricted Upload of File with Dangerous Type