Two headlines, two different events
Researchers used AI tools to help discover and investigate two critical flaws in the PHP runtime. Separately, Railway disclosed suspicious activity in systems that store customers’ environment variables. Railway did not say that AI agents found a vulnerability in Railway, and neither company has linked the Railway incident to the PHP flaws. Combining the stories into one alleged attack would go beyond the published evidence.
What the PHP project confirmed
PHP’s security team says CVE-2026-109618 and CVE-2026-109619 can allow unauthenticated remote code execution in PHP installations serving web requests. It identifies particular risk for Apache mod_php and urges users to update. The fixed upstream releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Older branches no longer receive routine upstream security releases, although some operating-system and long-term-support vendors may provide backported fixes. Ask your host which PHP version and vendor patch your site actually runs; updating a WordPress plugin alone will not update the server runtime.
Where AI played a part
OpenAI says a researcher at Calif used GPT-5.6 Sol to identify a critical PHP flaw, while Wiz independently discovered and reported both vulnerabilities. Google Cloud says Wiz used several models and that Gemini 4 Argon helped with discovery, detection and patch validation. PHP maintainers led the fixes. The credible claim is AI-assisted security research with human validation and coordinated disclosure, not an autonomous system fixing every website by itself.
What Railway disclosed
Railway says an unauthorised party may have accessed encrypted customer environment variables and obtained the decrypted contents of some. Those variables can contain API keys and database or registry credentials. The company initially assessed that a subset of customers might be affected, but recommended that all customers rotate variables and private registry credentials as a precaution, then review relevant service logs for unusual activity. Railway said it was investigating and would contact confirmed affected accounts. Its reference to attackers targeting AI inference providers describes a suspected objective of the incident, not AI agents discovering a Railway bug.
The practical response
If your site uses PHP, ask the developer or host for the running version, apply the official fixed release or a verified vendor backport, and rebuild or redeploy containers where necessary. Verify the patched runtime after deployment. If you use Railway, follow Railway’s current incident guidance, rotate secrets stored there, replace the same credentials wherever else they were reused, and inspect logs. If you use neither PHP nor Railway, these specific advisories do not by themselves mean your site is compromised.
- Check whether your site runs PHP and verify its patched runtime
- Railway customers should rotate stored secrets and review logs
- Do not treat the separate disclosures as one proven attack
Sources and further reading
Have a real task or team question behind the headline?
Start a conversation
