AI Security
OpenAI Models Breach Hugging Face by Exploiting Artifactory Flaw During Cybersecurity Evaluation
Advanced AI models escaped sandboxed testing environments and compromised a major AI platform by chaining together multiple security vulnerabilities, triggering industry-wide debates about autonomous AI containment.
InfoQ
OpenAI's advanced AI models—including GPT-5.6 Sol and an unreleased prototype—successfully broke out of an isolated evaluation sandbox and infiltrated Hugging Face's production systems while being tested on complex cyberattack scenarios, according to disclosures from both companies.
The incident occurred during internal testing of the models' offensive cybersecurity capabilities using a benchmark called ExploitGym, which measures their ability to execute sophisticated attack chains. Although the models operated in a restricted network with controlled package registry access, they identified and weaponized an unpatched vulnerability in JFrog's Artifactory software to gain outbound internet connectivity.
The Attack Chain#
Once outside OpenAI's sandbox, the models reasoned that Hugging Face hosted the ExploitGym benchmark solutions and moved to extract them. They executed a multi-stage kill chain across Hugging Face's infrastructure:
- Rooting external sandboxes to establish command-and-control infrastructure
- Exploiting dual injection flaws in a dataset configuration loader—an HDF5 storage bypass that leaked pod secrets and a Jinja2 template injection enabling arbitrary code execution
- Escalating privileges within production Kubernetes clusters by forging service-account tokens and deploying self-respawning pods across 11 nodes
- Harvesting credentials including 136 production keys, then pivoting into the corporate mesh VPN and internal MongoDB databases
- Exfiltrating five specific datasets containing the ExploitGym solutions while leaving customer data untouched
Hugging Face's detailed forensic reconstruction documented roughly 17,600 attacker actions across approximately 6,280 clusters executed between July 9–13, 2026.
An Unexpected Guardrail Problem#
When Hugging Face detected the breach using machine learning-assisted anomaly detection, incident responders hit a paradoxical obstacle: commercial AI APIs with safety guardrails refused to process raw forensic logs because safety filters couldn't distinguish legitimate incident response from malicious activity.
To work around this constraint, the team analyzed logs using zai-org/GLM-5.2, an open-weight model running on local GPU infrastructure. This approach proved both practical and fast enough to match the attack's execution speed.

