PHP2Shell for Schools, Colleges and Districts

By: Irina Shvaya | October 23, 2026
This guide is part of our PHP2Shell Resource Center: fixed versions, how to check your PHP version, WordPress, Drupal and Joomla steps, mitigations and signs of a hack.

As of 23 October 2026, the PHP2Shell flaws (CVE-2026-109618 and CVE-2026-109619) are fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, exploitation attempts are widely reported, and no confirmed successful break-in has been publicly documented. For a school district or college, the job is to find every system that runs PHP, get each one patched and restarted, and get written answers from the vendors who host the rest.

That list is usually longer than people expect. A self-hosted Moodle site, the district or college website, individual school or department sites, and tools a teacher or lab set up on their own server can all run PHP. CISA warned on 21 October 2026 that "PHP is often a component of other software and prevalence may not be directly observable."

This guide is for district IT staff, college IT and web teams, and the administrators who have to decide what to take offline. It covers what PHP2Shell means for education specifically. Every school system is different, so treat the lists below as a starting point.

Key Takeaways

  • Patch PHP on every server you run, then restart it. Updating Moodle, WordPress or any other application does not fix PHP2Shell.
  • Moodle HQ took its own public sites offline as a precaution, patched them, and urged self-hosted schools to contact whoever updates their PHP.
  • Moodle 4.5 LTS can still run on PHP 8.1, which gets no official PHP release. Those sites need a patched vendor build or a move to PHP 8.2 or 8.3.
  • For systems a vendor hosts, ask in writing whether PHP is in their stack, whether it is patched, and how they will tell you about any exposure.
  • One PHP2Shell path can leak server memory. If student records may have been exposed, talk to your counsel early. FERPA sets the rules on student records.
  • Free help exists: CISA's Cyber Hygiene scanning for eligible public bodies and CISA's 24/7 incident reporting line.

Why Schools Are a Likely Target

CISA says that "for K-12 schools, cyber incidents are so prevalent that, on average, there is more than one incident per school day" (CISA K-12 cybersecurity). Schools and colleges hold data attackers want, often with small IT teams spread across many buildings and departments.

PHP2Shell adds two education-specific pressures. First, systems are scattered: a district office may run the main site while schools, clubs, libraries and departments run their own. Second, timing. Taking a learning platform offline during exams or grading hits students directly, so the decision needs someone with authority, not just IT.

Step One: Find Every PHP System

Build the list before you patch, or you will patch the ones you know about and miss the rest. ENISA's joint statement gives the order: "identify their PHP-based applications, coordinate with hosting and service providers, and apply the released security updates. Prioritise internet-facing systems."

Where to lookExamplesWho usually patches PHP
Learning platform you hostMoodle on a district or campus serverYour IT team
Public websites on your own serversDistrict, college, school or department sites on WordPress, Drupal or JoomlaYour IT or web team
Websites on outside hostingA school site on a shared hosting planThe host. Confirm in writing
Vendor-hosted systemsHosted learning, website or portal servicesThe vendor. Ask whether PHP is part of it
Things someone set up on their ownA teacher's or lab's server, a test install, an old site never retiredOften nobody. Find an owner or shut it down
Network and security devicesFirewalls and storage devices with web admin panelsThe device vendor. Check its security advisories

A server that hosts many school or department sites runs them all on one PHP installation. One update protects all of them, and one missed server exposes all of them. On each server, check the PHP that serves web pages, not just the command line. Our guide on how to check your PHP version explains why they can differ.

Moodle: What Moodle HQ Has Said

Moodle HQ posted an update on 22 October 2026. It says that "as a precautionary measure ... Moodle HQ made the decision to take our sites offline," then patched and restored them, and is "continuing to deploy and validate the patches on our other public facing and client sites." Its message to schools that host Moodle themselves: "We strongly encourage self-hosted site holders to notify the individual(s) responsible for updating PHP for their sites ... Unpatched sites remain vulnerable." Read the post on moodle.org.

If your Moodle is hosted by Moodle HQ or a partner, ask them to confirm your site is patched. Moodle HQ's post refers to "client sites" and does not name a specific service, so don't assume.

Check which PHP your Moodle release can run. These are the minimums from Moodle's developer release notes:

Moodle releasePHP rangeNote
5.3 LTS8.3 to 8.4Released 5 October 2026
5.28.3 to 8.4Security support until 4 October 2027
5.18.2 to 8.4Security support until 19 April 2027
4.5 LTS8.1 to 8.3On 8.1, needs a patched vendor build
4.1 LTS7.4 to 8.1Every allowed PHP is end of life upstream

Moodle shows the PHP details under Site administration > Server > PHP info. Remember that a patched Linux package can keep an old version number. The Dutch NCSC's software inventory also flags Moodle's Windows and Mac "complete installer" packages, which ship their own PHP. If a staff member installed Moodle that way for a class, that copy needs attention too. Our Moodle and PHP2Shell guide has the full detail.

School Websites on WordPress, Drupal or Joomla

The flaw is in PHP, not in WordPress, Drupal or Joomla, and no CMS update fixes it. WordPress.org said on 21 October 2026 that "No WordPress update is required or planned." If your district's sites run WordPress, our WordPress and PHP2Shell guide covers the steps. Site editors in communications offices don't need to change anything in the dashboard. The work happens at the server or the host.

Questions to Ask Your Education Vendors

