← Blog

Black October for the Internet

Summary

AI-assisted research turned longstanding PHP flaws into working exploits. October's emergency patches, shutdowns and platform breaches expose the cost of postponing software maintenance and migration.

RB
Roozbeh Bandpey

Co-founder and CEO of Bandpey GmbH

Outcome
An evidence-based account of PHP2Shell, October's runtime patches and platform-secret incidents, with sourced attack trends and a practical case for faster maintenance and migration.
Black October for the Internet

AI unearthed an old PHP flaw. A week of emergency patches exposed years of postponed decisions. Next year's migration became this week's problem.

Twenty five years later

Roughly twenty-five years ago, I kissed PHP goodbye, for reasons a lot of developers will recognise. If you know, you know.

I understood why it took off. The web was growing fast, and PHP was one of the most mature and quickest ways to get a web application running. after 25 years the nightmare wont stop haunting

On 21 October, PHP released emergency fixes for two critical vulnerabilities that could let someone run code on a web server without logging in. The PHP advisory covers installations serving web requests, including current releases. An attacker can reach one demonstrated path before your application code even starts.

That last detail matters. You can have a careful development team, an application that passed review, and a problem underneath both.

W3Techs puts PHP at 69.3% of websites whose server-side language it can identify. Among its reported PHP major versions, 34.7% still run version 7 or older. That is a large amount of software to discover, assess and update at once.

I have spent enough of my career finding PHP inside financial institutions to know how long these systems stay in service. The replacement gets postponed because the business depends on it. Twenty-five years later, the nightmare is still in production.

Theoretical until August

The PHP Foundation's account starts in 2024. A developer investigating an external audit found signs of an out-of-memory problem. A possible exploit was theorised. Nobody had demonstrated a concrete route to remote code execution.

The proposed fixes had costs: compatibility breaks, performance concerns, changes across extensions. A small team struggled to choose. Work stalled and restarted. The Foundation calls the delay a “structural failure”.

Then researchers brought AI to the problem. Calif began its audit on 30 July 2026 and reported a working remote-code-execution path on 11 August. Wiz independently reported findings later that month. The hypothetical risk acquired a demonstration.

The mechanics are unpleasant but understandable. A request pushes PHP into a fatal error at the wrong moment. PHP leaves internal memory or state in a condition it should have cleaned up. Later processing trusts what remains. Under the right conditions, an attacker can use that sequence to read memory or run code.

Wiz describes using models to develop and adapt exploit chains across different applications and memory layouts in hours. The expensive part used to be getting every step right for each target. AI reduced the specialist work required to keep trying.

Human knowledge still directed the search. Calif's researcher knew PHP's vulnerability history and pursued a specific theory. He used the model to investigate it. That is a more useful account than a robot waking up and discovering that the internet is broken.

Disclosure did not stay orderly. Identifiers circulated on 20 October, a demonstration video escaped, and PHP moved the release forward by a day. But AWS found an exploit attempt in its honeypot telemetry dated 17 October. Before the public leak. Before the patch.

The first observed attempt came four days before the public fix

PHP2Shell · October 2026 · calendar-day positions; exact times shown where reported

Sources: AWS Security Blog, PHP Foundation disclosure account and ENISA joint statement. Dates are observation/disclosure milestones, not counts of attacks. The 17 October observation has no published time; no hour is inferred. An observed attempt does not establish successful compromise. Sources checked 23 October 2026.

Sources: PHP Foundation, AWS and ENISA.PHP Foundation, AWS and ENISA. Times are UTC; an observed attempt does not establish successful compromise.

AWS does not know how that actor obtained the information, or whether the observed attempts would have succeeded against real production systems. The chronology still changes the response: an investigation starting on patch day may already be four days late.

The curve reaches October

Black October has a measurable lead-in. Check Point's January report recorded an average of 2,090 weekly attacks per organisation. Its September report recorded 2,803. Up 34.1% between January and September, and 48% compared with September 2025.

