Attackers Target AI Gateways for Credentials and Cryptomining

On August 27, CyberPress and GBHackers reported that Microsoft had observed intrusions targeting exposed LiteLLM, RAGFlow, and Kestra deployments, where attackers stole credentials, established persistence, accessed backend systems, and deployed cryptocurrency miners. The reports described AI gateways, retrieval platforms, and workflow orchestration systems that can concentrate provider API keys, database access, container privileges, and internal-service connectivity.
Microsoft has observed attacks against exposed LiteLLM, RAGFlow, and Kestra AI infrastructure that sought model-provider credentials, access to backend systems, persistent control, and cryptocurrency-mining capacity, according to CyberPress and GBHackers reporting published August 27. The incidents treat AI gateways, retrieval systems, and workflow orchestrators as high-value control-plane services rather than isolated application components.
CyberPress reports that the LiteLLM activity likely involved an exposed gateway and an attack chain including CVE-2026-42271, a command-execution flaw in certain endpoints, and CVE-2026-48710, a Starlette host-header validation bypass. GBHackers reports that the LiteLLM flaw affected versions 1.74.2 through 1.83.6 and was fixed in version 1.83.7.
LiteLLM access led to secret harvesting
According to CyberPress, after obtaining execution in a LiteLLM deployment, attackers harvested environment variables from /proc/1/environ. In containerized services, that file can expose runtime configuration, including provider API keys, application master keys, database connection strings, passwords, and access tokens.
The same report states that the actors accessed LiteLLM's PostgreSQL database and collected model-configuration and virtual-key records. They then staged payloads in temporary directories, used filenames resembling legitimate Linux services, and deployed XMRig cryptomining software.
CyberPress further reports attempts to remove rival miners, alter SSH authorized_keys, modify cron jobs, and apply immutable file attributes. Those techniques can provide multiple persistence paths and complicate incident cleanup.
RAGFlow and Kestra attacks extended the pattern
CyberPress reports that a RAGFlow intrusion included suspected SSRF-style reconnaissance followed by modifications to application files in a container. The attackers created a hidden Python hook that intercepted details submitted when administrators added or updated LLM provider configurations, including provider names, model names, API-key material, and endpoint metadata. The hook reportedly sent the data to attacker-controlled infrastructure while allowing normal configuration actions to continue.
For Kestra, Mallory.ai's summary of Microsoft's research reports that Microsoft assessed with high confidence that attackers likely used CVE-2026-49869 to bypass authentication, create a malicious workflow, and obtain shell execution on a worker. The reported activity included access to the Docker socket and container environment data, deployment of XMRig connected to a Monero mining pool, and later collection of data through Kestra's key-value interface.
Why AI control planes create concentrated risk
The common element across the reported cases is privileged connectivity. LiteLLM gateways can centralize credentials for multiple model providers. Retrieval systems may hold tenant-level LLM settings and access to sensitive data sources. Workflow orchestrators can run jobs with access to secrets, containers, and internal services.
For security teams, the incidents reinforce a broader pattern in cloud-native application security: services that broker identity, execution, data access, and external APIs create unusually valuable targets when internet-exposed. A compromise of such a service can create a path to credentials and downstream systems beyond the initially breached workload.
Microsoft advised organizations to treat AI gateways, retrieval platforms, and workflow orchestration tools as critical control-plane infrastructure, according to Mallory.ai. The reported attack chains also make routine controls especially relevant for AI platform operators: prompt patching of internet-facing components, strict network exposure policies, secret rotation after suspected compromise, monitoring of container environment access, and review of persistence mechanisms such as SSH keys, cron entries, and unexpected immutable files.
Key Points
- 1Microsoft-observed intrusions targeted LiteLLM, RAGFlow, and Kestra, showing that AI control-plane systems can expose credentials and execution resources.
- 2Reported LiteLLM activity combined runtime-secret harvesting with PostgreSQL access and XMRig deployment, expanding impact beyond a single model gateway.
- 3Comparable cloud-native breaches show why AI platforms that centralize secrets, data access, and orchestration require control-plane security treatment.
Scoring Rationale
The reporting documents active attacks against widely relevant AI infrastructure categories: model gateways, retrieval platforms, and workflow orchestration systems. It offers concrete attack paths and persistence techniques that platform engineers and security teams can use to review exposed deployments and credential boundaries.
Sources
Public references used for this report.
Practice interview problems based on real data
1,625 SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems

