9.5

CVE-2026-66066: Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing

Awaiting analysis
AliasesUBUNTU-CVE-2026-66066DEBIAN-CVE-2026-66066CGA-22cc-pwvw-h3c8
Published 30-07-2026Last modified 05-08-2026

Vulnerability summary

CVE-2026-66066 is a critical (CVSS 9.5) vulnerability in rails. EPSS estimates a 32.90% chance of exploitation in the next 30 days, higher than 98.3% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 29-07-2026)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.5/10
010
Critical · v4.0 (CVE.org)
EPSS score
32.90%
0%100%
High · +2.83 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, metasploit

Advisory lineage

Upstream 0 · Downstream 9 · Related 8

Timeline

  1. 30-07-2026
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

32.90%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

Increase +2.83 pp

From 30.07% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Rails Forensics Cve 2026 66066

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    Ruby on Rails Active Storage Vips Arbitrary File Read and Remote Code Execution

    exploit/multi/http/rails_activestorage_vips_rce

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard19 products
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10< 18.10.8-r6
  • gitlab-rails-ce-18.11< 18.11.8-r0
  • gitlab-rails-ce-18.6All versions (No fix recorded)
  • gitlab-rails-ce-18.7All versions (No fix recorded)
Debian1 product
  • rails< 2:6.1.7.10+dfsg-1~deb12u3 | < 2:7.2.2.2+dfsg-2~deb13u2 | < 2:7.2.3.2+dfsg-1
Rails1 product
  • rails< 7.2.3.2 | ≥ 8.0.0.beta1, < 8.0.5.1 | ≥ 8.1.0.beta1, < 8.1.3.1
RubyGems1 product
  • activestorage< 7.2.3.2 | ≥ 8.0.0.beta1, < 8.0.5.1 | ≥ 8.1.0.beta1, < 8.1.3.1
Ubuntu1 product
  • railsAll versions (No fix recorded)

5 vendors · 23 products

References

20 links
Show all 20 references