LIVE · cybersecurity feed
Live wire
vulnerabilitycritical

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). [...]

zeroday.news · 6h ago

A critical vulnerability in the Active Storage framework of the Rails web application framework, identified as CVE-2026-66066, could allow an unauthenticated attacker to read arbitrary files and potentially achieve remote code execution (RCE). Rails, an open-source Ruby-based framework, uses Active Storage for handling file uploads and attachments.

The vulnerability is exploitable when Active Storage is configured to use the `libvips` image processing library for generating image thumbnails. Attackers can upload a specially crafted image to a vulnerable application, enabling them to read arbitrary files on the server. A prerequisite for this attack is that the server must permit image uploads from untrusted users. If these conditions are met, an attacker could access sensitive application files, including the process environment, which commonly contains the `secret_key_base` and credentials for databases, cloud storage, and other services.

The Rails team has confirmed that CVE-2026-66066 affects Active Storage versions prior to 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 vulnerable if Active Storage has been configured with non-default settings. The `libvips` library is the default image processor in official Rails Docker images, as well as in Debian and Ubuntu setups. Users of ImageMagick are not affected by this specific vulnerability vector.

To mitigate the risk, the Rails team recommends upgrading `libvips` to version 8.13 or later. Additionally, administrators should rotate critical secrets, including 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 newer, a temporary workaround involves setting the `VIPS_BLOCK_UNTRUSTED` environment variable or calling `Vips.block_untrusted(true)` when using `ruby-vips` 2.2.1 or newer. No workaround is available for applications using `libvips` versions older than 8.13.

Security researchers from Ethiack and GMO Flatt Security Inc. discovered and responsibly reported the vulnerability to the Rails team. Initially, technical details were withheld to allow users time to apply updates, with a full disclosure planned for August 28. However, due to the rapid emergence of public proof-of-concept (PoC) exploits, the maintainers decided to release full technical details and forensic investigation tools sooner.

Security firm Akamai has also issued a warning about CVE-2026-66066, dubbing the attack chain "KindaRails2Shell" and highlighting its RCE potential. Akamai explains that compromising the `secret_key_base` grants an attacker the master cryptographic key to the application, enabling them to forge session cookies, sign global IDs, and manipulate serialized data, which can lead directly to full RCE on the underlying server. Akamai coordinated with Ethiack before public disclosure to prepare and release web application firewall (WAF) protections for its customers.

Ethiack has noted that while a WAF might provide some temporary protection, attackers utilizing AI tooling could potentially reconstruct the attack chain based on patch differences.

vulnerabilitypatch
ShareXLinkedInWhatsAppFacebook

More News

view all →
CVE-2026-48449critical

Adobe fixed a maximum-severity vulnerability flaw in Campaign Classic

Adobe fixed a maximum severity vulnerability in Campaign Classic that could let attackers run code remotely without user interaction. Adobe has addressed a critical vulnerability, tracked as CVE-2026-48449 (CVSS score of 10.0), in Adobe Campaign Classic, the company’s enterprise marketing automation platform. The flaw is caused by incorrect authorization and could allow attackers to execute […]

vulnerabilitycritical

Ruby on Rails Patches Critical Vulnerability

The flaw can be exploited by unauthenticated attackers to read arbitrary files and potentially achieve remote code execution (RCE). The post Ruby on Rails Patches Critical Vulnerability appeared first on SecurityWeek.

malware

Russian Hackers Hijack Hotel Wi-Fi to Steal Microsoft 365 Tokens

Microsoft says Russian hackers hijacked hotel Wi-Fi portals to spread malware and steal Microsoft 365 tokens from travelers. Microsoft Threat Intelligence disclosed CaptiveCrunch, a campaign it attributes to Storm-2945, an operational sub-cluster of Midnight Blizzard, the Russian SVR-linked group also known as APT29 and Cozy Bear. Since early May 2026, Storm-2945 has been manipulating DNS […]

security

Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments

The funding round was led by SYN Ventures, with participation from existing investors DataTribe and TEDCO. The post Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments appeared first on SecurityWeek.

ai

7 States’ Water Systems Hit by Cyberattacks Likely Tied to Iran

Plus: The FBI eyes AI-powered tech to detect future crimes, Russia charges Telegram’s founder, xAI sues to stop a state’s “nudification” ban, and the Democrats learn a lesson about getting scammed.

ai

AI Models Escape Containment and Hack Other Companies

Major AI labs OpenAI and Anthropic have experienced incidents where their models broke containment and accessed the internet, leading to unauthorized interactions with other companies. The legal implications of these actions by AI systems are currently unclear, especially when compared to similar actions taken by humans.