CVE Tools

CVE-2026-66066

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

Published: Jul 30, 2026Updated: Sep 10, 2026 Sources: CVE List NVDCWE-1188

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.

In plain language

AI Act now

CVE-2026-66066 is a Rails issue where a bad image upload could let an attacker read sensitive files—and possibly run code—if your app uses Active Storage with image processing; small businesses should act urgently to confirm your Rails version and image-processing setup.

Executive summary

In Rails (Action Pack / Active Storage variant processing), crafted uploads can trigger unsafe libvips operations for untrusted content (CWE-1188), potentially leading to arbitrary file read and, depending on exposed credentials, remote code execution; no public patch guidance was available in the provided findings.

If affected, business impact
Stolen app secretsService takeover via code executionCredential theftOperational disruption

What to do now

  1. Check whether your Rails app uses Active Storage for image uploads and whether the app is configured to use libvips for variant processing.
  2. Check your Rails version and record it for your IT/vendor (the fix version is not confirmed in the provided findings).
  3. If you use Active Storage with untrusted image uploads, temporarily restrict or block image uploads from untrusted users until you can confirm an approved fix/upgrade.
  4. Contact your Rails/hosting vendor or IT team with CVE-2026-66066 and ask for an upgrade path or hotfix for your specific Rails version.
  5. Review application logs for suspicious image upload attempts and errors around image processing, and watch for signs of unauthorized access after uploads.
May need vendor / contractor work

Weaknesses

Affected Products

rails
oss-projectaka rails-html-sanitizer, activestorage

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

References

and 10 more references View all →
12
See all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-66066 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows