Skip to content

Ruby on Rails

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

CVE-2026-66066Published 30 Jul 2026, 18:32 UTC

Real-world risk

4.5/ 10Medium

Schedule in the normal cycle

If the vulnerable configuration applies to you: 10.0

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.5

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Ruby on RailsWidespread< 7.2.3.2; >= 8.0.0.beta1, < 8.0.5.1; >= 8.1.0.beta1, < 8.1.3.17.2.3.2, 8.0.5.1, 8.1.3.1

What to do

Update to a fixed version: 7.2.3.2, 8.0.5.1, 8.1.3.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Metasploit module (link)
  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 32.9% chance of exploitation in 30 days (percentile 98), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T4: Weaponized1.000
  3. 10 × impact 1 × prerequisites 0.45 × threat 14.500
  4. Rounded to one decimal between 0.1 and 104.5

How the score works

Exploitation and evidence timeline

  1. 30 Jul 2026 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Public proof of concept on GitHub first seen
  4. 3 Dec 2026 Public proof of concept on GitHub first seen
  5. 3 Dec 2026 Public proof of concept on GitHub first seen
  6. 3 Dec 2026 Metasploit module first seen
  7. 3 Dec 2026 Reference tagged as exploit first seen
  8. 3 Dec 2026 CISA SSVC: proof of concept first seen
  9. 3 Dec 2026 Risk 4.5 (cvss fallback)

Weakness

CWE-1188

References

Get alerts for Ruby on Rails

Free email or text alerts when a vulnerability in Ruby on Rails reaches risk 8 or higher. Nothing else.