AIToday
AI Safety & AlignmentOpen-Source AIZenn AI/MLPublished: Oct 9, 2026, 10:00 JST

Hacktron's Hacking OpenAI: 72 hours to an inside PR

Hacktron's Hacking OpenAI: 72 hours to an inside PR

Hacktron researchers published a report showing how an image upload to OpenAI's help forum led to a harmless pull request (#1186742) in the internal openai/openai monorepo.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The report's value lies not in any single flaw but in how its four steps combine. The first was image handling: Discourse's upload path used FastImage to inspect images, but because FastImage did not recognize HEIC/HEIF, those files were handed unchanged to ImageMagick and then to libheif. The second was a version gap that looks almost unfair — the libheif bug in Debian 12's 1.19.7 had been fixed upstream the previous year, but the fix arrived as a refactoring commit with no security label and no CVE, so Debian's security updates did not carry it, and the vulnerable version remained in both Debian 12 and Debian 13.

The researchers then used that bug as a foothold, leaning on Claude Opus 4.8 and later Opus 5 to build an exploit tuned to Discourse's environment (x86-64, jemalloc for memory management). They tested first on their own Discourse Cloud instance, then succeeded in remote code execution and admin access on OpenAI's forum. From there the path ran through the forum's "Sign in with OpenAI" SSO to an employee's ChatGPT/Codex account. The report does not disclose the exact SSO weakness, but its authors state plainly that the problem was OpenAI's SSO rather than something specific to Discourse.

Finally, the linked Codex agent was used to open a pull request in the openai/openai monorepo. The researchers stopped there by choice, so the damage was what they chose it to be. Their broader point is about speed: the step of building the attack code, historically the work of a skilled person over a long stretch, was compressed with AI help into less than 72 hours from finding the vulnerability to opening the PR.

FAQ
What was the very first step of the attack?
OpenAI's forum runs on the open-source Discourse software. Discourse normally checks uploads with FastImage, but FastImage did not support HEIC/HEIF, so those files were passed straight to ImageMagick's magick command and on to libheif.
Why did regular patching not stop it?
The libheif bug had already been fixed upstream the previous year, but the fix came in as a refactoring commit with no security label and no CVE. As a result it was not included in Debian's security updates, and the vulnerable version stayed in both Debian 12 and Debian 13.
What did the AI agent actually do inside OpenAI?
Once the researchers had access to an employee's account, they found that person's Codex was linked to OpenAI's GitHub organization. They instructed Codex to create a harmless pull request in the internal monorepo, and then stopped the investigation themselves.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleHex cuts wrong edits 7x with evals on Quick Edits