
THEWHITEBOX
We’re in “Black October”. Here’s Why
"These findings rank among the most severe vulnerabilities discovered in PHP, and arguably in software history."
In this newsletter, we always discuss how the world will change. We've often discussed how things in AI are very Hemingway-esque: things happen gradually, then suddenly.
And for some people, the cybersecurity cohort, to be precise, the sudden face is now here for reasons that people now describe as “Black October.”
And, to be clear, it’s changing for the worse.
This article discusses the recent events of “Black October”, why they matter, how AI impacted/participated, and what this means for the future of the industry and software engineering as a whole.
I don’t want to delay this any longer, so you know what is happening and can act if you need to. So, without further ado, let’s dive in.
One of the Worst in History
In this week alone, the world has faced dozens of serious cybersecurity risk events, all occurring almost simultaneously, many of them very severe.
And, surprisingly to no one, AI is at the center of it all. But let’s first start by describing the two most important events, which some consider some of the worst in software history, no less.
The internet's backbone, vulnerable.
This may sound like extreme hyperbole. But before you dismiss it that way, look at some of the notable reactions to the PHP event:
Japan’s Prime Minister Takaichi urged to take action “tonight”
The FBI’s Cybercrime division asked for the exact same thing.
The National Security Agency asked people to take their apps offline if they couldn’t patch this in the short term.
And cybersecurity company Wiz described it as one of the most severe cybersecurity events in history, as we saw at the top of this newsletter.
Needless to say, you should immediately ask your coding agent or cybersecurity team how affected you are and patch everything right away.
So, what happened? Two very serious vulnerabilities were found in one of the Internet's backbones: PHP, which means these vulnerabilities pose a serious risk to a large part of the web.
PHP powers platforms including WordPress, Drupal, and Joomla, and security firm Wiz estimates that it underpins roughly 70% of websites. Yes, that means exactly what you think it means:
70% of world sites could be exposed to this cybersecurity risk.
That is why Japan’s PM, the FBI, and the NSA were jointly panicking.
And how does the bug work? PHP is the software that runs the application behind many websites. Normally, it processes a visitor’s request, sends a response, and clears away the temporary information used for that request.
These bugs mean that, when a request fails in certain ways, PHP can leave that cleanup unfinished. During a later request, it can mistake newly supplied information for its own trusted internal data.
And now, it has been uncovered that an attacker can exploit that confusion to extract sensitive information or, in demonstrated attacks, make the server execute commands of their choosing without logging in.
Most strikingly, because the flaw is inside PHP itself, even a website with correctly written application code can be exposed. It’s not that your website has bad code; it's that the code itself is compromised.
As this is an AI newsletter, the more interesting conversation here is what AI’s role was, if any. But you already know the answer: a big one.
Although the bug had been known since 2024 (which, as we’ll later discuss, is a critical part of the story), the breakthrough came during an AI-assisted audit by security firm Calif through OpenAI’s Patch the Planet initiative.
Calif researcher Ryan A reported a working remote-code-execution attack on August 11, 2026. OpenAI says Calif used GPT-5.6 Sol. Wiz independently discovered and reported both vulnerabilities, using its Wiz Atlas system alongside Gemini 4 Argon and GPT-5.6 Sol.
So, AI’s contributions here are very positive: it found the problem and helped prepare the fix. The problem here, which kind of shows where issues really lie, was human, as disclosure was severely mishandled.
According to the PHP Foundation, instead of following the usual coordinated vulnerability procedure, where the people identifying the incident notify and give time for those that need to patch the solution (e.g., PHP maintainers), the vulnerabilities were leaked on October 20, initially without technical details. PHP brought the release forward from October 22 to October 21.
Calif then—mistakenly, I hope—published a demonstration video that revealed limited additional information and helped accelerate exploit development.
On October 21, Chainguard published patched images more than six hours before the coordinated release, breaking the embargo and allowing attackers to study the fixes while other users were still waiting.
The full extent of the damage isn't yet known, but the PHP event was serious, and any website that hasn’t updated its runtime is still exposed. Right now. If you know or own a site or app that runs on PHP (e.g., you use WordPress), move fast, talk to your coding agent, and see what needs to be done.
Sadly, this event, which alone would have taken the cybersecurity community by storm, wasn’t the only one.
eMudhra’s unforgivable mistake
Another serious cybersecurity issue in the past few days was the eMudhra certificate authority disaster. Here, AI played little role; it was simply a huge human error. The problem is that basically anyone could exploit it, even laymen, which is where AI enters the scene.
So, what happened? It's basically a fatal digital signature mistake.
Luckily for you and me, I wrote about digital signatures in my most recent Medium article while talking about something completely unrelated, so you can read the more technical details for free at that link instead of making this newsletter longer than it already is. Thus, I’ll simplify the explanation here.
Two techniques secure communication on the open web: hashing and encryption.
Hashing transforms a value into a fixed-length string. The key is that the process is deterministic and very hard to reverse (i.e., easy to compute, extremely hard to recover the original data). Hashing helps identify two things: whether a document has been tampered with and who sent it.
Encryption transforms the message contents into ciphertext, something totally unreadable for anyone who doesn’t know the “secret.”
Together, they enable three things: proof of tampering, authority, and content protection, but only insofar as the secrets used to make the modifications are protected.
As mentioned, the former is used for digital signatures, a way for the sender to show convincing proof that the message came from them.

