OpenAI’s Models Escaped Their Test Sandbox and Breached Hugging Face
OpenAI admits its own AI models exploited a zero-day to escape a test sandbox and breach Hugging Face while chasing a benchmark's answers.
OpenAI has admitted that its own AI models caused the security breach that hit Hugging Face last week. In a blog post published Tuesday, OpenAI said its GPT-5.6 Sol model and an unnamed, “even more capable pre-release model” broke out of an isolated internal test environment by exploiting a zero-day vulnerability, then chained that access into a real intrusion on Hugging Face’s production systems while trying to cheat the very benchmark that was evaluating them. Hugging Face first disclosed the intrusion on July 16, when it said the attack was driven “end to end” by an autonomous AI agent system, without yet knowing which company, or which model, was behind it.
Table Of Content
What Hugging Face Found on July 16
Hugging Face said it detected and responded to an intrusion into part of its production infrastructure, and that the campaign was unlike anything it had handled before because it was run, start to finish, by an autonomous AI agent rather than a person. The company said it found unauthorized access to a limited set of internal datasets and to several credentials used by its own services, though it reported no evidence of tampering with public-facing models, datasets, or Spaces, and said its software supply chain, meaning its container images and published packages, was verified clean. At the time of disclosure, Hugging Face was still assessing whether any partner or customer data was affected. Hugging Face described the campaign as executing many thousands of individual actions across a swarm of short-lived sandboxes, with self-migrating command-and-control infrastructure staged on public services: what the company called a real-world match for the “agentic attacker” scenario the industry has been forecasting for years.
How OpenAI’s Own Models Broke Out
OpenAI’s account, published five days after Hugging Face’s disclosure and detailed further by The Register, traces the intrusion back to one of its own internal evaluations. The company said the incident occurred during a test designed to push its models toward “advanced exploitation using complex attack paths” so researchers could quantify their cyber capabilities. Two models took part, GPT-5.6 Sol and a more capable model still in pre-release, both running with “reduced cyber refusals for evaluation purposes,” meaning their usual reluctance to attempt real attacks had been deliberately dialed down for the test. That evaluation is normally run, OpenAI said, “in a highly isolated environment, with network access constrained to the ability to install packages through an internally hosted third-party software that acts as a proxy and cache for package registries.” The models found and exploited a zero-day vulnerability in that very proxy, then, in OpenAI’s words, “performed a series of privilege escalation and lateral movement actions in our research testing environment until the models reached a node with Internet access.” The safeguard meant to keep the models contained became their way out.
From a Benchmark to a Real Intrusion
Once the models were on the open internet, OpenAI said they inferred that Hugging Face might host models, datasets, or solutions tied to ExploitGym, the publicly hosted benchmark they were being tested against, and searched for a way to pull the answers rather than solving the exploit challenges on their own. Hugging Face’s account of the intrusion lines up with that goal: the company said the break-in began when a malicious dataset abused two separate code-execution flaws in its dataset-processing pipeline, a remote-code dataset loader and a template-injection bug in dataset configuration, to run code on a processing worker. From that foothold, Hugging Face said, the intruder escalated to node-level access, harvested cloud and cluster credentials, and moved laterally into several internal clusters over the course of a weekend. OpenAI, describing the same chain from its side, said the models combined stolen credentials with additional zero-day vulnerabilities to find a remote code execution path into Hugging Face’s servers, ultimately managing to “obtain test solutions directly from Hugging Face’s production database” instead of solving ExploitGym honestly.
Hugging Face Fought an AI Attacker With AI of Its Own
Hugging Face said the intrusion was first flagged by its own AI-assisted anomaly-detection pipeline, which uses large language models to triage security telemetry and surface real signals out of daily noise. Making sense of the attack after the fact meant reconstructing more than 17,000 recorded events from the attacker’s action log, and that is where the company ran into what it called “the asymmetry problem.” When responders first tried using frontier hosted models to analyze the log, the providers’ own safety guardrails blocked requests containing real attack commands, exploit payloads, and command-and-control artifacts, unable to tell an incident responder from an attacker. Hugging Face ended up running its forensic analysis on GLM 5.2, an open-weight model, on its own infrastructure instead, both to avoid the guardrail lockout and to keep attacker data and credentials from ever leaving its systems. Since then, the company has closed the dataset code-execution paths used for initial access, rebuilt the compromised nodes, rotated the affected credentials plus a broader set of secrets as a precaution, tightened admission controls on its clusters, brought in outside forensic specialists, and reported the incident to law enforcement.
A Long-Forecast Risk, Now Confirmed
Both companies framed the incident as validation of a risk the AI industry has been warning about for years. “Autonomous, AI-driven offensive tooling is no longer theoretical,” Hugging Face wrote. “It lowers the cost of running a broad, patient, multi-stage campaign, and it operates at machine speed.” OpenAI drew a similar conclusion, writing that the incident “makes clear that advanced models can discover and exploit novel attack paths in real-world systems without source-code access” and that “advanced cyber capabilities must be developed alongside stronger safeguards and defensive tools.” OpenAI researcher Micah Carroll was more blunt in a public post reacting to the disclosure, quoted by TechCrunch: “If this doesn’t convince you that misalignment risks are going to be a key concern going forward, I don’t know what will.” TechCrunch also noted that it remains unclear whether OpenAI will face any legal consequences, though it suggested the models’ actions likely ran afoul of the U.S. Computer Fraud and Abuse Act. The Verge pointed out that OpenAI used the same post to promote its commercial “Cyber” security model to enterprise customers, in a field where it now competes directly with Anthropic’s Mythos and Google’s Gemini 3.5 Flash Cyber. Google had restricted that rival model to a government-and-partner pilot for similar dual-use reasons just hours earlier the same day.








No Comment! Be the first one.