Skip to content
Tech News
← Back to articles

Hacking OpenAI

read original get YubiKey 5C NFC Security Key → more articles
Why This Matters

This report details how security researchers chained two critical vulnerabilities—an unpatched image-decoding flaw and an SSO identity flaw—to compromise OpenAI employee ChatGPT and Codex accounts, ultimately gaining access to internal repositories. The incident highlights how interconnected SaaS integrations (GitHub, Slack, email) can turn a single overlooked bug into a massive breach vector, underscoring the growing security risks as AI companies expand tool integrations.

Key Takeaways
Worth a Look

YubiKey 5C NFC Security Key — This story is a stark reminder of how account takeovers can cascade from a single SSO flaw into deep organizational access. A hardware security key like the YubiKey adds a strong phishing-resistant second factor to logins, making the kind of identity-based exploit chain described here far harder to pull off.

See YubiKey 5C NFC Security Key on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.

Intro

On July 25, 2026, we chained two critical vulnerabilities to compromise multiple OpenAI employees’ ChatGPT accounts. With these accounts, we could then access internal OpenAI repositories, and potentially many other connectors.

To prove we had in fact gained the access we believed without allowing ourselves to learn any sensitive information, we used the employee’s Codex to open a PR #1186742 in OpenAI’s internal monorepo openai/openai .

Exploit chain libheif Image decoder Debian Missing security backport ImageMagick Uses libheif Discourse Image uploads OpenAI forum community.openai.com OpenAI SSO Identity flaw ChatGPT / Codex Account access GitHub Connected integration Internal repos OpenAI

Until two months ago, any user or OpenAI employee logging into OpenAI’s own help forum (community.openai.com) could have had their ChatGPT and Codex accounts taken over. Since people can connect various services to Codex and ChatGPT, the scope of what we could theoretically access was huge, including GitHub, Slack and emails.

The entire timeline from initial discovery to access to OpenAI repo access took place in less than 72 hours.

We immediately reported the initial vulnerability to OpenAI and Discourse and worked with them to coordinate the patch. We appreciate their attention to detail and fast resolution of this issue. OpenAI also paid us a $6,500 bounty.

We provide a full timeline of the disclosure process here. The rest of the post details how we discovered the two vulnerabilities, how we used claude models, as well as our takeaways from this experience.

Initial Finding HacktronAI team obtained remote code execution (RCE) and administrative access to the Discourse environment hosted at community.openai.com . Bugcrowd Submission After confirming the cross-product impact, the team coordinated internally on the responsible disclosure process and submitted a report through OpenAI’s Bug Bounty Program on Bugcrowd. OpenAI Employee Account Access & Proof of Concept To demonstrate the practical impact of the vulnerability, we created a harmless proof-of-concept pull request in OpenAI’s internal monorepo (link redacted at OpenAI’s request). We updated the existing Bugcrowd submission with these findings, reached out to friends at OpenAI on Twitter/X to notify them directly, and ceased all further testing at approximately 15:30 UTC. OpenAI-Side Fix Confirmed OpenAI replied to the report confirming the issue had been fixed, roughly 14 hours after the initial submission. Discourse Reported via HackerOne We submitted a report to Discourse through its HackerOne program. Discourse Responded Discourse replied to the report on Sunday. Discourse Fix Ready Discourse had a fix ready by Monday and added image-processing sandboxing as defense in depth. Discourse Advisory Published Discourse published GHSA-vhm9-85gw-x335 with patch and rebuild guidance. OpenAI Rewarded $6,500 Bounty and Marked Resolved OpenAI comment — To clarify the scope of that award: testing against the Discourse-hosted community.openai.com was explicitly excluded from our bug bounty program. The award recognizes the OpenAI-side finding, not the actions against Discourse.

Background

... continue reading