22nd October 2026 · 5 min read

PHP2Shell is a critical PHP flaw now being exploited. A calm checklist for schools to check their website, fee portal and software, and what to do.
By the Vidh Security Research Team | 22 October 2026 | 6 min read
On 21 October 2026, the PHP project released urgent fixes for two critical flaws, CVE-2026-109618 and CVE-2026-109619, known as PHP2Shell. Much of the web runs on PHP, including many school websites, admission forms and fee portals.
There is no need to panic, but it deserves attention this week. Amazon Web Services (AWS) reports the flaw is being "broadly exploited in the wild", and national cyber agencies including the US CISA, the UK NCSC and India's CERT-In have urged immediate patching, with CERT-In rating it Critical. This guide is for principals, owners and teachers. No technical knowledge needed.
PHP runs on a web server. It builds pages, handles logins and forms, and talks to the database. PHP2Shell is a set of bugs in PHP itself, not in any one website or app.
With specially crafted web requests, an attacker with no password or account can make a vulnerable server run commands of their choosing ("remote code execution"). Wiz, the researchers who found the flaws, also showed attackers can read server memory that may hold passwords and login tokens.
The key facts:
Schools are not being singled out, but common features of school IT raise the risk:
Send these in writing and keep the replies.
These don't prove a hack, and their absence doesn't prove you're safe:
If you notice any of these, contact your provider straight away. Don't wait until you're sure.
• Version: check the PHP version the web server uses (it can differ fromphp -v). Fixed: 8.2.35, 8.3.36, 8.4.27, 8.5.12+, or a backported package.
• If you can't patch today: apply PHP's interim measures from the official advisory (for examplesession.upload_progress.enabled=0, an administrativememory_limit=-1, a lowpost_max_size) and restart every PHP worker. PHP says these reduce exposure but do not make you safe. If a public-facing system can't be patched or protected quickly, CISA and the UK NCSC advise taking it offline.
• Hunt from 17 Oct 2026: look for POST requests withPHP_SESSION_UPLOAD_PROGRESSin multipart uploads (AWS), memory-limit errors or bursts of HTTP 500s, oversizedPHPSESSIDcookies, and PHP or web-server processes starting shells or download tools. Application logs may show little, because the attack runs below the application.
1. Patch first. Updating PHP and restarting the web server is the real fix.
2. Assume passwords and keys may have leaked. After patching, change admin and database passwords, and ask your provider to rotate payment, SMS and email keys.
3. Turn on 2FA for every principal, admin and accounts login.
4. Check your backups. Keep a recent backup away from the main server, and test that it restores.
5. Warn people early if needed. If data may be exposed, tell staff and parents to expect fake fee or OTP messages and to verify with the school office.
Most countries have rules on reporting cyber incidents and protecting children's data, so check yours with your legal adviser. Two examples from India:
PHP2Shell won't be the last serious flaw. When you renew or choose school software, ask:
Fewer scattered systems also means fewer places for data to leak; see our posts on a single student record and AI school management software vs. ERP.
If you're reviewing your options anyway, modern, cloud-based, AI-powered school platforms such as Vidh.co are worth a look. No software is immune to flaws. What counts is how quickly they are fixed, and by whom.
What is PHP2Shell?
Two critical flaws in PHP, CVE-2026-109618 and CVE-2026-109619, that can let an attacker with no login run commands on an unpatched web server. PHP fixed them on 21 October 2026.
Which PHP versions are safe?
PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 and later, or versions with a backported fix. PHP 8.1 and older get no official fixes.
How do I know if my school's software uses PHP?
Ask your provider in writing which PHP version each system runs and when it was patched.
Is PHP2Shell being exploited?
Yes. AWS saw a first attempt on 17 October 2026 and reported broad exploitation on 21 October.
Does my school have to report a breach?
Check your country's rules. In India, for example, organisations covered by CERT-In's 2022 Directions must report specified incidents within 6 hours. Take legal advice on your school's position.
See how a modern school platform works. Book a free 30-minute demo by emailing hi@vidh.co.
About Vidh: Vidh (vidh.co) is an AI-powered school platform built by Vidh Labs in Bengaluru. Schools in any country can use it, and it adapts to any curriculum.
This article is general information, not legal or security advice. Facts are current as of 22 October 2026 and may change.
Sources: PHP security advisory · GHSA-w8hw-w9fx-j79w · GHSA-6wmf-4rv5-p3rp · AWS Security Blog · CERT-In CIVN-2026-0510 · CISA alert · UK NCSC · Wiz Research · Recorded Future · CERT-In Directions 2022 · PIB on DPDP Rules