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

Attackers Exploit Critical Langflow and Rails Flaws in Credential-Probing and C2 Activity

Attackers are actively exploiting critical vulnerabilities in Langflow and Ruby on Rails, leading to credential harvesting and command-and-control activity.

By Ravie Lakshmanan·Sep 1·thehackernews.com·3 min read

Intelligence analysis by Gemini 2.5 Flash Lite

Attackers Exploit Critical Langflow and Rails Flaws in Credential-Probing and C2 Activity
Image: thehackernews.com

Two critical flaws, CVE-2026-0768 in Langflow and CVE-2026-66066 in Ruby on Rails, are being exploited by threat actors. These vulnerabilities allow for arbitrary code execution and sensitive data leakage, including API tokens and cloud credentials.

Why it matters

The exploitation of these vulnerabilities highlights a growing trend of attackers targeting AI development platforms and web frameworks to gain access to sensitive credentials and cloud environments, posing a significant risk to organizations.

Imagine two important tools for building computer programs are broken. One tool, for making smart computer helpers (AI), lets bad guys steal secret codes and passwords. The other tool, for building websites, lets them read secret files and also steal codes. Bad guys are using these broken tools to break into computers and steal information.

Analysis

CVE-2026-0768 and Langflow

The vulnerability CVE-2026-0768, with a CVSS score of 9.8, resides within Langflow, an open-source tool for developing and managing LLM applications. This flaw stems from a lack of proper validation of user-supplied input, which attackers can leverage to execute arbitrary Python code with root privileges. This level of access is extremely dangerous, as it allows for complete compromise of the affected system.

VulnCheck's research indicates that threat actors are actively probing for and exploiting this vulnerability. Their observed activities include querying environment variables such as LANGFLOW_SUPERUSER, OPENAI_API*, and AWS_ACCESS*, as well as attempting to read sensitive files like /root/.cache/langflow/secret_key. This suggests a clear motive of credential harvesting and potentially gaining further access to cloud infrastructure.

CVE-2026-66066 and Ruby on Rails

Dubbed KindaRails2Shell, CVE-2026-66066 is a critical vulnerability in Ruby on Rails, rated at CVSS 9.5. It enables unauthenticated attackers to read arbitrary files from the server. More critically, it can leak sensitive information from the Rails process environment, including secret_key_base, the master key, database passwords, cloud storage credentials, and API tokens. This information leakage can ultimately pave the way for remote code execution.

The exploitation vector for CVE-2026-66066 involves crafting a malicious image upload. This is achieved by exploiting a discrepancy in how Active Storage and the libvips library process input files. Successful exploitation requires applications to use libvips for image processing via Active Storage and accept uploads from untrusted users. Even patched versions of Rails might remain vulnerable to certain aspects of the attack, specifically the Marshal deserialization, if a valid signature is present.

Threat Actor Activity and Scope

VulnCheck observed a significant surge in exploitation attempts shortly after the vulnerabilities were disclosed, with hundreds of detections recorded within days. The source of this malicious traffic has primarily been traced to Russia, with initial targets identified as 'canaries' in the UK. The scope of exploitation is broad, with vulnerable Langflow hosts identified across the U.S., Germany, Malaysia, Brazil, and India. In some observed instances, attackers have deployed Python credential harvesters, proxy agents, and remote access tools like SimpleHelp. Other attacks have weaponized similar vulnerabilities to enlist compromised machines into XMR cryptocurrency mining botnets, often disabling auditing tools to cover their tracks.

The findings underscore a heightened interest from threat actors in AI development platforms, recognizing their potential as gateways to valuable credentials, cloud environments, and interconnected systems. The active exploitation of these flaws presents a clear and present danger to organizations relying on these technologies.

Key points

  • Critical vulnerabilities in Langflow (CVE-2026-0768) and Ruby on Rails (CVE-2026-66066) are being actively exploited.
  • The flaws allow for arbitrary code execution, credential harvesting, and sensitive data leakage, including API keys and cloud secrets.
  • Attackers are targeting AI development platforms and web frameworks to gain access to cloud environments.
  • Exploitation attempts have surged rapidly, with traffic originating primarily from Russia.
  • Vulnerable Langflow instances are widespread across the US, Germany, India, Brazil, and Malaysia.
The Upside

The rapid detection and reporting of these vulnerabilities by VulnCheck, coupled with the swift patching efforts by developers, could mitigate widespread damage. Increased awareness among developers and users of Langflow and Ruby on Rails may lead to more robust security practices and proactive defense mechanisms against future attacks.

The Downside

The active and widespread exploitation of these critical vulnerabilities, even after patches are released, indicates a significant risk of ongoing compromises. The potential for attackers to gain deep access to cloud credentials and execute arbitrary code could lead to extensive data breaches and system takeovers.

Originally reported at

thehackernews.com

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

Tagssecurityvulnerabilityai-agentscodingweb-securityopen-source

Author

Ravie Lakshmanan

Intelligence analysis by

Gemini 2.5 Flash Lite

Published

Sep 1, 2026

Source

thehackernews.com

Share

Topics

securityvulnerabilityai-agentscodingweb-securityopen-source

Related

More from this desk

Sep 1·thehackernews.com

Russia-Aligned UAC-0099 Plants Nuclear Weapon Prompt in Malware to Disrupt AI Analysis

A Russia-aligned group, UAC-0099, is using a new technique called GuardBreaker to trick AI security tools by embedding dangerous prompts into malware.

Sep 1·bleepingcomputer.com

Recently patched PaperCut zero-days used in data theft attacks

Two zero-day vulnerabilities in PaperCut's print management software, recently patched, are now being exploited for data theft. Attackers are chaining the flaws to bypass authentication and steal data from vulnerable servers.

Aug 31·bleepingcomputer.com

Cronos blockchain restarts after $74 million Tectonic exploit

Cronos blockchain network resumes trading after Tectonic exploit

Aug 31·bleepingcomputer.com

Microsoft Warns of TerminalFix Attacks Using Reverse Tunnels

Microsoft alerts about a new variant of ClickFix attacks that use fake Cloudflare CAPTCHA prompts to trick users into executing malicious PowerShell commands in Windows Terminal. The attacks lead to a multi-stage intrusion chain resulting in a reverse tunnel into the vict…