AI Risk Wire

Cases › security breach › LR-2026-0725

Malicious HEIF upload reached OpenAI internal GitHub

Preliminary Why: 1 report: eSecurity Planet · subject to change · 1 independent report

Status: fix reported

Severity moderate
Reported 21 Sep 2026

No source states: loss or records, developer and model, agent tool, could do, deployer, industry.

A malicious HEIF image uploaded to OpenAI's public community forum gave researchers a path to the company's internal GitHub environment. The forum's image handling passed HEIC and HEIF files to ImageMagick, which exposed a libheif parser with an unpatched heap-buffer-overflow flaw. Researchers chained this with a separate single sign-on flaw and gained access to employee ChatGPT and Codex accounts. They used a GitHub-connected Codex instance to create a harmless pull request in OpenAI's private monorepo as proof of access, then stopped testing. The researchers reported the identity issue in July, and OpenAI fixed it roughly 14 hours later. Researchers published the full chain on September 13. On September 15, Discourse updated its default base image and confirmed that image processing is now sandboxed.

What happened

1 · What it was doingResearchers used a Codex instance to open a harmless proof-of-access pull request, then stopped.
2 · How it was caughtThe issue was reported to OpenAI in July and the identity-side flaw was fixed about 14 hours later.

What was done

Fix reported

“On September 15, Discourse updated its default base image to include libheif 1.23.4 and confirmed that image processing is now sandboxed.”

Sandboxed code execution Known flaws patched

Risks

Read from the sources; not yet reviewed by a person.

Controls

Model

Effective Flaw reporting and bug bounty

Control failure chain

L1 · Model EffectiveProvider not named
L2 · Harness Not stated in sourcesHarness not named
L3 · Application Not stated in sourcesDeployer not named
L4 · Infrastructure / target Not stated in sourcesOrganisation hit

L1 · ModelProvider not namedModel provider

EffectiveFlaw reporting and bug bounty“Hacktron’s technical disclosure says OpenAI fixed the identity-side issue roughly 14 hours after it was reported in July and later awarded the researchers a $6,500 bounty.”eSecurity Planet

Model version not linked to a model card.

L2 · HarnessHarness not namedAgent framework vendor

No source mentions a control at this layer.

L3 · ApplicationDeployer not namedDeployer

No source mentions a control at this layer.

Other controls for this risk at this layer, not mentioned in the sources: Short-lived, scoped credentials, Secrets kept out of the model's context, Separate identity for each agent, Least-privilege access for the agent, Alerts on unusual tool use, Activity logs, Sensitive-data checks on outbound data.

L4 · Infrastructure / targetOrganisation hit

No source mentions a control at this layer.

Other controls for this risk at this layer, not mentioned in the sources: Multi-factor sign-in and password policy, Secrets scanning.

EffectiveNot effectiveNot effective (bypassed)Did not existNot stated in sourcesNot yet checkedAttacker's ownOrder: model · harness · application · target

Controls for this risk: result in this incident

ControlPart of the systemResult
Flaw reporting and bug bountyL1 ModelEffective
Least-privilege access for the agentL3 ApplicationNot stated in sources
Separate identity for each agentL3 ApplicationNot stated in sources
Short-lived, scoped credentialsL3 ApplicationNot stated in sources
Secrets kept out of the model's contextL3 ApplicationNot stated in sources
Activity logsL3 ApplicationNot stated in sources
Alerts on unusual tool useL3 ApplicationNot stated in sources
Sensitive-data checks on outbound dataL3 ApplicationNot stated in sources
Multi-factor sign-in and password policyL4 Infrastructure / targetNot stated in sources
Secrets scanningL4 Infrastructure / targetNot stated in sources

Evidence

No source states: what went wrong, what it reached or did, when it happened, how many records were exposed, the direct loss, a count of the other parties affected, any court case, the cause, what set it off, what was done.

Show the full account: 6 items from the primary sources

What happened, in order

  1. July Identity-side issue reported in July and fixed by OpenAI roughly 14 hours later.
  2. July 25 Compromise of OpenAI's Discourse-hosted forum on July 25.
  3. By July 25 Remote code execution on the forum achieved, and an employee account with a connected Codex instance taken over.
  4. September 13 Hacktron published the full attack chain.
  5. September 15 Discourse updated its default base image to libheif 1.23.4 and confirmed sandboxed image processing.

Not dated in the sources:

  • Researchers instructed Codex to open pull request #1186742 as proof of access, then stopped testing.
Show every field, with its source and grade

What happened

Earliest source we hold
2026-09-21
D inferred by us from the described behaviour, reason shown
Who caught it
an independent researcher or journalist
C one secondary source states it
Who caused it
an outside attacker
C one secondary source states it
Where its input came from
Malicious HEIF image uploaded to OpenAI’s public community forum
C one secondary source states it
What was done
OpenAI fixed the identity-side issue roughly 14 hours after it was reported in July
C one secondary source states it
What went wrong
security breach
C one secondary source states it
AI agent
an AI agent acted
C one secondary source states it
What it did
Separate identity flaw used to take over an employee account whose Codex instance was connected to OpenAI's GitHub organization
C one secondary source states it
primary risk
RK03
D inferred by us from the described behaviour, reason shown
secondary risks
RK08
D inferred by us from the described behaviour, reason shown
control chain
layer: L1; party: provider; party name: OpenAI; control id: I5; outcome: held; quote: Hacktron’s technical disclosure says OpenAI fixed the identity-side issue roughly 14 hours after it was reported in July and later awarded the researchers a $6,500 bounty.; source index: 0
C one secondary source states it
remediations
kind: fix; controls added: J1, E1; quote: On September 15, Discourse updated its default base image to include libheif 1.23.4 and confirmed that image processing is now sandboxed.; source index: 0
C one secondary source states it

Impact

Severity
moderate
D inferred by us from the described behaviour, reason shown

Notes on gaps

The article's sandboxing and hardening recommendations are advice and were not recorded as controls that held in this incident.

LR-2026-0725 · version 1 · published 2026-11-01 after automatic checks; not yet checked field by field by a person · JSON