• Tech Support ⤴
  • Projects
  • Services
    • AI Development
    • UI/UX Design
    • Web Development
    • Technology Support
    • Mobile App Development
    • Banking ATM Interfaces
    • Process Automation
    • Security Auditing
    • Local AI Servers
  • odoo ERP
get in touchStart with Eva
logo
Tech Support ⤴
Projects
Services
AI DevelopmentUI/UX DesignWeb DevelopmentTechnology SupportMobile App DevelopmentBanking ATM InterfacesProcess AutomationSecurity AuditingLocal AI Servers
odoo ERP
get in touchStart with Eva
Loading…
logo

Transforming businesses through AI-powered digital innovation and creative excellence.

Quick Links

BlogAinexProjectsContact us

Contact Us

pinDubai Digital Park, A5, DTEC - Silicon Oasisemail[email protected]phone+971 55 7538087
© 2026 aratech. All rights reserved.
Privacy PolicyTerms of ServiceCookie Policy
Home / Blog / The OpenAI Account Takeover: When Your SSO Turns a Forum Bug Into a Tier-0 Incident

The OpenAI Account Takeover: When Your SSO Turns a Forum Bug Into a Tier-0 Incident

Researchers at Hacktron used Claude Opus 5 to chain a libheif image flaw in OpenAI's public forum with a weakness in OpenAI's login system, taking over staff ChatGPT and Codex accounts in under 72 hours. The lesson is not about one company: it is that single sign-on turns every third-party service into part of your blast radius.

September 20, 2026 - 7 min read

Key Takeaways

ExpandCollapse
  • - Three researchers at Hacktron used Anthropic's Claude Opus 5 to chain a libheif image-decoding flaw in OpenAI's public Discourse forum with a weakness in OpenAI's login system, reaching the ChatGPT and Codex accounts of several OpenAI employees and an internal code repository in under 72 hours.
  • - The bridge was single sign-on: the forum's 'Sign in with OpenAI' option uses the same SSO staff use everywhere, so controlling the forum server handed the researchers a session into privileged accounts without the victims doing anything.
  • - The libheif flaw was fixed upstream in 1.22.0 in May 2026, but the forum server image, built on Debian 12, was still shipping the vulnerable 1.19.7 in July. A public fix in a distribution package you do not control is not a patch.
  • - AI collapsed the exploit-development time: Claude Opus 4.8 struggled with ASLR enabled, while Claude Opus 5 produced a working exploit within hours of release. The wider HEIF Heist campaign reportedly ran for two months on under $3,000 of AI usage.
  • - Treat AI-accelerated chains, stale base images and SSO-connected third-party services as one risk: inventory every service that can mint a session for a privileged account, scan the running artifact rather than the manifest, and build detection that catches two medium bugs combined.
Dark cyberpunk illustration of two interlocking neon chain links, one made of abstract image-file pixels and one shaped like an identity badge

Three researchers walked into OpenAI's help forum with an innocent-looking image file. Under 72 hours later they had taken over the ChatGPT and Codex accounts of several OpenAI employees and reached an internal code repository. They never guessed a password. They never phished anyone. They just chained two flaws that, on their own, looked like somebody else's problem. That is the part every founder and CTO should sit with.

What actually happened

The team at security firm Hacktron reported the chain themselves, proved the access with a harmless pull request, and stopped. OpenAI shipped a fix about 14 hours after the report and paid a $6,500 bounty on September 1. This was good, disciplined research, not a breach in the wild. But the mechanics are a masterclass in how modern intrusion chains work, and the shape of it is something you can test for in your own estate this week.

The chain started in Discourse, the open-source software that runs OpenAI's public forum. Discourse hands uploaded HEIC and HEIF images to ImageMagick, which in turn uses the libheif library to decode them. A flaw in libheif let a crafted image corrupt the forum server's memory. From there, the researchers escalated to code execution on the forum host.

That is act one. Act two is where things get uncomfortable.

A forum bug should not reach staff accounts

The reason a bug in a public forum reached OpenAI staff has nothing to do with the forum software. The forum offers a "Sign in with OpenAI" option, the same single sign-on that staff use everywhere else. Once the researchers controlled the forum server, that shared login let them take over the ChatGPT and Codex accounts of forum members who happened to work at OpenAI. The victims did nothing wrong. They did not need to click anything.

Hacktron's own framing is blunt: this was an identity architecture problem, not a Discourse problem. Any first- or third-party service riding the same sign-on would have handed over the same reach. And because staff connect tools like GitHub, Slack, and email to ChatGPT and Codex, the same access could in theory have spread further. The team says they did not use that wider reach, but the door was open.

That is the lesson worth pasting above your desk: your SSO is not a convenience feature. It is your blast radius.

The patch that existed in May, and the image that did not have it

