Executive Summary
In October 2026, cloud hosting provider Railway suffered a sophisticated two-stage breach that exposed decrypted environment variables for up to 100,000 customer workspaces and resulted in approximately $740,000 in fraudulent AI usage charges. Beginning on October 20, attackers exploited an unknown vulnerability in Railway's build infrastructure to escape filesystem isolation, obtain an internal credential, and exfiltrate a copy of the platform's source code. A second vulnerability involving a misconfigured trust relationship then allowed adversaries to retrieve customer credential decryption keys. Using AI-powered agents, attackers specifically targeted AI provider API keys and orchestrated a 26-hour adversarial contest against Railway's engineering team before being fully evicted on October 21.
This incident is part of a broader campaign dubbed 'Black October' by Wiz, targeting AI developer platforms including Northflank, OpenCode, Warp, and Lightning AI. It underscores how AI credential theft — or LLMjacking — has evolved into a scalable, financially motivated attack class where stolen API keys are monetized through model distillation or resale, exposing cloud-native organizations to both direct financial liability and downstream supply-chain risk.
Why This Matters Now
LLMjacking attacks are accelerating in 2026 as AI API keys become high-value targets rivaling financial credentials. The 'Black October' campaign demonstrates that build pipeline vulnerabilities and misconfigured trust relationships in cloud-native platforms can be chained rapidly by AI-augmented threat actors, outpacing traditional detection and response timelines and generating six-figure fraudulent charges within hours.
Attack Path Analysis
Attackers exploited an unknown vulnerability in Railway's build infrastructure to escape filesystem isolation and obtain an internal credential, then leveraged a misconfigured trust relationship to escalate privileges and access decrypted customer environment variables at scale. Using AI-powered agents over approximately 26 hours, they moved laterally across Railway's internal systems, identified and exfiltrated AI provider credentials, and used those credentials to generate approximately $740,000 in fraudulent AI usage charges across affected provider accounts.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Attackers exploited a previously unknown vulnerability in Railway's build infrastructure to escape filesystem isolation, obtaining an initial internal credential. This container or sandbox escape gave the adversary a foothold within Railway's internal environment without requiring phishing or external credential theft.
MITRE ATT&CK® Techniques
Exploit Public-Facing Application
Unsecured Credentials: Credentials In Files
Credentials from Password Stores
Valid Accounts: Cloud Accounts
Data from Cloud Storage
Transfer Data to Cloud Account
Resource Hijacking
Container and Resource Discovery
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
NIST SP 800-53 Rev 5 – Protection of Information at Rest / Authenticator Management
Control ID: SC-28 / IA-5
PCI DSS 4.0 – Protection of Stored Account Data / Access Control System
Control ID: Requirement 3.4 / 7.2
DORA (EU) 2022/2554 – ICT Security Policies and Access Management / Detection Capabilities
Control ID: Article 9 / Article 10
NIS2 Directive (EU) 2022/2555 – Policies on Risk Analysis and Supply Chain Security
Control ID: Article 21(2)(a) / 21(2)(e)
CISA Zero Trust Maturity Model 2.0 – Identity Verification and Application Workload Segmentation
Control ID: Identity Pillar: Advanced / Application Pillar: Initial
ISO/IEC 27001:2022 – Information Access Restriction / Use of Cryptography / Secure Development Lifecycle
Control ID: Annex A 8.3 / 8.24 / 8.25
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Information Technology/IT
Cloud hosting platforms face LLMjacking via credential theft from environment variables, risking $740K+ in fraudulent AI charges and exposure of up to 100,000 developer workspaces requiring zero trust segmentation.
Computer Software/Engineering
Software development platforms storing OAuth tokens, AI agent keys, and build secrets are primary LLMjacking targets; egress policy enforcement and multicloud visibility controls are critical compliance mitigations.
Internet
AI-powered infrastructure attacks exploiting misconfigured trust relationships and build isolation vulnerabilities expose internet platform providers to cascading credential theft, unauthorized AI usage, and PCI/NIST compliance failures.
Computer/Network Security
Security vendors must address AI credential exfiltration via east-west lateral movement controls and anomaly detection, as Railway's 26-hour agentic attacker contest highlights gaps in cloud-native enforcement fabrics.
Sources
- Railway breach leads to $740,000 in fraudulent AI chargeshttps://www.bleepingcomputer.com/news/apple/railway-breach-leads-to-740-000-in-fraudulent-ai-charges/Verified
- Railway Incident Report: October Security Incidenthttps://blog.railway.com/p/incident-report-october-security-incidentVerified
- Railway Warns Devs to Rotate Secrets After Potential Breachhttps://www.bleepingcomputer.com/news/security/railway-warns-devs-to-rotate-secrets-after-potential-breach/Verified
- Wiz Research: Black October for AI Developer Platformshttps://www.wiz.io/blog/black-october-for-ai-developer-platformsVerified
- OpenCode Hack Exposes API Keys Amid AI Distillation Attackshttps://www.bleepingcomputer.com/news/security/opencode-hack-exposes-api-keys-amid-ai-distillation-attacks/Verified
- Google: LLMjacking Attacks Rack Up $1 Million in Cloud AI Chargeshttps://www.bleepingcomputer.com/news/security/google-llmjacking-attacks-rack-up-1-million-in-cloud-ai-charges/Verified
- Warp Discloses Breach Exposing AI Agent Logs and User Telemetry Datahttps://www.bleepingcomputer.com/news/security/warp-discloses-breach-exposing-ai-agent-logs-user-telemetry-data/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant to this incident because the attacker's success depended on unrestricted internal reachability across Railway's build infrastructure, secrets stores, and customer environment data. Enforced workload segmentation and identity-aware access boundaries would likely have constrained the blast radius across the 26-hour adversarial campaign, limiting lateral reach and reducing the scope of credential exposure.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: A compromised build workload would likely find its internal reachability constrained, reducing its ability to communicate freely with adjacent infrastructure components beyond its defined role.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation would likely constrain the ability of a low-privilege internal credential to reach secrets infrastructure or trust-bearing services beyond its defined access scope.
Control: East-West Traffic Security
Mitigation: East-west traffic enforcement would likely reduce the number of internal paths available for AI-driven agents to traverse, narrowing the pivot surface across Railway's infrastructure components.
Control: Multicloud Visibility & Control
Mitigation: Multicloud visibility controls could surface anomalous internal traffic patterns generated by autonomous agent activity, potentially reducing the window during which multi-route probing went undetected across Railway's environment.
Control: Egress Security & Policy Enforcement
Mitigation: Controlled egress policy enforcement would likely reduce the ability of internal workloads to transmit large volumes of extracted credentials or make unauthorized outbound connections to external AI provider endpoints.
Had earlier segmentation and egress constraints reduced lateral reach and outbound credential exfiltration paths, the scope of exposed workspaces and operationalized credentials would likely have been smaller, limiting the financial and supply chain impact to a reduced subset of Railway's customer base.
Impact at a Glance
Affected Business Functions
- Cloud Application Hosting and Deployment Pipelines
- Customer Secrets and Environment Variable Management
- AI Provider Integration and API Credential Storage
- Developer OAuth and Third-Party Linked Account Services
Estimated downtime: 2 days
Estimated loss: $740,000
Decrypted customer environment variables for up to approximately 100,000 workspaces were accessed, potentially exposing AI provider API keys, cloud service credentials, database connection strings, and payment service secrets. Linked-account tokens for 1,852 users were confirmed stolen, including GitHub OAuth tokens and AI agent keys. Stolen AI credentials were actively used to generate approximately $740,000 in unauthorized AI inference charges across affected AI providers. Additionally, Railway's internal source code was exfiltrated, potentially exposing proprietary platform logic and additional attack surface details.
Recommended Actions
Key Takeaways & Next Steps
- • Apply Zero Trust Segmentation (microsegmentation and namespace-level identity-based policy) to build infrastructure so that a compromised build environment cannot access secrets stores or internal source code repositories — containing the blast radius of filesystem escape exploits before privilege escalation occurs.
- • Deploy Multicloud Visibility and anomaly detection controls to establish behavioral baselines for internal API and secrets access patterns, enabling detection of AI-agent-driven parallel probing across infrastructure routes in near real time.
- • Enforce Egress Security and Policy Enforcement with FQDN-based outbound filtering and egress firewall rules to block unauthorized outbound connections to AI provider endpoints from compromised workloads, preventing stolen credentials from being immediately weaponized for fraudulent usage.
- • Implement East-West Traffic Security controls to restrict workload-to-workload and service-to-service communication within build and secrets management infrastructure, preventing lateral pivoting from an initially compromised build component to credential decryption services.
- • Leverage Cloud Native Security Fabric (CNSF) with inline enforcement and real-time inspection across the control plane to detect agentic AI tooling behavior, shadow AI usage patterns, and autonomous multi-route exploitation attempts characteristic of ARTEX-style attack harnesses before exfiltration completes.



