CVE-2026-66066

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.

Severity
CRITICAL
CVSS v3
not scored
CVSS v4
9.5
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 · source cna
Exploit chance (EPSS)
32.901%
chance of exploitation in the next 30 days
higher than 98.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 1
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impacttotal
Scored2026-08-04

Timeline

  1. 2026-07-30Published by the CNA18:32 UTC
  2. 2026-07-30GitHub advisory published (GHSA-xr9x-r78c-5hrm)same day
  3. 2026-08-04CISA SSVC decision recorded5 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-xr9x-r78c-5hrm, affected packages:

PackageVulnerable versionsFixed in
RubyGems activestoragebefore 7.2.3.27.2.3.2
RubyGems activestoragefrom 8.0.0.beta1 before 8.0.5.18.0.5.1
RubyGems activestoragefrom 8.1.0.beta1 before 8.1.3.18.1.3.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
rails rails

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources