Latvian government websites went dark on Wednesday night. Tried to open one and got nothing? You weren’t the only one.

Two critical flaws in PHP, the code behind a huge chunk of the web, went public on Wednesday. By evening, the government had pulled its shared web platform offline, taking down 165 state and municipal sites. Some state sites are still blocked from abroad, national cyber response team CERT.LV says.

Key facts

What: two PHP flaws, CVE-2026-109618 and CVE-2026-109619, rated 9.2 out of 10, that let attackers run code on a server without logging in
When: PHP’s developers published the fixes on 21 October; Latvia started cutting access that evening
Hit: the shared government web platform hosting 165 state and municipal sites, plus lsm.lv and 112.lv, back for users in Latvia by CERT.LV’s 23:00 update
Still limited: some state resources stay blocked from abroad, possibly until Monday, 26 October
Scale: about 6,000 potentially exposed resources in Latvia, only a few hundred of them in the public sector

Can you open Latvian government websites from abroad?

Not all of them yet. At CERT.LV’s last update, the state services portal latvija.gov.lv worked from Latvia only, and other state sites stay closed to foreign traffic while patches go in. CERT.LV says the limits could last until Monday, 26 October, and people using them from Latvia shouldn’t notice.

Out of the country this weekend? Get anything urgent done before you fly, or plan to wait.

Were any Latvian websites hacked?

Not so far. Automated attempts to use the flaws have already hit Latvia, but there are no reports of a successful break-in, CERT.LV deputy head Varis Teivāns told LTV’s Rīta panorāma on Thursday morning, Delfi reported.

Most of it is bots and small groups, not targeted work, he said. He expects the attacks to keep coming and said some less protected sites will probably fall. Eight high-priority resources were still down on Thursday morning, he said. The official gazette Latvijas Vēstnesis was still out too.

What should Riga businesses do now?

If your website, webshop or client portal runs on PHP, call your developer or host today. The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. On PHP 8.1 or older, or can’t update? CERT.LV says take it off the public internet until it’s fixed.

State systems have been hit before: in August, attackers took data on about 1.2 million people from road traffic agency CSDD. More web trouble this month: the fake Ķīpsala dinosaur festival site and a Datamed clone that took €66K.

Update your PHP, Riga. Today.

Photo: Cabinet of Ministers building, Brīvības bulvāris, Riga — M0NAX / Wikimedia Commons, CC BY-SA 3.0.