
Share
A sophisticated ransomware attack targeting AI model weights has emerged, leaving organizations unable to restore their finely tuned models and facing significant financial losses.
Ransomware attacks have evolved to target the most critical assets of modern businesses. In a recent series of breaches, an attacker exploited a known vulnerability in Langflow servers to deploy ENCFORGE, a ransomware variant specifically designed to destroy AI model weights. Sysdig's Threat Research Team documented these attacks on July 1 and July 20, highlighting the severity and sophistication of the threat.
The entry point for both campaigns was CVE-2025-3248, a missing-authentication flaw in Langflow’s code-validation endpoint that allows unauthorized users to execute Python code on the server. In the first attack, the attacker encrypted 1,342 Alibaba Nacos configuration items using MySQL's encryption function and dropped the tables. This was disruptive but not as targeted.
In the second campaign, ENCFORGE took center stage. This compiled Go binary is designed to target specific file extensions associated with AI models. Sysdig identified PyTorch and TensorFlow checkpoints, Hugging Face SafeTensors weights, GGUF format files (common in local LLM deployments), FAISS vector indexes, and training data stored in Parquet and NumPy formats.
The specificity of the targeted file extensions indicates that the attacker has a deep understanding of the machine learning ecosystem. ENCFORGE’s ability to identify and encrypt these files suggests it was developed by someone familiar with the inner workings of AI model storage.
Michael Clark, who leads Sysdig's threat research team, emphasized the unique objective of this ransomware: "The goal is to destroy the one thing an organization can't simply restore." Unlike traditional ransomware that locks down entire systems, ENCFORGE focuses on making AI models unusable. It does not include network code or a payment portal, and there’s no exfiltration mechanism. The only pressure it applies is by rendering files unusable.
ENCFORGE encrypts regions of a file rather than the whole file, using AES-256-CTR with a per-run key wrapped in an embedded RSA-2048 key. This approach is common among ransomware families to quickly corrupt large files. The lack of exfiltration capabilities means that once the files are encrypted, they cannot be restored from backups or cloud storage.

Restoring a fine-tuned AI model can be a costly and time-consuming process. Sysdig estimates that direct recovery for a production-ready fine-tuned model ranges from $75,000 to $500,000. This cost includes:
These costs are per model, and many teams maintain multiple variants on shared storage. The financial impact can quickly escalate, especially for organizations that rely heavily on AI models for their operations.
The emergence of ENCFORGE underscores the evolving threat landscape in cybersecurity. Organizations must prioritize patch management, secure their internet-facing servers, and implement robust backup and recovery strategies to protect their valuable AI assets.
Tags
Original Sources
Ransomware hits Langflow, can't collect ransom | VentureBeat
↗ https://venturebeat.com/security/new-ransomware-targets-ai-model-weights-and-cant-even-collect-the-ransom
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
6 August 2026
58 articles
Related Articles
Related Articles
More Stories
© 2026 Cedar & Bloom. All rights reserved.