Blog

Critical PHP vulnerabilities in 2026: what to patch

PHP fixed two critical vulnerabilities that allow unauthenticated code execution. Check affected versions and the steps to confirm your server is protected.

Francisco Gaona

Francisco Gaona

Founder and technical lead

Updated October 21, 2026: PHP has released the fixed versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Check the version actually running in your environment. Updating the CMS or application does not fix the PHP interpreter.

Today, October 21, 2026, PHP is having a rough day.

Two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, can let an attacker execute code on a server without authenticating. Both have a CVSS score of 9.2 out of 10. The flaw is in PHP itself, not in an abandoned plugin or some obscure configuration. (CERT-EU)

In practice, an attacker could send a crafted request to a vulnerable website and make the server run code it should not. That is a serious risk.

The fixed versions are:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

PHP 8.1 and earlier are past the PHP project’s regular support period. Minimal source-code patches have been published for PHP 7.4, 8.0, and 8.1. That is not the same as receiving a normal upstream update. Companies still on an older branch will depend on their distribution or LTS provider to prepare a backported fix.

CERT-EU recommends patching immediately. If that is not possible, it advises considering isolating affected internet-facing applications until the fix has been applied and verified.

This is not a WordPress or Laravel bug

When something like this happens, the blame starts flying:

“WordPress is insecure.”

“PHP is outdated.”

“This wouldn’t happen with another framework.”

The flaw sits in PHP, below the application. It can affect installations using PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, or LiteSpeed. The official advisory identifies mod_php as the highest-risk setup. The other setups are not automatically safe.

Updating WordPress, Drupal, Magento, or the framework running on top of PHP will not fix the problem. The PHP runtime on the server needs to be updated.

You can have:

  • WordPress and all its plugins up to date.
  • A custom application with automated tests.
  • Reviewed code with no known vulnerabilities.
  • A firewall in front of the application.
  • A 40-character password.

And still be exposed. The flaw is in a lower layer, before the application code runs.

Many businesses know which CMS they use but not which PHP version is running, who updates it, or whether their hosting provider can respond to a critical vulnerability.

Software has vulnerabilities. The response should not be improvised

Any widely used software will eventually have vulnerabilities.

PHP, Linux, Windows, OpenSSL, web servers, browsers, JavaScript libraries, databases, and cloud platforms all receive security updates. Choosing a popular technology does not remove the risk. Sometimes it makes that technology a more attractive target.

No one can promise that software will never have a flaw. We can answer less comfortable questions:

  • Do we know which applications depend on PHP?
  • Do we know the version installed in each environment?
  • Is someone, or a provider, responsible for updating it?
  • Do we receive security alerts?
  • Can we apply a critical update without improvising?
  • Do we have backups and a way to roll back?
  • Can we temporarily isolate an application if it is unsafe to leave online?
  • Can we confirm that the patch was actually installed?
  • Do we have enough logs to investigate a possible exploit?

If no one can answer, the problem was there before these two CVEs. The vulnerabilities have only exposed it.

The patch exists. That does not mean your server is patched

When the PHP project releases a fixed version, it does not update every server in the world. Someone still has to:

  1. Identify the affected servers.
  2. Check how PHP was installed.
  3. Confirm whether the provider or distribution offers the fixed package.
  4. Prepare a backup or recovery point.
  5. Install the update.
  6. Restart PHP-FPM, Apache, and any long-running process still using the old executable.
  7. Test the application’s critical functions.
  8. Check from the system that the active version is the fixed one.
  9. Review logs and look for unusual activity from before the patch.

With managed hosting, the provider may handle much of this. On a VPS nobody remembers setting up four years ago, the only person who still has an SSH key may end up doing it in a hurry.

Why we do not try to be sysadmins

At Gaobaltech, we build software: applications, integrations, platforms, and digital products.

That does not mean we have to do everything.

Systems administration and security need ongoing attention, specialist experience, and the ability to respond quickly. You cannot improvise those skills after a critical alert arrives. That is why we delegate this work to a trusted provider that specializes in systems.

We assign the responsibility to people with the right expertise, tools, and procedures.

When a vulnerability like this appears, our job is not to forward an alarming link to the client and write “heads up.” We coordinate the response:

  • Identify which projects may be affected.
  • Confirm with the provider which version is running.
  • Prioritize services exposed to the internet.
  • Ask for the relevant patch to be applied.
  • Check whether the update could affect the application.
  • Test that the important features still work.
  • Confirm that the updated environment is actually serving requests.
  • Keep the client informed without turning every technical detail into a disaster movie.

Our provider handles the systems. We know the application and how it works. Each of us works in the layer we understand, and we coordinate the response.

That is more sensible than pretending a software company has a SOC, an on-call sysadmin, and round-the-clock response capability just because it can deploy an application.

How we deal with this kind of shit

There is no magic button. A good response takes a process.

1. Start with an inventory

Before you patch anything, you need to know what you have.

We look for web applications, servers, containers, and services that use PHP, including products that bundle it internally without the client knowing. Internet-facing systems come first.

Searching for a header that says X-Powered-By: PHP is not enough. Many servers hide the version, and some products include PHP without advertising it.

2. Check actual exposure

Not every asset has the same level of urgency.

An isolated internal tool is not exposed in the same way as an online store, a private customer area, or a public API. We prioritize internet-facing systems, especially installations using Apache with mod_php, which is considered the highest-risk setup in this case.

This does not decide which system deserves an update. They all need fixing. It helps order the work when there are several environments and little time.

3. Update the PHP runtime

The complete fix is to update to one of the patched versions.

The published temporary mitigations can reduce some attack paths, but CERT-EU warns that they do not make a vulnerable installation safe.

