BTC $71,807
2026 Bull Run Is Building Start trading with 5% OFF all fees
Sign Up Now
BTC $71,807
Bull Run 2026 | 5% Off Fees Open your Binance account today
Sign Up

Rails critical Active Storage bug lets attackers read files remotely

Critical Rails Active Storage flaw allows unauthenticated file read via crafted image uploads.

  • Ruby on Rails patched a critical Active Storage vulnerability, CVE-2026-66066 (CVSS 9.5), allowing unauthenticated file read on servers using libvips.
  • Attackers can extract secret_key_base, database passwords, cloud storage credentials, and API tokens, potentially enabling remote code execution or lateral movement.
  • Affected versions include Rails 7.0 through 7.2.3.1, 8.0.0–8.0.5, and 8.1.0–8.1.3; operators must upgrade to patched releases and rotate all exposed secrets.

Ruby on Rails has released fixes for a critical Active Storage vulnerability that could let unauthenticated attackers read arbitrary files from application servers through crafted image uploads. Tracked as CVE-2026-66066 (CVSS 9.5), the flaw exposes the Rails process environment and secrets such as secret_key_base, the Rails master key, database passwords, and cloud storage credentials.

- Advertisement -

Affected applications use libvips for Active Storage image processing and accept image uploads from untrusted users. The Rails security advisory explains that libvips supports loaders and savers backed by third-party libraries marked “untrusted.” Active Storage did not block them, allowing a crafted upload to invoke one and disclose files readable by the Rails worker.

Ethiack and GMO Flatt Security list the affected ranges as Rails 7.0.0 through 7.2.3.1, Rails 8.0.0 through 8.0.5, and Rails 8.1.0 through 8.1.3. The official advisory notes that activestorage < 7.2.3.2 is vulnerable, and applications using MiniMagick are not exposed through this specific attack path.

Operators should upgrade to Rails 7.2.3.2, 8.0.5.1, or 8.1.3.1 and rotate every secret readable by the application process. The patch calls Vips.block_untrusted(true) when Active Storage starts, and patched installations require libvips 8.13 or later.

Rails credited André Baptista, Bruno Mendes, and Rafael Castilho of Ethiack, and RyotaK of GMO Flatt Security, with independently reporting the issue. Neither research team had published a proof-of-concept by 17:30 UTC on July 29, 2026, and no in-the-wild exploitation was reported.

- Advertisement -

The flaw was not listed in CISA's Known Exploited Vulnerabilities catalog as of version 2026.07.27. Rails warned that applying the patch does not invalidate credentials that may already have been stolen.

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -
Ad
Altseason Is Loading. Don't watch from the sidelines.
SOL $90.51
DOGE $0.0963
LINK $9.02
SUI $1.00
5% off fees when you sign up
Start Trading
Ad
Pay Less on Every Trade. For Life.
$10K/mo volume Save $60/yr
$50K/mo volume Save $300/yr
$100K/mo volume Save $600/yr
5% off all trading fees when you sign up
Claim Your Discount

Latest News

ImmunityBio founder touts sepsis trials, NantX after Binance theft

Patrick Soon-Shiong renewed his “NantX coming soon” teaser after a $6.3 billion Binance theft,...

Crypto.com Shuts Hong Kong App, Eyes Institutional Exchange

crypto.com will shut down its consumer app in Hong Kong on Feb. 1, 2027,...

Kim Yo Jong denies North Korea behind Binance hack, hints US

Kim Yo Jong denied North Korea's involvement in the $6.3 billion Binance hack and...

Strive buys 124 BTC, fourth among public companies

Strive acquired 124 Bitcoin for roughly $10 million between Oct. 24 and Oct. 30,...

Claude finds 9.8 zero-click Linux root bug

Claude discovered a zero-click Linux vulnerability (CVE-2026-98432) rated 9.8 out of 10, described as...

Must Read

9 Best Books On Ethereum And Blockchain Technology

QUICK LINKSHow to Choose Your First Blockchain Book: A Simple Framework1. Define Your Goal: Are you looking to Build, Invest, or Understand?2. Assess Your...
Ad
Altseason Is Loading. These 4 coins are trending right now.
SOL $92.12
DOGE $0.0950
LINK $9.02
SUI $1.02
5% off spot fees when you sign up
Start Trading