discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.
Featured

Rails patches critical Active Storage flaw with RCE potential

A critical vulnerability in the Active Storage framework can allow an unauthenticated attacker to read arbitrary files from a Rails application, and potentially escalate to remote code execution (RCE).

By Bill Toulas·Aug 1·bleepingcomputer.com·3 min read

Intelligence analysis by Llama

Rails patches critical Active Storage flaw with RCE potential
Image: bleepingcomputer.com

Rails has patched a critical vulnerability in Active Storage that could allow an attacker to read arbitrary files and potentially execute code remotely. The vulnerability affects Active Storage before 7.2.3.2, 8.0.x before 8.0.5.1, and 8.1.x before 8.1.3.1.

Why it matters

This vulnerability is critical because it could allow an attacker to read arbitrary files and potentially execute code remotely, giving them access to sensitive information and potentially leading to a breach.

Imagine you have a website that lets people upload pictures. If someone finds a way to trick the website into showing them a secret picture, they might be able to see some private information. This is like a digital key that unlocks a secret door. If someone finds the key, they can open the door and see what's inside. The people who made the website are trying to fix this problem so that no one can see the secret information.

Analysis

A Critical Vulnerability in Active Storage

A critical vulnerability in the Active Storage framework has been patched by Rails. This vulnerability, identified as CVE-2026-66066, can allow an unauthenticated attacker to read arbitrary files from a Rails application, and potentially escalate to remote code execution (RCE).

Active Storage is a built-in component of the Rails framework that handles file uploads and attachments. It uses image processing libraries such as libvips or ImageMagick to generate image thumbnails from uploaded media. However, when libvips is used, an attacker can upload a specially crafted image to a vulnerable application and read arbitrary files on the server.

The vulnerability is exploitable when libvips is used, and the server allows image uploads from untrusted users. If these requirements are met, an attacker may access app files, including the process environment, which typically contains ‘secret_key_base’ and credentials for databases, cloud storage, and other services.

CVE-2026-66066 impacts Active Storage before 7.2.3.2, 8.0.x before 8.0.5.1, and 8.1.x before 8.1.3.1. Rails 6.x is only affected if Active Storage has been configured outside its defaults.

The Rails team recommends upgrading to libvips 8.13 or later and rotating the ‘secret_key_base’ (the Rails master key), database credentials, Active Storage service credentials, and any other secrets accessible to the application process. For systems running libvips 8.13 or later, administrators can temporarily disable the vulnerable functionality by setting the VIPS_BLOCK_UNTRUSTED environment variable or calling Vips.block_untrusted(true) when using ruby-vips 2.2.1 or newer.

There is no workaround available for apps that use libvips before 8.13. ImageMagick users are not affected by this vector. However, libvips is the default processor in the official Rails Docker images, and also Debian and Ubuntu setups.

The Rails team said it has intentionally withheld technical details for the vulnerability to reduce the risk of exploitation before users have time to apply the updates. Full technical details were initially scheduled to be disclosed on August 28 on the Rails forums. However, because public proof-of-concept (PoC) exploits became available very quickly, the maintainers decided to publish the full details as well as forensic investigation tooling.

The vulnerability was discovered and responsibly reported to the Rails team by researchers from Ethiack and GMO Flatt Security Inc. Security firm Akamai has also published a warning about CVE-2026-66066, naming the attack chain “KindaRails2Shell,” and warning about its RCE potential.

“With the secret_key_base compromised, the attacker holds the master cryptographic key to the application,” explains Akamai. “They can forge session cookies, sign global IDs, and manipulate serialized data, which directly translates into full RCE on the underlying server.”

Akamai says it coordinated with Ethiack before public disclosure to prepare protections for customers, and has now released web application firewall (WAF) protections. Ethiack noted that a WAF might buy admins some time, but attackers using AI tooling should be able to reconstruct the attack chain based on the patch diffs.

Test every layer before attackers do

Security teams log 54% of successful attacks and alert on just 14%. The rest move through your environment unseen. The Picus whitepaper shows how breach and attack simulation tests your SIEM and EDR rules so threats stop slipping by detection. Get the whitepaper

Key points

  • A critical vulnerability in Active Storage has been patched by Rails.
  • The vulnerability can allow an unauthenticated attacker to read arbitrary files from a Rails application and potentially escalate to remote code execution (RCE).
  • CVE-2026-66066 impacts Active Storage before 7.2.3.2, 8.0.x before 8.0.5.1, and 8.1.x before 8.1.3.1.
  • The Rails team recommends upgrading to libvips 8.13 or later and rotating the ‘secret_key_base’ (the Rails master key), database credentials, Active Storage service credentials, and any other secrets accessible to the application process.
  • Security firm Akamai has released web application firewall (WAF) protections to help customers defend against this type of attack.
The Upside

The Rails team has patched the vulnerability and provided guidance on how to upgrade and secure the application. This should help prevent attacks and protect sensitive information. Additionally, security firms like Akamai have released web application firewall (WAF) protections to help customers defend against this type of attack.

The Downside

The vulnerability was discovered and exploited quickly, which means that attackers may have already found ways to exploit it. This could lead to a breach of sensitive information and potentially allow attackers to execute code remotely. Additionally, the fact that public proof-of-concept (PoC) exploits became available very quickly means that attackers may be able to reconstruct the attack chain based on the patch diffs.

Originally reported at

bleepingcomputer.com

Discernion covers the story. Read the full piece at the source.

Tagssecurityvulnerabilityrailsactive-storagelibvipsimage-magickremote-code-executionrce

Author

Bill Toulas

Intelligence analysis by

Llama

Published

Aug 1, 2026

Source

bleepingcomputer.com

Share

Topics

securityvulnerabilityrailsactive-storagelibvipsimage-magickremote-code-executionrce

Related

More from this desk

Aug 1·thehackernews.com

Coldcard Hardware Wallet Flaw Linked to $70 Million Bitcoin Theft in 41 Minutes

A vulnerability in the Coldcard hardware wallet has been linked to a $70 million Bitcoin theft. The flaw was caused by a firmware integration error that routed seed generation to a deterministic software pseudorandom number generator instead of the STM32 hardware random n…

Aug 1·thehackernews.com

Hackers Poison Adform Script to Swap Crypto Wallet Addresses Across Customer Sites

Hackers modified a JavaScript file served by Adform, turning it into a browser-side tool that rewrites cryptocurrency wallet addresses. Adform detected the incident on July 27, 2026, removed the malicious code, notified affected clients, and reported it to authorities.

Aug 1·thehackernews.com

Adobe Campaign Classic CVSS 10.0 Flaw Could Run Code Without User Interaction

Adobe has released security updates to address a maximum-severity security flaw in Campaign Classic (ACC), its enterprise-focused marketing automation platform, that could result in arbitrary code execution.

Aug 1·thehackernews.com

Hijacked Hotel Wi-Fi Pushes Fake Updates to Deliver Surveillance Malware

A fake browser update served over hijacked hotel Wi-Fi has been used to deliver CornFlake, a remote access trojan (RAT) that can capture webcam images, microphone audio, and keystrokes, Microsoft said in its latest report.