Agentic JADEPUFFER Exploits Langflow Flaw for ENCFORGE Ransomware

The JADEPUFFER threat actor is actively exploiting a critical Langflow vulnerability, CVE-2025-3248, to run unauthorised Python code and deploy ENCFORGE ransomware. This attack targets AI models, training data and vector databases, putting sensitive intellectual property at risk.

How the Attack Unfolds: Exploiting Langflow CVE-2025-3248

The campaign begins with the exploitation of CVE-2025-3248, a severe missing-authentication flaw in the Langflow platform. Langflow is widely used to orchestrate and build AI data pipelines, making it a prime target for attackers seeking access to valuable machine learning assets.

This vulnerability resides in Langflow’s code-validation endpoint, which fails to enforce authentication. As a result, unauthenticated attackers can send specially crafted requests to execute arbitrary Python code on any exposed Langflow instance. This flaw provides a direct route to environments where cloud service keys, API tokens and database credentials are often accessible.

  • Vulnerability: CVE-2025-3248 (missing authentication on code-validation endpoint)
  • Product Affected: Langflow (specific versions not detailed in initial reporting, but all unpatched or exposed instances are at risk)
  • Attack Vector: Remote, unauthenticated HTTP requests
  • Initial Access: Arbitrary Python code execution

Langflow’s popularity in the AI development community, combined with default configurations that may leave endpoints exposed, amplifies the scale and urgency of this vulnerability.

JADEPUFFER’s Tactics: ENCFORGE Ransomware Deployment

Once inside a vulnerable Langflow environment, JADEPUFFER deploys ENCFORGE, a ransomware strain engineered to encrypt assets specific to AI workflows. This includes machine learning models, training datasets and vector databases that underpin search, recommendation and generative AI systems.

The ENCFORGE ransomware is notable for its focus on AI infrastructure, seeking out files and directories typical of model storage and dataset repositories. It encrypts these assets using robust cryptographic routines and then drops ransom notes demanding payment in exchange for decryption keys.

  • Targeted Assets: AI models (such as PyTorch and TensorFlow files), training data (CSV, JSON, Parquet, etc.) and vector indexes (used in similarity search and retrieval tasks)
  • Encryption Impact: Loss of access to proprietary models, intellectual property and the datasets required to retrain or restore services
  • Ransom Demand: Victims receive instructions for cryptocurrency payment to recover their encrypted assets

Because AI model training and data collection are often time- and resource-intensive, the consequences of ENCFORGE’s encryption can be severe. Organisations face not only operational outages but also potential long-term damage to AI product development and research.

Timeline and Current Exploitation Status

The JADEPUFFER campaign was first identified in early June 2024, with attacks correlating with the public disclosure of CVE-2025-3248. Security researchers observed a sudden spike in unauthorised code execution attempts against Langflow endpoints exposed to the internet.

  • Early June 2024: Vulnerability disclosure and initial scanning activity
  • Mid June 2024: Confirmed ENCFORGE ransomware deployments traced to compromised Langflow servers
  • Late June 2024: Ongoing exploitation, with evidence of opportunistic targeting and possibly automated attack scripts

At the time of writing, active exploitation of unpatched Langflow instances continues. There is no indication that JADEPUFFER is targeting specific sectors; rather, any internet-accessible Langflow deployment appears at risk. Security advisories recommend organisations check for indicators of compromise, such as unexplained Python process execution and the presence of ENCFORGE ransom notes.

Why This Attack Matters for AI and Data Security

This campaign marks a significant escalation in ransomware tactics, as attackers increasingly target the core assets of modern AI-driven organisations. The ability to encrypt not just databases but also models and training data raises the stakes for businesses investing in machine learning technology.

The attack demonstrates that as AI adoption grows, so too does the attack surface. Tools like Langflow, often deployed hastily to support rapid innovation, may lack hardening or proper access controls, making them attractive targets.

Immediate Steps for Organisations Using Langflow

  • Apply all available patches for Langflow, prioritising fixes for CVE-2025-3248
  • Restrict access to Langflow endpoints by enforcing authentication and network controls
  • Remove any hard-coded secrets from Langflow configuration files
  • Rotate API keys, cloud tokens and database credentials that may have been exposed
  • Monitor for suspicious activity, especially unknown Python code execution or presence of ENCFORGE files

Organisations should review their AI infrastructure for other similar exposures, ensuring that only trusted users and systems can interact with critical pipelines and datasets.

Originally reported by cybersecuritynews.com.

Share this bulletin

About the Author

Rob McBride Headshot - CyPro Partner and leading cyber security expert

Rob McBride

Partner

  • CISSP
  • ACA Chartered Accountant
  • MPhil
  • BSc
  • SOC 2
  • ISO 27001

Rob McBride

Rob is a Founding Partner at CyPro and a highly experienced CISO. Beginning his career with a successful tenure at Deloitte, Rob has since amassed a wealth of experience, notably serving as a cyber security advisor to the UK government and spearheading cloud security transformations for several global banks.

At CyPro, Rob leads the managed service business line, working extensively across multiple sectors including telecommunications, technology, higher education, travel, and retail. He is passionate about equipping small and medium-sized businesses (SMBs) with robust cyber security strategies to fuel their growth.

View Profile
Back to Bulletins

Related CyPro Services

  • Managed Detection and Response (MDR)

    Managed Detection and Response (MDR) is an end-to-end managed service designed to help organisations detect, analyse and respond to cyber threats quickly and effectively. It...
    View Service
CyPro Cookie Consent

Hmmm cookies...

Our delicious cookies make your experience smooth and secure.

Privacy PolicyOkay, got it!

We use cookies to enhance your experience, analyse site traffic, and for marketing purposes. For more information on how we handle your personal data, please see our Privacy Policy.

Schedule a Call