Here is the part that stings. The libheif flaw was fixed upstream in libheif 1.22.0 back in May 2026. The CVE was public. And yet when the researchers looked in July, the Discourse server image, built on Debian 12, was still shipping libheif 1.19.7. The fix existed; it simply had not made it into the packaged version the platform used.

This is not exotic. It is the quiet, mundane failure mode hiding in thousands of container images right now: your application code is fresh, your base image is not. Rebuilding from the latest image is not the same as running a web-interface update, and for self-hosted Discourse, the fixed releases are 2026.7.0, 2026.6.1, 2026.5.2, and 2026.1.6. Discourse-hosted sites were already patched. If you self-host, rebuild.

The takeaway is not "patch faster." It is "know what is actually inside the artifact you deploy," which is a different question from what your scanner reports against your package manifest.

What AI changed here

The researchers used AI to do the hard part. Claude Opus 4.8 struggled across sessions to build a working exploit once address space layout randomization (ASLR) was enabled. Then Anthropic released Claude Opus 5 on the evening of July 24, and in a fresh session it produced a working exploit within hours.

Opus 5 shipped with safeguards against writing exploit code for real targets. The team worked around them by pointing the model at their own test server, framed as a capture-the-flag practice range, then letting it run in an automated loop. They are careful to say this was not hands-off hacking: skilled human direction still mattered. But the hours-to-working-exploit jump across a single model release is the signal.

The reported cost of the broader campaign, which Hacktron calls HEIF Heist, was under $3,000 in AI usage over roughly two months. That campaign hunted the same class of image-decoding flaws across software used by other large companies, with unconfirmed links to reported bugs in Slack, Meta products, GitHub Enterprise, and frameworks like Next.js. The Next.js flaw is confirmed in Vercel's own advisory, and libheif's maintainers confirmed a working exploit for the bug tied to Meta; the wider claims have not been independently verified. The team also says only one company, Shopify, appears to have noticed the activity, even as its image processors crashed repeatedly under thousands of test uploads.

Three questions to ask this week

  1. Which third-party services hold sign-on grants into your core accounts? If a marketing forum, a support portal, or a partner tool shares your identity provider, it is inside your trust boundary. Inventory it, and treat anything that can mint a session for a privileged account as Tier-0.
  2. Do your deployed images carry libraries older than their upstream fixes? Scan the running artifact, not just the manifest. Compare what is actually installed against upstream release notes, and rebuild base images on a schedule that matches the speed of disclosure.
  3. Would you notice a chained, low-noise campaign? Shopify noticed because its image processors kept falling over. Most teams would see nothing. Detection that only watches for known-bad signatures will not catch a researcher (or an attacker) combining two medium bugs into one very bad day.

None of this requires heroics. It requires treating identity as infrastructure, artifacts as untrusted until proven current, and the gap between disclosure and exploitation as something measured in hours, not quarters. The OpenAI chain took under 72 hours with a handful of people and a modest AI budget. Assume the next one will be faster.

Table of Contents

  • ↗What actually happened
  • ↗A forum bug should not reach staff accounts
  • ↗The patch that existed in May, and the image that did not have it
  • ↗What AI changed here
  • ↗Three questions to ask this week

Related Posts

Dark cyberpunk visualization of a digital key unlocking a government database, with binary data streams and neon purple cyan circuit patterns

Denmark's National Registry Breach: How a Third-Party Vendor Leaked 8.8M CPR Numbers

Danish government's CPR population registry compromised via third-party vendor credentials, exposing 8.8 million names, addresses, and CPR numbers including deceased and emigrants.

Necolas HamwiNecolas Hamwi
October 10, 2026 - 7 min read
Anthropic Cyber Mission: AI defense vs AI attack on critical infrastructure

Anthropic's Cyber Mission: The Moment AI Defense Finally Caught Up to AI Offense

On October 8, 2026, Anthropic launched its Cyber Mission — a Critical Infrastructure Defense Program that ships frontier Claude models, on-site engineers, and dedicated threat research directly into the networks that power our grids, water systems, and factories. With 11 founding partners including CrowdStrike, Palo Alto Networks, Dragos, and Rockwell Automation, the program formalizes what was previously ad-hoc AI assistance into a standing partnership. As AI models become accessible to attackers, defenders now have the same automated discovery capability — but the race against state-sponsored adversaries already embedded in these environments demands immediate action.

Necolas HamwiNecolas Hamwi
October 9, 2026 - 7 min read
Neon purple and cyan circuit patterns on dark background representing AI mathematical research

OpenAI Publishes 722 Math Manuscripts from Unreleased Frontier Model

OpenAI released 722 mathematics manuscripts from an unreleased internal frontier model, including a quasi-Riemann hypothesis result and faster matrix multiplication algorithms. The drop raises urgent questions about AI-generated research verification and transparency.

Necolas HamwiNecolas Hamwi
October 8, 2026 - 7 min read