Agentic AI Used to Conduct Ransomware Attack via Langflow

A Ransomware Attack Just Used AI to Outsmart Security Defenses

A recent ransomware attack has exposed a major vulnerability in cloud infrastructure, highlighting the growing threat of agentic artificial intelligence (AI) in cyber attacks. Threat actor JadePuffer exploited a critical flaw in Langflow, an open-source framework used for building language model-driven applications, to access and encrypt sensitive data.

Langflow is a Python-based tool that allows developers to build custom workflows using language models. However, its internet-exposed instances are vulnerable to exploitation, as demonstrated by the attack on JadePuffer. The threat actor gained code execution through CVE-2025-3248, a missing authentication vulnerability with a CVSS score of 9.8, which was disclosed in April and later flagged as exploited by CISA.

Once inside the system, JadePuffer used Langflow’s language model to conduct reconnaissance, scanning for secrets such as API keys, cloud credentials, cryptocurrency wallets, configuration files, and database credentials. The AI then adapted its actions in real-time to complete tasks, extract credentials from different file types, and log into discovered endpoints.

The attack consisted of two phases. In the initial phase, JadePuffer used the language model to dump Langflow’s Postgres database, harvest secrets, scan internal address spaces, and deploy a cron job for persistent access. During the second phase, the threat actor pivoted to a production server hosting a MySQL database and an Alibaba Naming and Configuration Service (Nacos) configuration platform.

The AI demonstrated remarkable flexibility and adaptability throughout the attack, adjusting its payload to pass login verification, checking for User Defined Functions (UDF), which can lead to OS command execution, and issuing completion markers before deploying ransomware. The encryption key was randomly generated but never persisted or transmitted, making data recovery virtually impossible.

Sysdig notes that this attack shows how agentic tooling significantly lowers the barrier for malicious operations, requiring a capable model rather than a capable human. The AI combined known techniques in a successful attack against neglected infrastructure, with close to zero cost to the attacker.

Defenders should expect the volume and breadth of such campaigns to rise as agentic tooling matures, and they should prioritize securing exposed application servers, unhardened configuration stores, and internet-facing database admin accounts. This requires a proactive approach to AI security, including monitoring for suspicious activity, implementing robust authentication mechanisms, and regularly updating dependencies.

In conclusion, the recent ransomware attack highlights the growing threat of agentic AI in cyber attacks. As these tools become more accessible and sophisticated, defenders must adapt their strategies to address this new breed of threats. By understanding the capabilities and limitations of agentic AI, we can better prepare ourselves for the challenges that lie ahead.


Source: SecurityWeek — 2026-07-03