Artificial intelligence
Black October and PHP2Shell: what happened with AI and cyberattacks, and what to do
In one week, a critical PHP flaw found with AI, automated attacks on Latin American banks and warnings from AI labs all landed at once. Timeline, what is exaggerated and what to do as a person or a business.

If this week you saw posts about “Black October”, AI-powered hacking and “half the internet at risk”, you’re not alone. In a few days, several cybersecurity stories landed that would each have been big on their own. Together, they created a sense of emergency.
The easy explanation is that an AI went rogue. That’s not quite it. What happened is more concrete and, in a way, more important: the time between discovering a flaw and someone using it to attack got much shorter. And that affects all of us, even if you’re not a programmer.
What PHP2Shell is, in one line
PHP2Shell is the name of two critical flaws in PHP, the language that runs a large share of the world’s websites, WordPress included. They let someone take control of a server without needing a password. They were found with the help of AI models and fixed on October 21, 2026.
The timeline
- April 2026. Anthropic restricts access to its Mythos model because of its cybersecurity capabilities. Since then, AI labs have been warning that tools for finding software flaws are becoming very capable.
- August. Researchers at Wiz and Calif find the PHP flaws using frontier models from OpenAI and Google. The same month, Jason Clinton, Anthropic’s deputy chief information security officer, predicts a “vulnerability tsunami” within months.
- September 25. An attacker sets loose a group of AI agents that, over several weeks, tries to break into more than 1,200 websites autonomously (Fortune).
- October 18. OpenCode, an AI coding tool, reports 48 hours of continuous attacks by an autonomous agent and the exposure of some customers’ access keys (Axios).
- October 20 and 21. PHP announces and releases fixed versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Both flaws are rated 9.2 out of 10, and there is no complete mitigation short of updating (PHP). Cloudflare reports the first attacks within hours.
- October 21. It comes out that a group called CyberCartel wired together agents from several AI models to automate attacks on more than 400 banks, fintechs and payment companies in Latin America. When one model refused a step, the system handed the task to another. Anthropic cut off their access to Claude (PYMNTS, citing The Information and Straiker).
- October 22. John Milinovich, a director at Figma, posts that in two days there were several dozen cyberattacks that would each have ranked among the worst of the year on their own, and calls it “Black October” (X). The same day, Clinton writes that things will get a lot worse before they get better and asks the industry to hold on for about 18 months (Business Today).
What part is exaggerated
It’s worth separating two things here.
What is documented: a serious flaw in a widely used piece of internet infrastructure, found with AI and exploited very quickly; automated attacks using AI agents against financial institutions in the region; and AI labs publicly acknowledging that defense is behind.
What hasn’t been shown: that it was a single coordinated attack, that an AI “went rogue” or that “half the internet collapsed”. These were many separate incidents at the same time, accelerated by tools that far more people now have. The idea that we’re entering a fast AI takeoff is how some people in the industry read the moment, not an established fact.
Neither reading calls for panic. Both call for attention.
The missing piece
The part almost nobody explains is this: the PHP flaw wasn’t new. According to the reports, one of them had already shown up in an audit years earlier, but it was considered too hard to exploit. AI didn’t invent the problem. It made it practical.
Something similar happened on the other side. Before, between a patch being published and someone building an attack, there were days or weeks to update. Now an agent can read the patch, figure out what was fixed and build the attack in hours. The margin we used to have to “update later” is basically gone.
That’s why Clinton’s advice is so unglamorous: use this moment to get budget for the basics, not for sophisticated AI defenses. In security, the boring stuff is what protects you most.
AI didn't invent the flaw. It made it practical. And the time to update "later" is over.
Why it matters even if you’re not a programmer
Your data lives in systems you don’t control: the online store, the school, the hospital, the bank, the airline. When one of them is breached, your email, phone number or payment details can end up with someone else. And with that data, fake messages become very believable: they arrive with your name, your customer number and an urgent tone.
What to do
As a person:
- Turn on two-factor authentication for your email, bank and social media. It stops more attacks than anything else.
- Use a password manager and a different password for every site.
- Update your phone, computer and apps as soon as updates are available.
- Be suspicious of urgent messages, even if they include your real details. If your bank or airline “contacts you”, open the app yourself or call the official number.
- Put smart devices (cameras, speakers, bulbs) on a separate Wi-Fi network if your router allows it.
If you have a business with a website:
- Ask today whether your site uses PHP, which includes WordPress, Drupal and Joomla. If it does, confirm with whoever manages it that it’s on a fixed version: 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or newer.
- If your site runs on PHP 8.1 or older, it no longer gets an official fix. It’s time to migrate.
- Take a simple inventory: which sites, forms and tools you have, who manages them and when they were last updated.
- Protect your team’s accounts with two-factor authentication, especially email, domain and hosting.
- Prepare your team for deception: most attacks still start with someone clicking the wrong message.
If you’re interested in how AI affects our ability to check what reaches us, we cover it in Is AI hurting your critical thinking?.
So
“Black October” wasn’t the end of the internet or a rogue AI. It was the week it became clear that finding and exploiting flaws no longer takes months or expert teams. That isn’t solved with fear. It’s solved with the basics, done on time: update, protect your accounts and distrust anything urgent.
Frequently asked questions
What is PHP2Shell?
It’s the name of two critical PHP flaws, registered as CVE-2026-109618 and CVE-2026-109619, that allowed code execution on a server without authentication. They were found with the help of AI models and fixed on October 21, 2026 in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
What is Black October?
It’s the name that caught on in the tech industry for the week of October 20 to 23, 2026, when the PHP flaw, automated attacks using AI agents against Latin American banks and other serious incidents coincided. It wasn’t a single coordinated attack.
Is my website at risk?
If your site uses PHP, including WordPress, and isn’t on a fixed version, yes. Ask whoever manages it to confirm the PHP version and update as soon as possible. Versions 8.1 and older no longer receive official fixes.
Is artificial intelligence attacking the internet?
Not autonomously or in a coordinated way. What changed is that people with bad intentions use AI tools to find and exploit flaws much faster. The same tools are also used for defense.
What can I do to protect my data?
Turn on two-factor authentication, use a password manager with a different password for each site, keep your devices updated and be suspicious of any urgent message even if it includes your real details.
Sources
- PHP. Security advisory: Critical remote code execution vulnerabilities, update now (October 21, 2026). php.net
- Fortune. Powerful new AI models are powering a growing wave of cyber attacks, experts say (October 21, 2026). fortune.com
- Axios. When AI models refuse to fight hackers (October 21, 2026). axios.com
- PYMNTS. Hackers Employ Grok and Claude to Attack LatAm Banks, citing The Information and Straiker (October 21, 2026). pymnts.com
- Business Today. Things will “get a lot worse”: Anthropic security chief issues stark warning (October 23, 2026). businesstoday.in
- La Tercera. PHP2Shell: una IA descubre una falla de seguridad que amenaza a millones de sitios web (October 21, 2026). latercera.com
- John Milinovich. Black October, post on X (October 22, 2026). x.com