OpenAI patched ChatGPT DNS exfiltration flaw and Codex command injection bug
Emerging Technology Risk · 2 sources · Updated 5mo ago · First seen Mar 30, 2026

OpenAI patched a ChatGPT vulnerability that allowed sensitive conversation data and uploaded files to be exfiltrated through a covert DNS-based outbound channel in the platform's code-execution runtime. Check Point Research said a malicious prompt or backdoored custom GPT could abuse the isolated Python/Linux environment to leak user content without approval dialogs or visible warnings, and the same path could support bidirectional communication for remote shell access and command execution. OpenAI said it had already identified the underlying issue internally and fully deployed a fix on February 20, 2026; reports said there is no evidence of malicious exploitation.
A separate OpenAI flaw in Codex also drew scrutiny after BeyondTrust Phantom Labs disclosed a critical command injection issue tied to GitHub branch names. The bug could let attackers inject commands, steal GitHub tokens, and potentially move laterally across shared repositories before OpenAI patched it on February 5, 2026. The disclosures underscore how AI assistants and coding agents can introduce new enterprise attack paths when outbound communications, runtime isolation, and input validation are not tightly controlled.
Why it matters
Impact assessment
OpenAI users who rely on ChatGPT code execution/data analysis features and Codex-integrated development workflows were exposed to two distinct risks: silent data exfiltration from ChatGPT runtime sessions and command injection in Codex via GitHub branch names. The most affected populations are enterprises using AI assistants for sensitive document analysis, software engineering, and repository operations where uploaded files, conversation content, and GitHub tokens may carry high-value data.
Impact severity is high for confidentiality and potentially high for downstream compromise. The ChatGPT issue could leak user prompts, uploaded files, extracted document content, and model-generated summaries without warnings or approval prompts; the Codex issue could enable arbitrary command execution in agent containers, theft of GitHub User Access Tokens and Installation Access tokens, and lateral movement across shared repositories.
Scope appears broad in product reach but with no confirmed in-the-wild exploitation reported in the references. The ChatGPT flaw affected the platform’s code-execution runtime and custom GPT use cases, while the Codex flaw affected the ChatGPT website, Codex CLI, Codex SDK, and Codex IDE Extension.
Supporting facts
- Entities: OpenAI, ChatGPT, Codex, Check Point Research, BeyondTrust Phantom Labs, GitHub.
- Affected user populations: ChatGPT users uploading sensitive files, organizations using custom GPTs, developers using Codex-connected GitHub workflows.
- Industries at risk: healthcare, software development, enterprises handling intellectual property, customer data, or regulated documents.
- Known exposure examples: Check Point demonstrated leakage of medical document data and model-generated medical assessment content.
- Exploitation status: OpenAI and researchers stated there is no evidence of malicious exploitation of the ChatGPT issue in the wild.
- Patch dates: Codex patched February 5, 2026; ChatGPT runtime issue fully fixed February 20, 2026.


