Technadu Critical OpenAI Codex Flaw Exposes GitHub Tokens to Attackers
Article Content
- •OpenAI Codex vulnerability allowed theft of GitHub OAuth tokens through command injection.
- •The flaw was due to improper input validation in branch name processing.
- •OpenAI has patched the vulnerability, but risks associated with AI tools remain significant.
A critical command injection vulnerability in OpenAI's Codex has been discovered, allowing attackers to steal GitHub OAuth tokens from developers. The flaw originated from improper input validation during the branch name processing in Codex's cloud infrastructure. Security researchers from BeyondTrust Phantom Labs identified that malicious actors could inject shell commands via branch names, leading to unauthorized access to sensitive credentials. This vulnerability affected not only the Codex tool but also its command-line interface, SDK, and IDE integrations. OpenAI has since patched the issue, implementing stronger input validation and token controls. The incident highlights the increasing security risks associated with AI coding agents in development environments. Organizations are urged to treat AI execution containers as defined security boundaries and enforce strict access protocols. This incident serves as a cautionary tale regarding the security of AI tools in software development.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (4)
Following this threat?
Track OpenAI in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Continue Reading
Critical BeyondTrust 9.3 Vulnerability Actively Exploited by Threat Actor A critical vulnerability (CVE-2026-102764) in BeyondTrust Remote Support has been discovered and is actively being exploited by the threat group ARMORY CASTLE, reportedly linked to China. The vulnerability, which has a CVSS score of 9.3, allows unauthenticated attackers to upload files and potentially compromise host…
Lazarus APT Launches Operation FlashHole Using AI and Post-Quantum Cryptography Kaspersky has identified a cyberespionage campaign, dubbed Operation FlashHole, attributed to the Lazarus APT group, active since July 2025. The campaign has targeted at least three organizations in South Korea's construction, software, and wire-communication sectors. Attack methods include spear-phishing emails…