LangflowCVE-2026-0768
CVSS 9.8
Unauthenticated
Python RCE as root
RailsCVE-2026-66066
CVSS 9.5
KindaRails2Shell
File read to RCE
ExploitationBoth confirmed
by VulnCheck
September 1, 2026
Langflow fixPatch available
per VulnCheck
Rails leak scopesecret_key_base
Rails master key
DB passwords
cloud credentials
API tokens
What happened
VulnCheck published findings on September 1, 2026, confirming active exploitation of two separate critical vulnerabilities affecting different parts of the developer and AI infrastructure stack. CVE-2026-0768 affects Langflow, the widely deployed open-source no-code platform for building AI agent workflows and applications. The vulnerability is a lack of proper input validation that allows an unauthenticated attacker to pass arbitrary Python code to an execution endpoint and run it in the context of the root user. An attacker who can reach a Langflow instance over the network can execute any Python code on the server without any authentication, credentials, or user interaction, with the resulting code running at root privilege level. VulnCheck confirmed active exploitation in the wild. A patch is available. CVE-2026-66066, named KindaRails2Shell by VulnCheck, is a vulnerability in Ruby on Rails with a CVSS score of 9.5. The flaw is a path that allows an unauthenticated attacker to read arbitrary files from the Rails server through a specific request. The specific sensitivity of the files accessible through this path is what makes the flaw particularly severe: the readable files include the Rails secret_key_base, the Rails master key, database passwords, cloud storage credentials, and API tokens stored in environment configuration files and the Rails credentials file. Once an attacker has the secret_key_base or master key, they can forge authenticated sessions, impersonate arbitrary users including administrators, and use those forged sessions to reach functionality that then enables code execution. The name KindaRails2Shell describes this escalation chain: file read leads to key theft leads to session forgery leads to code execution. VulnCheck confirmed active exploitation of CVE-2026-66066 as well.
Why it matters
Langflow is deployed by organizations building and hosting AI agent pipelines, which means the platform has access to the AI model API keys, external service credentials, and data sources that AI agents need to perform their functions. An attacker with root-level code execution on a Langflow server has access to every credential the platform holds and every system it is connected to, including the AI service APIs, databases, and external tools configured in the agent workflows. The Ruby on Rails vulnerability is significant because Rails is the web framework underlying a very large portion of enterprise web applications, APIs, and SaaS platforms. The file-read-to-RCE escalation path specifically targets the Rails credential management architecture, where the master key is the single cryptographic secret that protects all other credentials stored in the encrypted credentials file. A leak of the master key is equivalent to a credential dump for the entire application: the attacker can decrypt every stored secret, forge sessions, and ultimately achieve code execution through the application's own authenticated functionality.
Don't miss
The Langflow and Rails vulnerabilities are unrelated to each other technically, but VulnCheck's simultaneous disclosure of active exploitation in both surfaces a pattern that this brief has tracked throughout August: AI infrastructure platforms and the developer tools surrounding them are a concentrated exploitation target. Langflow is AI agent infrastructure. JFrog Artifactory in today's lead story manages AI model artifacts among other components. The OpenAI agent incident from Issues 120 and 121 involved JFrog Artifactory as the initial breakout point. The Splunk AI Toolkit from Issue 116 carried a pickle deserialization flaw in its model loading component. Each of these is a different platform, but they collectively represent the AI-adjacent infrastructure layer that has emerged as a distinct and active exploitation surface in 2026. For organizations evaluating their AI infrastructure security posture, the pattern suggests that the platforms supporting AI development and deployment workflows, not only the AI models themselves, represent a high-value target class that requires the same security attention as traditional enterprise infrastructure.
Potential actions
- Apply the available Langflow patch to all self-hosted Langflow instances immediately. If an immediate patch cannot be applied, restrict network access to the Langflow instance to trusted internal users and block unauthenticated external access to the code execution endpoint. Any internet-accessible Langflow instance on an unpatched version should be treated as a confirmed exploitation target given VulnCheck's active exploitation confirmation. Review Langflow process logs for unexpected Python execution from unfamiliar source IP addresses or with unexpected arguments.
- Assess all Ruby on Rails applications for CVE-2026-66066 exposure. The vulnerability requires unauthenticated file-read access to a specific request path; review whether the affected path is reachable in your specific Rails deployment configuration. If exploitable, rotate the Rails secret_key_base and master key, invalidate all existing sessions, and redeploy updated credentials. Any Rails application where CVE-2026-66066 was reachable before patching should be treated as having had its master key and all derived credentials potentially exposed.
- For both vulnerabilities, review web server and application logs for anomalous requests matching the exploitation patterns: requests to Langflow's code execution endpoint from external IP addresses, and requests to the Rails file-read path from unfamiliar sources. Where logs have been retained for the period before patching, a retrospective review covering the past seven days can identify whether exploitation was attempted even if it was not successful.
The Sip
Langflow: no auth, execute Python as root. Rails: one request reads the master key, the master key decrypts every stored credential, forged sessions get you to code execution. Both confirmed exploited today. Patch Langflow and assess the Rails file-read path. If the Rails master key was readable before the patch, rotate every secret derived from it.