The line reaches October: roughly 3,000 attacks a week on the recent trend

Average weekly attacks per organisation · reported Jan–Sep 2026 · dashed October estimate

Sources: Check Point Research monthly reports, January–September 2026; full point-by-point sources below. October is an author calculation, not an observed monthly value: OLS fit to July 2,336, August 2,422 and September 2,803; slope 233.5 per month; October estimate 2,987.3. A May–September fit gives 2,871.6, illustrating sensitivity to the fitting window. Observed attacks do not mean successful breaches. Checked 23 October 2026.

The dashed line extends into October at roughly 2,987 weekly attacks per organisation. That is a projection from a line fitted to July, August and September. Fit five months instead and the estimate is 2,872. The fit matters. Neither number is a measured October average.

October already has observations of its own. Imperva recorded 482,342 PHP2Shell-associated requests, 122,311 attack sessions and 21,998 targeted sites across 103 countries in its first 24-hour window. One vendor. One day.

Check Point's 22 October update reported attempts against 10% of monitored organisations globally. Europe stood at 14%. The chart below shows the geographic reach.

October's observed reach: one in ten monitored organisations targeted

PHP2Shell exploitation attempts reported 22 October 2026 · regional reach and 18 highest country rates

Source: Check Point Research, PHP2Shell Update, 22 October 2026: https://blog.checkpoint.com/ai-security/php2shell-one-in-ten-organizations-impacted-as-europe-bears-the-brunt/ . Each percentage is the share of monitored organisations targeted within that geography, not a share of global attacks or a confirmed compromise rate. The dashed 10% line is the reported global benchmark. Blue country bars identify Thailand and India; the other 16 listed countries are in Europe. Data checked 23 October 2026.

Those October figures measure attempts and targeting, not confirmed breaches. They also measure a specific vulnerability, while the monthly line covers broader attack activity. Combining them into one rising count would produce a more frightening chart and a less useful number.

The PHP findings explain why some of this work has become easier for an attacker. AI makes difficult exploit chains cheaper to construct and adapt. Organisations have to handle that change while their migration plans are still moving through the usual meetings.

The newer stack got a patch too

Four parts of the web stack needed attention across two Wednesdays. The dates matter: the NGINX fixes arrived on 14 October; PHP, GitLab and Node.js followed on 21 October.

SoftwareWhat the advisory establishesFixed releases or next action
PHPTwo critical runtime flaws; an unauthenticated attacker may execute code.8.2.35, 8.3.36, 8.4.27 or 8.5.12; check distribution backports where applicable.
GitLabCVE-2026-110264 scores 10.0 and affects self-managed releases from 7.0 under certain conditions. GitLab.com is patched.19.5.1, 19.4.3 or 19.3.6; the advisory also lists backports to four older branches.
Node.jsFour high-severity fixes, including a Brotli decoder flaw that permits remote code execution.22.23.4, 24.22.1 or 26.12.1, according to the release line in use.
NGINXMemory flaws depend on configuration. F5 rates three critical under CVSS 4.0; NGINX's own scale labels them medium.Open Source 1.30.6 or 1.31.7; commercial products have separate version guidance.

I work with modern application stacks. Node.js appearing in that table is inconvenient for a tidy sales pitch. It is also the reason to distrust one.

A newer framework still needs an owner, supported dependencies, a working update process and a way to recover. Splitting one application into twelve services gives you twelve things to maintain. The architecture diagram does not do the maintenance.

Railway had the keys

PHP is the old-software story. Railway is the warning against assuming a modern platform has removed the problem for you.

In its 21 October disclosure, Railway said an unauthorised party may have accessed customer environment variables and obtained some decrypted values. Those variables can contain database passwords, API keys and private-registry credentials. Railway believed a subset of users was affected and told all users to rotate their stored credentials as a precaution.

