9.5

CVE-2026-66066: rails

CVSS: 9.5v4.0CriticalAwaiting 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 27.86% chance of exploitation in the next 30 days, higher than 98% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.5/10
010
Critical · v4.0 (CVE.org)
EPSS score
27.86%
0%100%
High · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, metasploit

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

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

27.86%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

0.00 pp

From 27.86% on 20-09-2026

20-09-202620-10-2026
EPSS score
27.86%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

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

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