Hackers Actively Exploiting Critical Langflow RCE and Rails Vulnerability

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com

Spread the love

Two critical vulnerabilities affecting Langflow and Ruby on Rails deployments are being actively exploited, with attackers quickly moving from public disclosure to reconnaissance, secret harvesting, and potential remote code execution, according to VulnCheck telemetry.

The first issue, tracked as CVE-2026-0768, affects Langflow, a low-code platform for building AI-powered applications, agents, and workflow automations.

VulnCheck observed exploitation attempts against its internet-facing Canary systems shortly after the vulnerability was added to its Known Exploited Vulnerabilities catalog.

CVE-2026-0768 is an unauthenticated remote code execution flaw in the code validator used by Langflow’s custom component editor. An attacker may be able to execute code on a vulnerable server without first authenticating.

The flaw was disclosed through Trend Micro’s Zero Day Initiative in January, and VulnCheck said no public proof-of-concept exploit was known at the time of the observed attacks.

The company initially recorded more than 50 detections, but the volume later increased to around 360 exploitation events. The malicious requests appeared to be designed to identify valuable credentials and access paths rather than immediately deploy ransomware or other destructive payloads.

Langflow RCE and Rails Vulnerability Exploited

Observed commands attempted to retrieve environment variables associated with Langflow administration, OpenAI APIs, and AWS cloud access.

Observed first-time exploitation of CVE-2026-0768 in Langflow (source : VulnCheck )
Observed first-time exploitation of CVE-2026-0768 in Langflow (source: VulnCheck )

Attackers also tried to read Langflow’s local secret key file at /root/.cache/langflow/secret_key, inspect SSH access, and determine the size of .bash_history files. These checks could help an intruder identify administrator activity, stolen credentials, cloud resources, and possible routes for lateral movement.

VulnCheck said the Langflow traffic primarily originated from Russia and, at the time of reporting, targeted Canary systems located in the United Kingdom.

The activity adds to a growing pattern of exploitation targeting Langflow. Several other Langflow vulnerabilities have reportedly been added to VulnCheck’s KEV catalog during 2026.

Separately, researchers observed exploitation of CVE-2026-66066, a critical Ruby on Rails vulnerability described as an Active Storage file-read-to-RCE issue.

Active exploitation of CVE-2026-66066 (source  : vulncheck )
Active exploitation of CVE-2026-66066 (source: VulnCheck)

The attacks hit Canary systems in Singapore, Israel, and the United Kingdom. VulnCheck linked the activity to a single source IP address in France. At the same time, command-and-control communication was established with a host in Israel.

The Rails flaw is particularly dangerous because an attacker may first use file-reading capabilities to obtain sensitive application secrets, including secret_key_base, API tokens, database credentials, and cloud-storage keys.

Those secrets can remain useful even after the vulnerable software is patched. A compromised Rails secret_key_base, for example, may allow session forgery or other abuse until it is rotated.

Organizations running Langflow or Ruby on Rails should immediately identify exposed instances, apply vendor fixes, restrict public access to administrative interfaces, and review server logs for unusual commands targeting environment variables, secret files, SSH directories, or shell-history files.

Security teams should also rotate credentials, API keys, cloud secrets, and application signing keys if exploitation is suspected.
The incidents highlight how AI application platforms and widely deployed web frameworks are becoming high-value targets.

For defenders, patching alone is not enough; any secrets accessible to a compromised application should be treated as potentially exposed and replaced.

Prevent incidents due to slow investigations. Power your Tier 1 with threat intelligence from 15K SOCs: Integrate TI Lookup in your SOC

The post Hackers Actively Exploiting Critical Langflow RCE and Rails Vulnerability appeared first on Cyber Security News.