At the same time, deployments were paused. Customers needed to replace secrets, but could not deploy applications using the replacements. Rotate everything. Please wait for the platform to let you.

That was the situation on 21 October. By 22:49 UTC on 22 October, Railway's status page said builds were available across all five plans. Recovery does not make a copied key stop working. Revocation at the service that issued it does. Deleting a variable from a dashboard leaves any stolen copy intact.

Encryption at rest protects a stored value within a particular threat model. An application still needs access to the secret when it runs. A platform compromise can reach that access path. The word “encrypted” on the product page does not answer which systems can decrypt it.

Earlier in the month, Fireworks disclosed unauthorised access to environment variables in evaluation jobs for a limited number of accounts. It identified the activity on 6 October. OpenCode also reported a Console breach on 17 October affecting 1.4% of Console users, a subset with external providers linked; BleepingComputer reproduces its statement.

Railway believes its incident belongs to a campaign targeting platforms to reach AI inference providers. That remains the company's assessment. A shared attacker has not been established by these disclosures.

The common exposure is already clear enough. One platform can hold credentials that open several other services. Your application can stay online while someone else spends money or reaches data with its keys.

Business continuity until Wednesday

Over the past year, I supported a large financial organisation with a PHP-stack migration. I still get requests to modernise these systems. They are often running important work, with dependencies that nobody wants to disturb during business hours.

I understand the caution. A failed migration can stop the business. So the migration moves into a programme, the programme acquires dependencies, and the old application gets another year. The people approving the delay may never have to approve the risk it leaves behind in equally plain language.

Then a security advisory arrives and taking the website offline becomes an acceptable business-continuity measure. The outage did not become cheaper overnight. The alternative became harder to ignore.

The PHP Foundation's account deserves a fair reading here. Fixing an engine used across a huge ecosystem involves compatibility and security trade-offs. A small group of maintainers delivered the fix while organisations with much larger budgets depended on their work. Blaming the language is easier than asking how little we funded the people keeping it usable.

The same AI capabilities also shorten the work of replacing these systems. In one completed PHP migration, I used AI-assisted refactoring and transpiling to finish the refactoring stage in four weeks.

The useful work is understanding what the application does, preserving the behaviour that matters, and proving the replacement works. Generating a folder of Next.js files is the easy part. If the new application loses a reconciliation rule nobody documented, you have modernised the mistake.

Show me the running version

For anyone responsible for a website, the first job is immediate: identify the running PHP version, check the vendor's fixed package, deploy it and verify that the workers actually restarted on the fixed build. The UK NCSC advises considering taking systems offline when updates and temporary mitigations cannot be applied in time. PHP says those mitigations reduce particular attack paths; they do not provide a complete fix.

Patching also leaves a separate question: did someone get in first? AWS advises investigating from at least 17 October. Review evidence of compromise and preserve the logs. A new binary does not remove a backdoor already left in the application.

For exposed credentials, act at the issuing provider. Revoke or rotate them, update the applications that need them, and review downstream access and usage. Use spending controls where the provider offers them, but check whether the control stops requests or merely sends an alert. An email about your bill is a different product from a limit.

If you only use these websites, you cannot patch their servers. Follow incident notices and take the account actions the affected service asks for. The organisations holding your data own the infrastructure response.

After containment, the migration conversation needs a different first question. Ask how quickly the team can replace one exposed application, preserve its behaviour and put the replacement into use. Give that piece an owner and a date. An estate-wide programme can continue around it.

My expectation is that more teams will face this choice as AI-assisted researchers make old, difficult bugs practical to exploit. The next emergency will not wait for the next budgeting cycle.

I would start with the application everyone agrees should already have been replaced.

Research note: sources checked on 23 October 2026. Personal development and migration experience is my own. The monthly line uses Check Point's reported January–September weekly attack averages; its October segment is a labelled author projection. The separate October targeting rates come from Check Point's 22 October PHP2Shell report. Imperva's first-24-hour counts describe its own observations. Attempts and targeting do not establish successful compromise. The PHP timeline combines the PHP Foundation, AWS and ENISA accounts. OpenCode's statement was read as reproduced by BleepingComputer. Incident scope may change as investigations continue.

