Skip to content
NewA calmer, faster ZeroHour
VulnerabilitycriticalExploited in the wild

KindaRails2Shell threatens Ruby on Rails apps (CVE-2026-66066)

Help Net Securityby @zeljkazorz ()4 min read4 · 1 read
AI summary · glm-5.3-flashSummaries by Vani AI

Critical CVE-2026-66066 in Rails' Active Storage/libvips allows unauthenticated arbitrary file read and possible RCE; active exploitation now observed.

CVE-2026-66066 (KindaRails2Shell), discovered by Ethiack researchers and independently by RyotaK of GMO Flatt Security, lets attackers upload crafted files that exploit libvips' handling of specialty formats to read arbitrary files, including process environment secrets, potentially escalating to RCE. Default Rails 7.0+ setups using Active Storage with the vips processor are affected before versions 7.2.3.2, 8.0.5.1, and 8.1.3.1; fixes shipped July 29, 2026, with VIPS_BLOCK_UNTRUSTED as a partial mitigation. Proof-of-concept exploits circulated after disclosure, and VulnCheck updated that it observed active exploitation originating from a single French IP establishing C2 to a host in Israel. Akamai deployed WAF rules, but experts stress patching and credential rotation over filtering alone.

Key facts
  • Unauthenticated attackers can read arbitrary files including secret_key_base and third-party credentials.
  • Affects Active Storage 7.0 before 7.2.3.2, 8.0 before 8.0.5.1, and 8.1 before 8.1.3.1 with vips processor.
  • Fixed July 29, 2026; remediation includes upgrading Rails, libvips 8.13+, and rotating keys and tokens.
  • PoC exploits circulated post-disclosure; VulnCheck saw active exploitation from a French IP with C2 in Israel.
  • Rails released agent skills to check exposure and investigate possible intrusions.
Analyze CVE-2026-66066 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-66066
Unauthenticated Arbitrary File Read in Ruby on Rails Active Storage
9.530%PoC

From the original article

4 min read at helpnetsecurity.com

A critical security vulnerability (CVE-2026-66066) in Ruby on Rails (aka Rails), one of the most widely used frameworks for building websites and web apps, may allow attackers to read sensitive files off a server and, in some cases, take full control of it.

Help Net Security

By @zeljkazorz · helpnetsecurity.com

Read the full article at Help Net Security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.