A critical security flaw in Langflow, a widely adopted Python-based AI prototyping framework, is being actively exploited by cybercriminals to deploy the rapidly evolving Flodrix botnet.
Security researchers have confirmed that attackers are exploiting CVE-2025-3248, a remote code execution (RCE) vulnerability rated 9.8 on the CVSS scale, to compromise unpatched Langflow servers and enlist them in a powerful botnet capable of launching disruptive distributed denial-of-service (DDoS) attacks and exfiltrating sensitive data.
Langflow, with over 70,000 GitHub stars, is popular for building and deploying intelligent automation systems. Versions before 1.3.0 contain a critical flaw in the /api/v1/validate/code endpoint.
This endpoint, designed to validate user-submitted Python code, fails to enforce authentication and input validation. As a result, unauthenticated attackers can craft malicious POST requests embedding harmful code within function decorators or default arguments.
When processed, these payloads are executed in the server’s context, granting attackers remote code execution capabilities.
The vulnerability was added to the U.S. Cybersecurity and Infrastructure Security Agency’s (CISA) Known Exploited Vulnerabilities catalog on May 5, 2025, underscoring its active exploitation and severity.
Threat actors begin by scanning the internet for publicly exposed, vulnerable Langflow instances using tools like Shodan and FOFA.
Using a publicly available proof-of-concept exploit, they achieve remote shell access, execute reconnaissance commands to gather system information, and then deploy a downloader script—typically named “docker”—to fetch and install the Flodrix malware.
Once installed, Flodrix establishes communication with its command-and-control (C and C) infrastructure over both TCP and the Tor network.
The malware is highly evasive: it self-deletes after execution unless specific parameters are met, removes forensic artifacts, and employs XOR-based string obfuscation to hide C and C addresses.
Flodrix also checks for hidden files to avoid reinfecting the same host and forks child processes with fake names to evade detection.
Flodrix is a sophisticated descendant of the LeetHozer malware family, but with enhanced stealth and attack features. It can:
Researchers warn that the campaign is ongoing, with attackers actively developing new downloader scripts and expanding Flodrix’s capabilities.
Organizations using Langflow versions before 1.3.0 are at critical risk, especially if their deployments are accessible from public networks.
Mitigation steps include:
Security vendors have updated detection rules to block exploitation attempts, but rapid patching remains essential as the botnet continues to evolve and target new victims.
Find this News Interesting! Follow us on Google News, LinkedIn, and X to Get Instant Updates
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…