FieldValue
TitleBlack October for the Internet
SubtitleAI unearthed an old PHP flaw. A week of emergency patches exposed years of postponed decisions. Next year's migration became this week's problem.
AuthorRoozbeh Bandpey
StatusDraft
Prepared23 October 2026
SEO titleBlack October and the Internet's Security Debt | Bandpey
SEO descriptionAI exposed old PHP flaws. October's emergency patches show what happens when the internet's software outlives the plans to replace it.
Slugblack-october-internet-security-debt
Social preview titleBlack October for the Internet
Social preview descriptionAI unearthed an old PHP flaw. A week of emergency patches exposed years of postponed decisions. Next year's migration became this week's problem.
Suggested tagsCybersecurity, Agentic AI, AI Infrastructure, Digital Transformation
Hero chartExport the selected native ECharts block through the existing branded download workflow. Chart 2 shows the monthly outlook; Chart 3 shows observed October targeting.
Substack previewUse the selected chart's branded export as the Substack preview.
Hero alt textLine chart: reported weekly attacks per organisation from January to September 2026; a dotted July–September fit extends as a dashed October projection to about 2,987. October is estimated, not reported.
Timeline alt textPHP2Shell milestones in October: AWS observed an exploit attempt on the 17th; identifiers circulated on the 20th; early patched images and the public security release followed on the 21st.
Reading timeAbout 10–11 minutes
Publication dateSet when publishing

Chart publishing

The three JSON blocks in the article use the existing block: chart, engine: echarts, version: 2 convention. Download a chosen chart through the site's branded export for Substack. Keep the October projection label visible if using the monthly line.

Sourced chart data

CSV
black-october-native-chart-data.csv
Download
Month in 2026Weekly attacks per organisationPrimary source
2026-012090Check Point report
2026-022086Check Point report
2026-031995Check Point report
2026-042201Check Point report
2026-052055Check Point report
2026-062270Check Point report
2026-072336Check Point report
2026-082422Check Point report
2026-092803Check Point report
2026-102,987.3 · projectionAuthor OLS fit to July–September. May–September sensitivity estimate: 2,871.6. Not an observed October monthly average.

October observations

Check Point, 22 October supplies the regional and country targeting percentages in Chart 3. Imperva, 22 October supplies the first-24-hour request, session, site and country counts in the text and CSV. These vendors observe different populations; their figures are not added together.

Projection method

Ordinary least squares over July, August and September 2026, with monthly positions 0, 1 and 2. The fitted line is 2,286.8333 + 233.5 × month index. October at index 3 gives 2,987.3333, displayed as 2,987. A five-month fit over May–September gives 2,871.6. These are illustrative extensions of reported weekly rates, not October telemetry, a count to date, a confidence interval or an estimate of AI's share.

Editorial source notes

The four-week result is the author’s completed refactoring work; the article does not describe it as the full time to deployment. Railway builds were restored across all plans by 22:49 UTC on 22 October. Its incident investigation was still open at the time of the status check. OpenCode’s statement is reproduced by BleepingComputer; X did not return the original post to the research tool. F5’s critical CVSS 4.0 ratings and NGINX’s own medium labels use different severity systems. Primary F5 advisories: CVE-2026-15176, CVE-2026-93479, CVE-2026-97205.

About the author

Roozbeh Bandpey

Co-founder and CEO of Bandpey GmbH

Roozbeh Bandpey is an engineer and entrepreneur in Munich with more than 20 years of hands-on software engineering. He is the co-founder and CEO of Bandpey GmbH, which builds Facthory, Emolysis, Copolly and Inteliwert, and a Databricks Solutions Architect Champion.

Related insights and work