PHP elephant on a laptop with source code open

Many business owners see their website as a digital brochure: if it loads and looks good, everything must be fine. In cybersecurity, that attitude is what most often leads to a crisis. 21 October 2026 showed this clearly. Because of two critical PHP vulnerabilities, Latvia took unprecedented preventive measures: access from abroad to part of the state's digital services, including Latvija.gov.lv, was temporarily restricted, and the public broadcaster's portal LSM.lv was taken offline entirely for several hours. 112.lv was also temporarily unavailable.

What happened, and why are thousands of businesses at risk?

CERT.LV, together with CERT-EU, the cybersecurity service of the EU institutions, warned about two critical PHP vulnerabilities (CVE-2026-109618 and CVE-2026-109619) rated 9.2 out of 10 for severity. International media also call them PHP2Shell.

PHP powers a large part of the internet: government systems, company websites, online shops and customer portals. The vulnerabilities affect PHP versions going back to PHP 5 and request-handling setups such as PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. They allow an attacker to run malicious code on the server remotely, without any authentication.

The numbers are worrying: around 6,000 potentially affected systems have been identified in Latvia, and only a few hundred of them are in the public sector. That leaves more than 5,000 outside it, mostly in the private sector. CERT.LV has already seen automated attempts to exploit these vulnerabilities, although there are no reports of successful attacks so far.

"But there's nothing to steal on my website!"

While public institutions quickly restricted access and updated their systems, many private company websites are probably still running unpatched PHP. We often hear from business owners: "We have a simple business-card website and we don't store customer data. Why would anyone attack us?"

This is one of the most important points in cybersecurity: attackers often don't need your data. They want your server's computing power and your company's reputation.

  • Hidden cryptocurrency mining (cryptojacking). After breaking into a vulnerable server, attackers quietly run programs that use its processor to mine cryptocurrency. The website slows down, customers can't open it, and you pay higher hosting bills without realising you are funding criminals.
  • Phishing pages in your name. A hidden page with a fake bank or email login is created on your trusted domain (for example, yourcompany.com/invoices). When the fraud is discovered, the domain ends up on blocklists: browsers show customers red warnings, and company emails often stop being delivered.
  • Joining a botnet. Your server is used to attack government institutions, banks or other companies from a Latvian IP address.

What to do right now

  1. Find out what your website runs on. Ask your developer or hosting provider which PHP version is in use.
  2. Update PHP. The fixes are included in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35. For older versions, some Linux distributions and long-term support vendors have prepared their own patches.
  3. If you can't update, CERT.LV recommends restricting access to the system from the internet. Workarounds only partly reduce the risk and do not replace the update. If your company falls under Latvia's National Cybersecurity Law, see also our article on the minimum cybersecurity requirements (Cabinet Regulation No. 397) (in Latvian).
  4. Check whether anything has changed on the server, such as new files, unknown pages or unusual load.

How not to be among the unprotected

The October PHP crisis shows that only hours or days pass between a vulnerability being published and automated attacks starting. Waiting for your website developer to remember to update the system once every few years is a risk to business continuity.

This is exactly what the CyberSafe platform is built for. A regular automated technical audit helps you keep good IT hygiene:

  • Finding outdated software and known vulnerabilities. CyberSafe helps spot outdated and vulnerable components before attackers' scanners find them.
  • Finding configuration mistakes. It checks whether services have been left open to the internet and whether access control has weak spots.
  • A clear, honest result. The report is understandable without IT knowledge: it shows exactly what was checked and where action is needed, without creating a false sense of security.

The public sector protects its systems with immediate restrictions and continuous monitoring. Don't leave your company in a grey zone: check the security of your website and servers with CyberSafe today.

Sources: CERT.LV, LSM.lv (both in Latvian). Image: Ben Griffiths, Unsplash.