OpenAI says its AI found flaws affecting most of the web
A security flaw known to researchers since 2024 has been fixed after an AI model helped turn it into an exploit in two weeks.
By Yuna Lefebvre ·

The PHP Foundation has released updated versions of its programming language to patch critical security vulnerabilities that OpenAI says were discovered through the use of its AI model. The company announced on Oct. 21 that its GPT-5.6 Sol model, working with a group of security researchers, found two flaws in PHP that could be exploited to take over websites. The flaws were fixed and patched in a coordinated release that was moved up by one day following premature disclosures about the issue.
The vulnerabilities were given a critical severity score of 9.2 out of 10. They are related to how the language manages computer memory and handles errors. Under certain conditions, attackers could exploit the weaknesses remotely, without needing login credentials, to run malicious code on affected servers. The flaws could also expose sensitive information stored in server memory, such as passwords and API keys. Because the vulnerabilities exist in PHP's core engine, websites can be affected even if their own application code has no security flaws.
The effort began on July 30, 2026, when researchers from Calif, a cybersecurity firm, started auditing PHP at the PHP Foundation's request. The Foundation had known about the underlying flaw since 2024 but could not identify an exploitation method or a fix. A researcher from Calif first identified an exploitable vulnerability on Aug. 11, followed by OpenAI researchers on the same day. Another firm, Wiz, independently identified a second vulnerability. The two flaws are tracked as CVE-2026-109618 and CVE-2026-109619.
The PHP Foundation has released patched versions PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12 to address the vulnerabilities. Versions PHP 8.1 and older will not receive official fixes. The company advises that every site using PHP should upgrade its version to stay secure. The issue is significant because PHP is an open-source language that runs an estimated 70% of the internet.
OpenAI says human developers and security teams examined the code but could not resolve the flaws, which allowed them to persist for two years after their discovery. By contrast, researchers using AI demonstrated practical ways to exploit the flaw within two weeks. The company highlights this as an example of the 'Defender's Window' concept, a narrow timeframe in which organizations can use advanced AI models to find and patch security flaws before those same capabilities become widely available to malicious actors.
The company considers the incident one of the biggest cybersecurity discoveries of 2026, given PHP's ubiquity. The coordinated release of fixes was originally scheduled for Oct. 22, but was brought forward to Oct. 21 after details about the vulnerabilities were disclosed prematurely on Oct. 20.






