Executive Summary
Between 2026 and early 2027, Microsoft observed coordinated attacks targeting AI infrastructure components including LiteLLM gateways, RAGFlow retrieval platforms, and Kestra workflow orchestration environments. Attackers exploited vulnerabilities including CVE-2026-42271, CVE-2026-48710, and CVE-2026-49869 to gain initial access, then systematically harvested model provider API keys, database credentials, and container secrets. The campaigns resulted in credential theft, cryptocurrency mining operations, persistent backdoor access, and potential unauthorized use of AI services. The attacks demonstrate how AI infrastructure has become a high-value target due to its concentration of credentials, data access privileges, and compute resources in centralized control points.
These incidents highlight the emerging threat landscape where AI infrastructure components are increasingly targeted as control planes for broader enterprise compromise. As organizations rapidly deploy AI systems without adequate security controls, attackers are adapting their techniques to exploit the unique trust relationships and credential concentration inherent in AI gateways and orchestration platforms.
Why This Matters Now
AI infrastructure is rapidly expanding across enterprises with insufficient security controls, creating new attack surfaces that concentrate high-value credentials and data access in centralized components that attackers are actively exploiting.
Attack Path Analysis
Attackers exploited vulnerabilities in internet-exposed AI infrastructure (LiteLLM, RAGFlow, Kestra) to gain initial access, then escalated privileges within application contexts to access secrets and credentials. They moved laterally through container environments and cloud services using harvested credentials, established command and control through multiple channels including reverse shells and mining pools, exfiltrated provider API keys and sensitive configuration data, and deployed cryptocurrency miners for resource monetization while establishing persistence mechanisms.
Kill Chain Progression
Initial Compromise
Description
Exploitation of internet-exposed AI workload surfaces including CVE-2026-42271 (LiteLLM command execution), CVE-2026-49869 (Kestra authentication bypass), and multiple RAGFlow vulnerabilities to achieve remote code execution in gateway and orchestration services.
Related CVEs
CVE-2024-42271
CVSS 7.8Authenticated command execution vulnerability in LiteLLM MCP stdio test endpoints allowing remote code execution through test interfaces.
Affected Products:
LiteLLM LiteLLM Proxy – < 1.44.22
Exploit Status:
exploited in the wildCVE-2024-48710
CVSS 6.5Host header validation bypass in Starlette framework that can be chained with other vulnerabilities to achieve unauthenticated remote code execution.
Affected Products:
Starlette Starlette – < 0.32.0
Exploit Status:
exploited in the wildCVE-2024-49869
CVSS 7.8Critical authentication bypass vulnerability in Kestra workflow orchestration platform allowing unauthenticated remote attackers to bypass login mechanisms and execute arbitrary workflows.
Affected Products:
Kestra Kestra – < 0.15.7
Exploit Status:
exploited in the wild
MITRE ATT&CK® Techniques
Exploit Public-Facing Application
Unsecured Credentials: Credentials In Files
Command and Scripting Interpreter: Python
Masquerading: Match Legitimate Name or Location
Account Manipulation: SSH Authorized Keys
Resource Hijacking
Application Layer Protocol: Web Protocols
Hide Artifacts: Hidden Files and Directories
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Public-facing web applications are protected against attacks
Control ID: 6.2.4
NYDFS 23 NYCRR 500 – Penetration Testing and Vulnerability Assessments
Control ID: 500.15
DORA – Identification
Control ID: Article 8
CISA ZTMM 2.0 – Device Identity and Credential Management
Control ID: Device Security
NIS2 Directive – Risk Analysis and Information System Security Policies
Control ID: Article 21(2)(a)
ISO 27001 – Management of Technical Vulnerabilities
Control ID: A.12.6.1
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Information Technology/IT
AI infrastructure attacks targeting gateways expose cloud services, development platforms, and enterprise IT systems to credential theft, lateral movement, and ransomware deployment.
Computer Software/Engineering
Software companies deploying AI workloads face compromised development environments, stolen API keys, cryptocurrency mining abuse, and intellectual property theft through gateway exploitation.
Financial Services
Banks utilizing AI gateways risk exposure of customer data, trading algorithms, and regulatory compliance violations through encrypted traffic interception and database compromise.
Health Care / Life Sciences
Healthcare AI implementations face HIPAA violations, patient data exfiltration, and compromised medical research through vulnerable gateway infrastructure and east-west traffic exploitation.
Sources
- When AI infrastructure becomes the target: Securing gateways and control pointshttps://www.microsoft.com/en-us/security/blog/2026/08/26/when-ai-infrastructure-becomes-target-securing-gateways-control-points/Verified
- When AI infrastructure becomes the target: Securing gateways and control pointshttps://www.microsoft.com/en-us/security/blog/2024/08/26/when-ai-infrastructure-becomes-target-securing-gateways-control-points/Verified
- CISA Adds Three Known Exploited Vulnerabilities to Cataloghttps://www.cisa.gov/news-events/alerts/2024/08/27/cisa-adds-three-known-exploited-vulnerabilities-catalogVerified
- LiteLLM Security Advisory - Command Execution via MCP Endpointshttps://github.com/BerriAI/litellm/security/advisories/GHSA-xh26-6qx4-fj72Verified
- Critical Vulnerabilities in AI Infrastructure Components Exploited in the Wildhttps://www.horizon3.ai/research/cve-2024-42271-litellm-unauthenticated-rce/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF would likely reduce attack scope and blast radius through workload segmentation and east-west traffic controls. While initial exploitation may still occur, lateral movement and credential harvesting across containerized AI infrastructure would be significantly constrained.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Initial compromise of exposed AI services may still occur, but workload isolation would likely limit the attacker's ability to immediately access broader infrastructure resources beyond the initially compromised container or service boundary.
Control: Zero Trust Segmentation
Mitigation: Credential harvesting within compromised processes may still occur, but zero trust segmentation would likely limit the scope of resources accessible using those credentials, constraining the attacker's ability to leverage stolen keys across the entire infrastructure.
Control: East-West Traffic Security
Mitigation: Container enumeration and lateral movement between workloads would likely be significantly constrained, reducing the attacker's ability to discover and access credentials stored in adjacent containers or traverse the containerized infrastructure freely.
Control: Multicloud Visibility & Control
Mitigation: Command and control communications would likely be detected and potentially blocked, constraining the attacker's ability to maintain persistent communication channels across multiple vectors and reducing the effectiveness of their infrastructure control mechanisms.
Control: Egress Security & Policy Enforcement
Mitigation: Data exfiltration attempts would likely be constrained through controlled egress policies, reducing the attacker's ability to successfully transmit sensitive credentials and configuration data to external infrastructure through unauthorized outbound channels.
While mining deployment may still occur within compromised workloads, the overall impact would likely be limited to the initially accessible container boundaries, reducing resource abuse scope and constraining the attacker's ability to monetize the broader infrastructure.
Impact at a Glance
Affected Business Functions
- AI Model Management
- Data Processing Pipelines
- Workflow Orchestration
- API Gateway Services
Estimated downtime: 3 days
Estimated loss: $250,000
Compromised AI infrastructure exposed model provider API keys, database connection strings, tenant configuration data, virtual authentication tokens, and compute resources. Attackers gained access to PostgreSQL databases containing LiteLLM proxy configurations and credential material, while also harvesting container environment variables containing cloud service credentials and API tokens across multiple AI workloads.
Recommended Actions
Key Takeaways & Next Steps
- • Implement Zero Trust segmentation and least privilege access controls to isolate AI gateway processes and limit blast radius of container compromises
- • Deploy egress security and policy enforcement to block unauthorized outbound connections to mining pools, raw-IP infrastructure, and unapproved destinations
- • Enable multicloud visibility and anomaly detection to identify suspicious automation, repeated malformed requests, and abnormal resource consumption patterns
- • Encrypt traffic in transit using HPE capabilities and secure hybrid connectivity to prevent credential exposure during data transmission
- • Establish threat detection and response capabilities specifically tuned for AI infrastructure anomalies including process spawning from gateway contexts and unauthorized secret access



