Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Rare pink diamond goes on display in France 100 years after amateur heist

    October 17, 2026

    The Best LED Grow Lights for Houseplants This Winter (2026)

    October 17, 2026

    Hackers hijack D-Link, Ubiquiti devices to resell your stolen bandwidth

    October 17, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Rare pink diamond goes on display in France 100 years after amateur heist
    • The Best LED Grow Lights for Houseplants This Winter (2026)
    • Hackers hijack D-Link, Ubiquiti devices to resell your stolen bandwidth
    • Antarctica’s sea ice has undergone a stunning reversal
    • Pope to be discharged days after lung cancer surgery
    • Police, protesters clash ahead of mass demonstrations in France – POLITICO
    • The power of AI is worrying senior Labour figures – as is the fear of ‘falling behind the public’ | AI (artificial intelligence)
    • Encryption Is Getting Squeezed From All Sides
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Saturday, October 17
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    Critical Ruby on Rails Vulnerability in Attackers’ Crosshairs

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKAugust 31, 2026 Cybersecurity No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Hackers are exploiting a critical-severity Ruby on Rails vulnerability that leads to remote code execution (RCE), VulnCheck warns.

    Tracked as CVE-2026-66066 (CVSS score of 9.5) and referred to as KindaRails2Shell, the flaw is described as an arbitrary file read leading to secret exposure, RCE, and lateral movement.

    The security defect was disclosed in late July, when Ruby on Rails rolled out patches for it, urging the immediate patching of all Rails applications that rely on libvips for Active Storage image processing and allow image uploads from untrusted users.

    Shortly after, security researchers reverse-engineered the bug and released technical information and proof-of-concept (PoC) code targeting it, and Rails published forensic tools to help detect exploitation attempts.

    Rails explained that KindaRails2Shell was rooted in the different methods used by different libraries and functions to read arbitrary files.

    While Rails may rely on the client-supplied content type to interpret a blob as an image, libvips looks at the magic bytes to determine the file type.

    Advertisement. Scroll to continue reading.

    This allows an attacker to craft a file and declare it as MATLAB Level 5, leading to libvips selecting the MATLAB loader. The file is then routed to libmatio, which identifies MAT 7.3 in a header field and hands it to HDF5.

    “HDF5’s External File List lets a dataset’s bytes live in another file named by path and offset, so rendering the ‘image’ reads an attacker-chosen file off the server and returns its contents as pixels. The same confusion, twice, at two layers that cannot see each other’s fields,” Rails notes.

    An unauthenticated attacker could target anything that the Rails process can read, including the credential database and storage keys. Armed with the compromised secrets, the attacker could then forge sessions, access additional systems, and execute arbitrary code remotely.

    According to VulnCheck, threat actors started exploiting CVE-2026-66066 last week, roughly one month after patches were released.

    Furthermore, VulnCheck says that its tests on a patched 8.1.3.1 server revealed that, “while the fix blocks the libvips file read, it does not neutralize the variation-key Marshal deserialization: the RCE gadget still executes on a patched server given a valid signature.”

    In early August, VulnCheck identified around 7,000 exposed Ruby on Rails instances vulnerable to KindaRails2Shell.

    Related: More Details Emerge on Exploited PaperCut Vulnerabilities

    Related: OpenAI Agents Exploited Linux Kernel Flaw on Company’s Own Systems

    Related: Recent Citrix NetScaler Vulnerability Exploited in the Wild

    Related: Adobe and Nvidia Patch Dozens of Vulnerabilities

    Attackers critical crosshairs rails Ruby Vulnerability
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Hackers hijack D-Link, Ubiquiti devices to resell your stolen bandwidth

    BAE Systems cyberattack disrupts US federal court operations

    Israeli Ad Firm Doubled as Candiru’s Zero-Click Spyware Delivery Channel

    Microsoft: October Windows update may break Smart App Control

    Hackers Use Compromised ConnectWise Credential to Sign In to 173 Microsoft 365 Tenants

    Burger King Japan data breach exposes 11 million customer records

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Rare pink diamond goes on display in France 100 years after amateur heist

    October 17, 2026

    The Best LED Grow Lights for Houseplants This Winter (2026)

    October 17, 2026

    Hackers hijack D-Link, Ubiquiti devices to resell your stolen bandwidth

    October 17, 2026

    Antarctica’s sea ice has undergone a stunning reversal

    October 17, 2026
    Latest Posts

    The Guardian view on Japan’s yen: Trump wants to keep the easy-money machine running | Editorial

    August 12, 2026

    Minesto reshapes organization to drive commercial expansion of tidal technology

    August 12, 2026

    Corpus Christi Puts Industrial Water Charge on November Ballot

    August 12, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Rare pink diamond goes on display in France 100 years after amateur heist

    October 17, 2026

    The Best LED Grow Lights for Houseplants This Winter (2026)

    October 17, 2026

    Hackers hijack D-Link, Ubiquiti devices to resell your stolen bandwidth

    October 17, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.