Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-66066

activestorage: Active Storage: Remote Code Execution via Unsafe libvips Operations

Overview

Published
30 Jul 2026
Modified
10 Sep 2026
Critical CVE
1 Registry packages
17 OS packages
6 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.9 · CRITICAL

CVSS 3.1 base score, scored by redhat.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L

Weakness: CWE-1188

Affected packages · 1

Packages affected by CVE-2026-66066
EcosystemPackageVulnerableFixed in
RubyGems activestorage <7.2.3.2>=8.0.0.beta1, <8.0.5.1>=8.1.0.beta1, <8.1.3.1 7.2.3.28.0.5.18.1.3.1~> 7.2.3, >= 7.2.3.2~> 8.0.5, >= 8.0.5.1

Open a package to see all its vulnerabilities.

Operating systems · 23 fixes

SUSE Linux Enterprise 2 releases · 3 packages

fixed 4
hawk2 hawk-apiserver python313-pillow
SUSE Linux Enterprise fixes for CVE-2026-66066
ReleasePackageFixed inAdvisory
16.0 hawk2 2.7.2+git.1788518533.7d4dadd6-160000.1.1 SUSE-SU-2026:24195-1
16.1 hawk-apiserver 0.2.4+git.1792406875.6ed758a-160100.1.1 SUSE-SU-2026:24712-1
16.1 python313-pillow +1 11.3.0-160100.3.1 SUSE-SU-2026:24712-1
16.1 hawk2 2.7.2+git.1789128469.a738abc1-160100.1.1 SUSE-SU-2026:24712-1

chainguard 1 release · 10 packages

fixed 10
gitlab-rails-ce-18-10 gitlab-rails-ce-fips-18-10 gitlab-rails-ce-18-11 gitlab-rails-ce-18-8 gitlab-rails-ce-18-9 gitlab-rails-ce-fips-19-0 +4
chainguard fixes for CVE-2026-66066
ReleasePackageFixed in
gitlab-rails-ce-18-10 18.10.8-r6
gitlab-rails-ce-fips-18-10 18.10.8-r7
gitlab-rails-ce-18-11 +1 18.11.8-r0
gitlab-rails-ce-18-8 18.8.11-r4
gitlab-rails-ce-18-9 18.9.8-r7
gitlab-rails-ce-fips-19-0 19.0.4-r9

4 more rows

debian 4 releases · 1 package

affected 1 fixed 3
rails
debian fixes for CVE-2026-66066
ReleasePackageFixed in
11 rails affected
12 rails 2:6.1.7.10+dfsg-1~deb12u3
13 rails 2:7.2.2.2+dfsg-2~deb13u2
14 rails 2:7.2.3.2+dfsg-1

echo 1 release · 1 package

fixed 1
rails
echo fixes for CVE-2026-66066
ReleasePackageFixed in
rails 2:6.1.7.10+dfsg-1~deb12u3

openSUSE 1 release · 1 package

fixed 1
hawk2
openSUSE fixes for CVE-2026-66066
ReleasePackageFixed inAdvisory
Tumbleweed hawk2 2.7.2+git.1792148770.648dcddb-1.1 openSUSE-SU-2026:12153-1

openSUSE Leap 2 releases · 2 packages

fixed 3
hawk2 hawk-apiserver
openSUSE Leap fixes for CVE-2026-66066
ReleasePackageFixed inAdvisory
16.0 hawk2 2.7.2+git.1788518533.7d4dadd6-160000.1.1 openSUSE-SU-2026:22068-1
16.1 hawk-apiserver 0.2.4+git.1792406875.6ed758a-160100.1.1 openSUSE-SU-2026:22305-1
16.1 hawk2 2.7.2+git.1789128469.a738abc1-160100.1.1 openSUSE-SU-2026:22305-1

References

Show all 23 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.