A WAF can also reduce exposure, but it does not replace the patch. When the flaw is in the interpreter processing the request, relying on a rule to recognize every variation of an attack is not reassuring.

4. Restart and verify

Updating the package is not always enough.

The right processes need to restart so they stop running the vulnerable version. Then check the version in the live environment and test the critical features:

  • Login.
  • Forms.
  • File uploads.
  • Payments.
  • Scheduled jobs.
  • Import and export processes.
  • Integrations with external services.
  • Admin panels.

An update that is installed but not active does not protect the server.

5. Look for signs of compromise

Finding a vulnerable version does not automatically mean the server has been compromised.

Still, given the severity of the flaws and the public circulation of proof-of-concept code, it is worth checking for:

  • Unexpected processes started by the web server’s user.
  • New or modified PHP files with no known explanation.
  • Recently added scheduled tasks.
  • Unusual administrative logins.
  • Changes to users, SSH keys, or configurations.
  • Unusual outbound connections.
  • Memory errors, abnormal requests, and WAF events.
  • Changes to plugins, themes, or dependencies.
  • Traffic spikes or unusual POST requests.

The patch prevents these vulnerabilities from being exploited again. It does not clean a machine that may already have been compromised.

6. Communicate without spin

The client needs to know four things:

  1. Whether their service is affected.
  2. What action has been taken.
  3. Whether there was an interruption or significant risk.
  4. What remains to be done.

They do not need twenty terminal screenshots to prove that we are working. They also do not need to hear “everything is under control” before we have checked.

In security, be clear about the difference between:

  • Potentially affected
  • Confirmed vulnerable
  • Updated
  • Updated and verified
  • Signs of exploitation found
  • Confirmed compromise

Mixing these up causes panic or false reassurance.

Choosing a provider is also a security decision

When choosing hosting or infrastructure, it is easy to compare price, disk space, memory, and the number of domains.

None of those tell you what will happen on a Wednesday afternoon when two critical vulnerabilities appear and exploit code is circulating.

A serious provider should be able to answer:

  • Who applies operating system and runtime updates?
  • What does the provider manage, and what is the client’s responsibility?
  • How does the provider communicate critical vulnerabilities?
  • What response time does it offer?
  • Are backups available, and have restores been tested?
  • Can development, testing, and production be kept separate?
  • Does it run supported versions, or let old installations pile up?
  • Does it provide logs, monitoring, and alerts?
  • Can it isolate a service quickly?
  • Is there someone who responds when the problem does not fit in an automated form?

“We haven’t had a problem so far” is not an answer.

Some infrastructure looks cheap because no one has counted the cost of maintaining it. It can run for years until a situation like this reveals that the person with the server password left the company ages ago.

Delegating does not mean checking out

Hiring a systems provider does not remove the company’s responsibility or the need to coordinate. The provider may maintain PHP and the operating system without knowing:

  • Which processes are critical to the business.
  • Which update could break an integration.
  • Which applications are still in use.
  • When a restart can happen.
  • What data each system handles.
  • What would count as unusual behavior in the application.

That is why responsibilities need to be clear.

The systems provider maintains and protects the infrastructure. The development team checks the application and its dependencies. The client sets business priorities and accepts the risks when immediate action is not possible.

If no one knows where one person’s responsibility ends and the next person’s begins, everyone ends up thinking someone else was handling the update.

The quiet failure: running unsupported versions

Today’s emergency points to another problem.

If a server is still on PHP 7.4, 8.0, or 8.1, the issue is not limited to this vulnerability. It is running a branch that no longer receives regular updates from the PHP project.

PHP has published minimal source-code patches for those branches because of the severity of this incident. That exception should not become a maintenance strategy.

An LTS provider may maintain an old version with backported fixes for a while. That can make sense if an immediate migration is not possible, but it should be a deliberate choice: with a named provider, an exit date, and someone paying for the support.

“Still works” does not mean “still maintained.”

What to do today

If your company uses WordPress, WooCommerce, Drupal, Magento, Laravel, Symfony, Nextcloud, phpMyAdmin, Roundcube, or any other PHP-based application, ask your provider:

Which PHP version is our production environment running? Can you confirm that it includes the fixes for CVE-2026-109618 and CVE-2026-109619?

The answer should include a specific version, not “we’re aware of it.”

As of today, supported branches should be running at least:

  • PHP 8.2.35
  • PHP 8.3.36
  • PHP 8.4.27
  • PHP 8.5.12

If the provider uses packages from Debian, Ubuntu, Red Hat, AlmaLinux, Rocky Linux, or another distribution, the visible version number may not match exactly. Some distributions apply a patch to an earlier version. In that case, the provider should be able to identify the security notice or package version that includes the backport.

If no one can answer, that is the first issue to resolve.

The lesson is not to stop using PHP

PHP will still be used tomorrow, just like Linux, OpenSSL, Java, .NET, and every other technology that has had a serious vulnerability.

No technology is free of vulnerabilities. Ask instead:

“Do we know what we have?”

“Is it supported?”

“Who maintains it?”

“How will we hear about problems?”

“How quickly can we respond?”

“Can we update without breaking production?”

Today’s headline is PHP. Tomorrow it will be a library, a server, an admin panel, or a cloud provider.

Security means having providers, clear owners, and procedures ready when a flaw appears. When it does, a provider who answers is worth far more than saving ten euros a month on hosting.

Dealing with something similar?

Tell us what you want to build, fix, or decide. We will tell you what makes sense and what would be a waste of time.

Talk about your project

Contact form

The form is ready when you are.

Load the Microsoft form and tell us what you need.

Prefer email? Write to us directly.

Email us

Privacy preferences

We use essential technologies and, with your permission, functional services such as the contact form.