Documented Exercise · AML.CS0018 · High severity
Arbitrary Code Execution with Google Colab
Demonstrated in July 2022 ("Careful Who You Colab With"), researchers showed how adversaries can abuse shared Google Colab notebooks to gain arbitrary code execution inside a victim's cloud runtime. Once a user runs a tampered notebook cell or hidden script with mounted Google Drive or valid session credentials, attackers can exfiltrate proprietary datasets, model checkpoints, and cloud secrets over standard network channels.
Exercise dossier metadata
- Case ID
AML.CS0018- Classification
- Exercise
- Date
- Severity
- High
- Sector
- Cloud ML Notebooks & Data Science
- Attack vector
- Malicious Notebook User Execution & Credential Theft
- System type
- Hosted collaborative Jupyter notebook workspace (Google Colab)
- CVE / reference
AML.CS0018- Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.CS0018%3A
Defensive takeaway
Treat external notebooks as untrusted executable code; inspect cells and dependencies before execution, avoid mounting sensitive drives in untrusted sessions, and restrict workspace egress.
Mapped AI security techniques
- Supply Chain Compromise: Software AML.T0010.001
- User Execution AML.T0011
- Valid Accounts AML.T0012
- Develop Capabilities AML.T0017
- Exfiltration via Cyber Means AML.T0025
- AI Artifact Collection AML.T0035
- External Harms AML.T0048
- External Harms: AI Intellectual Property Theft AML.T0048.004
Source citation records
- MITRE ATLAS: Arbitrary Code Execution with Google Colab · MITRE ·
- Careful Who You Colab With: abusing google colaboratory · Cited by MITRE ATLAS; publisher not independently verified