Much of a district's or college's software is hosted by vendors. Send each vendor that runs a web-facing system these questions and keep the answers on file:

  1. Does any part of your service, including admin portals, run on PHP?
  2. If so, which fixed PHP build is in production, and when were PHP workers restarted?
  3. Have you found any sign of exploitation since 17 October 2026, the earliest reported attempt?
  4. Could any data you hold for us have been exposed, and how and when would you notify us?
  5. Is session upload progress switched off, as PHP advised on 23 October 2026 for a related issue (CVE-2026-115560)?

Some hosts state their position publicly. Pantheon, for example, says "customers are responsible for designing their application correctly to meet FERPA standards," while its own policies "allow customers to be FERPA compliant." That split is typical. The platform covers its servers; your institution is responsible for what runs on them. Our shared responsibility guide explains how to divide those duties. Texas public institutions may also check a vendor's TX-RAMP status. Pantheon lists Level 1 and WordPress VIP lists Level 2.

FERPA Basics if Student Data May Be Involved

FERPA is "a federal law that affords parents the right to have access to their children's education records, the right to seek to have the records amended, and the right to have some control over the disclosure of personally identifiable information from the education records." The rights move to the student at 18 or on entering postsecondary education. The statute is 20 U.S.C. § 1232g and the regulations are 34 CFR Part 99. See the Department of Education's FERPA overview.

Why this matters for PHP2Shell: one path can leak server memory, which Wiz says "may contain passwords, authentication tokens, API keys and certificates." If a server that handles student records was unpatched and shows signs of compromise, treat the records as possibly exposed. Bring in your counsel early. State student-privacy and breach notification laws may also apply. This is general information, not legal advice.

Taking Systems Offline Without Chaos

CISA's 21 October alert says organizations "that cannot update immediately, or that continue to use PHP 8.1 or earlier unsupported versions, should take PHP-based systems offline until they can be patched or updated." Moodle HQ showed it can be done briefly and in the open. For schools:

  • Decide in advance who can approve taking a learning platform or portal offline.
  • Tell faculty and students first, with an expected return time and an alternative for deadlines.
  • Use a maintenance page or a network block. Beazley Security warns against disabling the PHP handler, "which can expose application source code and credentials."
  • If you can't patch today, our interim mitigations guide lists the official stopgap settings. None of them replaces the update.

Free Help, Funding and Reporting

  • CISA Cyber Hygiene: free vulnerability and web application scanning for state, local, tribal and territorial governments and critical infrastructure organizations. Check whether your district or institution is eligible on CISA's Cyber Hygiene page.
  • CISA's K-12 recommendations: its January 2023 report puts deploying multifactor authentication, mitigating known exploited vulnerabilities, and implementing and testing backups at the top of its list.
  • FCC Schools and Libraries Cybersecurity Pilot: a three-year pilot of "up to $200 million." Its application window ran "March 18 – September 15, 2025," and a Federal Register notice in August 2026 showed it still running. It is not a source of new emergency money. See USAC's pilot page.
  • MS-ISAC: membership is now fee-based. Federal support for it ended on 30 September 2025.
  • Reporting: CISA asks organizations to report incidents 24/7 to report@cisa.gov or 1-844-Say-CISA. Our incident response plan guide covers the first hour.

Public school districts are also covered in our local government website security guide, including .gov domains and procurement.

Conclusion

For schools and colleges, PHP2Shell is mostly a finding problem. The fix is the same everywhere: a patched PHP build and a restart. The hard part is the Moodle server in a closet, the school site on a forgotten hosting plan, and the vendor portal nobody has asked about. Build the list, patch what you run, get written answers on the rest, and handle student data questions with counsel. If your team needs hands-on help with a server, our emergency PHP patching service can work alongside district or campus IT. Every PHP2Shell guide is in our PHP2Shell Resource Center.

Frequently Asked Questions

Does updating Moodle fix PHP2Shell?

No. The flaw is in PHP, the software Moodle runs on. Moodle HQ's own advice to self-hosted sites is to contact whoever updates PHP. Update PHP on the server, restart it, and keep Moodle updated separately.

Is MoodleCloud patched?

Moodle HQ said on 22 October 2026 that it was still deploying patches to its "public facing and client sites." It did not name MoodleCloud specifically. If you use a hosted Moodle service, ask the provider to confirm your site.

Is a PHP2Shell incident automatically a FERPA violation?

Not automatically. Whether an incident creates obligations depends on what records were involved and what happened. Document what you find and talk to your counsel. This is general information, not legal advice.

Should we take our learning platform offline?

If you can't patch PHP quickly, or the server runs PHP 8.1 or older without a patched vendor build, CISA's advice is to take it offline until it is fixed. Plan the communication first and use a maintenance page, not a disabled PHP handler.

Our district website is hosted by a vendor. Do we need to do anything?

Yes: ask. Get written confirmation that the PHP serving your site is patched and that workers were restarted. Keep the answer with your incident records.

Has CISA added PHP2Shell to its Known Exploited Vulnerabilities list?

Not as of the catalog released on 23 October 2026. That can change, so check our exploitation status page before you plan around it.

Put this into action with eSEOspace

We help businesses grow with maintenance & support that actually performs. Explore the services behind this guide:

Book a free strategy call →

Get a FREE Audit

We'll perform a comprehensive SEO, AEO, GEO & CRO audit of your website — completely free — and show you exactly how to outrank your competitors.

Don't have a site yet? Get in touch →

Get a FREE GEO/AEO/SEO Audit

We'll analyze your site's SEO, GEO, AEO & CRO — completely free — and show you exactly how to get found across Google and AI answers.

Don't have a site yet? Get in touch →

You Might Also like to Read