Encryption is trickier to visualize, but I particularly like explaining it using one of the simplest ciphers ever: the one popularized by none other than Julius Caesar, history’s favorite dictator—or, at the very least, jointly with Napoleon, one of the few whose unequivocally dictator-like behavior isn’t the immediate attribute being mentioned.
In the Caesar cipher, the sender (e.g., Julius Caesar) and the recipient (e.g., Mark Antony) agreed (a term called ‘handshake’ in cybersecurity) on the number of positions each letter in the message would be displaced, and applied the transformation. For example, if the shift was three, ‘A’ became ‘D’, ‘H’ became ‘K’, and so on.

Caesar Cipher example. Source: Author
Because the recipient knew the shift value (i.e., the ‘secret’), it was trivial to “decipher” the message. For someone without the secret, it was not impossible, but much, much harder.
This is an enduring lesson about these methods: they aren’t totally irreversible (otherwise things couldn’t be reversed); the key is that reversibility is so incredibly hard it’s not worth it.
But today’s sad protagonist refers to the digital signature. In short, the authority responsible for creating some of the keys that secure the world’s internet broke the most basic rule: creating an easy-to-reverse secret.
I would love to discuss public-key cryptography here, but for the sake of length, I won't. If you want to read more, read the Medium article.
But why do we need a third party in all of this?
In digital signing, it’s not enough for me to claim I am who I say I am, because someone could still impersonate me. This. is tricky, but the point is that I can prove the message was signed by the owner of a given secret, but I can’t prove I am who I say I am.
To prevent this, we add a middleman, called the certificate authority, that guarantees someone is who they claim to be, serving as a key trust enabler.
The fatal error was that, in a beautiful irony, a particular certificate authority, Indian company eMudhra, had extremely poor procedures that let anyone recover the original secrets and impersonate… them!
The private secrets of eight eMudhra intermediate certificate authorities were generated so weakly that someone could recover them from their public certificates. That let an attacker sign certificates as though they were one of those trusted eMudhra authorities.
This way, attackers could forge a secret that tricks your security systems into believing they are the bank, accepting communications from the attacker as if they were from the bank.
Disaster, because in that case you would start sharing personal information (e.g., your bank account password), unknowingly sending it to the attackers.
Interestingly, this was simply blatant human incompetence. However, the problem here is that the keys were so incredibly weak that any layman with a simple prompt to Claude or Gemini could retrieve them and use them to impersonate others, turning your average Joe with zero cybersecurity skills into a cyberweapon.
In a few days, two enormously dangerous ways to create massive attacks were unveiled. But here’s the thing: while the PHP and eMudhra events are the most notorious and dangerous, they're only a tiny part of the concerns raised lately.
Nonetheless:
AI products are being massively targeted. LiteLLM, a tool connecting applications to AI models, had its release process hijacked on October 21. Attackers distributed version 1.107.0 through official software channels, embedding malware that stole credentials and enabled remote code execution. Installing a trusted update could therefore compromise the machine running it. liteLLM
Node.js, another major foundation of modern web applications, patched a vulnerability that could let attackers execute code through maliciously compressed data. The same release fixed flaws that could bypass checks meant to verify a server's identity. Wednesday, October 21, 2026 Security Releases
Next.js and React-related components also required urgent patches this month. Two critical vulnerabilities could allow attackers to execute code on affected servers without logging in; another could overwhelm affected applications, preventing them from serving legitimate users. Exposure depends on the features and dependencies an application uses. Next.js
The world is changing. And how does this impact AI?
In the second part of this newsletter, we analyze AI’s impact surface on cybersecurity across all vectors, give the key technical intuition to explain why AIs are good at cybersecurity, and provide a clear view of the expected future: how the space should proceed and, more importantly, how it should not, as well as how you and I should prepare for what is coming.
Subscribe to Full Premium package to read the rest.
Become a paying subscriber of Full Premium package to get access to this post and other subscriber-only content.
UpgradeA subscription gets you:
- NO ADS
- An additional insights email on Tuesdays
- Gain access to TheWhiteBox's knowledge base to access four times more content than the free version on markets, cutting-edge research, company deep dives, AI engineering tips, & more

