Claude Opus 5 Helped Researchers Build an Exploit Chain Reaching OpenAI Code

Claude Opus 5 Helped Researchers Build an Exploit Chain Reaching OpenAI Code

AI-generated editorial illustration; not a documentary photograph.

Security researchers at Hacktron AI say Anthropic’s Claude Opus 5 helped them develop a working memory-corruption exploit that became the first step in a chain reaching OpenAI’s private code. According to an account published by Hacktron and reported by The New Stack on September 18, the team stopped after using an employee’s connected Codex account to submit a harmless README change to OpenAI’s private monorepo.

From Image Upload to Code Execution

The initial flaw was a heap buffer overflow in libheif 1.19.7, reached when OpenAI’s Discourse-based community forum processed a crafted HEIC image through ImageMagick. A fix had previously reached the upstream project, but it was not identified as a security update and did not receive a CVE at the time, so the Debian 12 package used by the forum was not backported.

Discourse later confirmed the issue in advisory GHSA-vhm9-85gw-x335. The underlying libheif vulnerability is now tracked as CVE-2026-32882 and carries a CVSS score of 8.8.

A Sharp Model-to-Model Difference

Hacktron first gave the exploitation task to Claude Opus 4.8 on July 24. That model produced a working result only after operating-system memory randomization was disabled, unlike a typical production configuration. After Anthropic released Opus 5 that evening, the researchers say the newer model produced an ARM64 exploit in roughly three hours and remote code execution against a test forum about four hours later.

Excessive SSO Permissions Extended the Breach

Forum access alone did not expose OpenAI’s repositories. Hacktron says OpenAI’s single sign-on tokens granted broader API permissions than required, including access to linked ChatGPT and Codex accounts. One employee’s Codex account was connected to GitHub, creating the route into private repositories. OpenAI later narrowed the forum token permissions and revoked affected tokens and sessions.

Autonomy Had a Material Limitation

In a separate run against infrastructure controlled by Hacktron, Claude reportedly achieved remote code execution and read a container’s /etc/hosts file with limited human involvement. However, the model initially refused to target a live remote host. Researchers bypassed that restriction by presenting their server through a URL that appeared to be a capture-the-flag target, showing that the autonomous result depended on misleading the model about the environment.

The broader two-month project, called HEIF Heist, consumed less than $3,000 in model tokens. OpenAI paid Hacktron a $6,500 bounty for the account-takeover flaw.

Source: Claude couldn’t hack OpenAI. Then Anthropic shipped Opus 5.

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *