What is PHP2Shell? The PHP vulnerability explained

PHP2Shell is the name given to two critical vulnerabilities in the PHP runtime (CVE-2026-109618 and CVE-2026-109619), published on 21 October 2026. They allow attackers to execute their own code on web servers remotely and without authentication (remote code execution). All known PHP versions back to at least PHP 5 are affected – and with them websites and online shops built on WordPress, TYPO3, Shopware, Contao, Drupal, Joomla, Magento and many other systems.

The name is a nod to “Log4Shell”, the Java vulnerability that made headlines worldwide in 2021. The German Federal Office for Information Security (BSI) rates the situation as criticality 3 / orange: action must be taken immediately.

PHP2Shell: Key facts at a glance

NamePHP2Shell
VulnerabilitiesCVE-2026-109618 (RCE via OOM corruption)
CVE-2026-109619 (RCE via stale global state)
SeverityCVSS 4.0: 9.2 out of 10 (critical)
Prerequisitesno authentication, no user interaction
Affected versionsall known PHP versions back to at least PHP 5
Affected SAPIsPHP-FPM, Apache with mod_php (highest risk), php-cgi, FrankenPHP, LiteSpeed
Fixed versionsPHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 plus backport patches for PHP 7.4, 8.0 and 8.1
Patch released21 Oct 2026, 4:00 pm CEST (14:00 UTC)
BSI ratingCriticality 3 / orange – action must be taken immediately
Discovered bysecurity researchers at Wiz and Calif, together with OpenAI

As of 21 Oct 2026 · Sources: BSI security advisory BITS-H 2026-297981-1132, version 1.1 · php.net security advisory

Magnifying glass inspecting PHP code in front of server racks – SINEOS PHP security audit

Are you affected by the PHP vulnerability?

The short answer: if your website, online shop or customer portal runs on PHP, very likely yes – at least until the PHP patch has been installed. This applies to all common content management and shop systems.

Important: the flaw is in PHP itself, not in your CMS. Updating WordPress, TYPO3 or Shopware alone is not enough. The PHP runtime on the server must be updated – on Linux distributions often as a backport whose version number is not conclusive. Docker containers must be rebuilt.

And even after patching, the key question remains: did anyone exploit the flaw before you updated? The BSI considers widespread exploitation within a few hours of publication likely. Backdoors that were planted do not disappear with an update.

The SINEOS PHP security audit: certainty instead of guesswork

In an in-depth audit, we check whether your system is affected and whether there are signs of compromise. You receive a detailed report – your expert assessment – with a clear risk rating and concrete recommendations.

  • Clarity: affected or not? We check patch level and configuration.
  • Forensic search: server logs, file system, user accounts and cron jobs are examined for anomalies.
  • Documentation: a written report, e.g. for management, your data protection officer or your insurer.
  • Action plan: prioritised measures – from immediate steps to long-term hardening.
  • System-independent: Shopware, WordPress, TYPO3, Contao, Drupal, Joomla, Magento and custom developments.

Our audit criteria at a glance

1. PHP version & patch level
Installed PHP version, backport status of your Linux distribution, SAPI (PHP-FPM, mod_php, CGI, LiteSpeed) and Docker images.

2. Server logs
Analysis of access and error logs for suspicious requests, memory errors, crashes and unusual access patterns around the disclosure.

3. System & CMS
Shopware, WordPress, TYPO3, Contao, Drupal, Joomla, Magento & co.: version, extensions, admin accounts and configuration. For Shopify, we check connected PHP apps, middleware and interfaces.

4. Legacy data
Forgotten test systems, old installations, backups and database dumps in the web root or orphaned subdomains – often the open back door.

5. Custom developments
Individual plugins, extensions, interfaces and scripts that sit outside your CMS update cycle.

6. Code quality & integrity
Comparison of files with original versions, search for web shells, obfuscated code and unexpected changes.

7. PHP & server configuration
Review of the mitigations recommended by the PHP team (incl. memory_limit, post_max_size, session.upload_progress), WAF and hardening such as AppArmor or SELinux.

8. And more
User accounts, cron jobs, outbound connections, credentials and backup strategy.

How much does the PHP security audit cost?

€960 plus VAT – including the audit, a written expert report and a review of the results with our expert.

  • Check of PHP version, configuration and patch level
  • Analysis of server logs and file system for traces of attacks
  • Detailed report with risk rating and prioritised recommendations
  • Personal results meeting

Several systems or complex infrastructure? We will be happy to prepare an individual quote.

What happened on 21 October 2026? The timeline

  • 20 Oct 2026: The PHP project announces a critical security release on php.net – without technical details yet.
  • 21 Oct 2026, before the patch: The BSI publishes the security advisory “PHP: critical vulnerabilities threaten web applications worldwide” with criticality 3 / orange.
  • 21 Oct 2026, 4:00 pm CEST: The PHP developers release the patches PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 as well as backports for 7.4, 8.0 and 8.1. Technical details follow shortly afterwards in the GitHub advisories and the discoverers’ write-ups.
  • During the day: Many operators take PHP servers offline as a precaution, and numerous websites in Germany are temporarily unavailable. WAF providers such as Cloudflare and Bunny Shield publish rules against known attack paths – but according to the BSI, only patching or disconnecting from the internet offers full protection.
  • BSI assessment: With the details now available, the BSI expects attacks on vulnerable systems in the short term. Social media already reports first, as yet unconfirmed attack attempts.

Who found the vulnerability?

According to the BSI, the security companies Wiz and Calif were involved in the discovery together with OpenAI. Wiz describes the vulnerabilities as potentially relevant to around 70% of the internet. Notably, AI-based tools do not just help find vulnerabilities – in the BSI’s assessment, attackers can also use them to analyse patches quickly and build exploits. That is exactly why every hour counts now.

Has your website been hacked? Warning signs to take seriously

According to the BSI, there are no reliable indicators of compromise for PHP2Shell yet. Typical signs of a compromise include:

  • Unknown PHP files in upload, cache or temp directories
  • New or modified administrator accounts
  • Unexpected redirects, spam content or foreign links
  • Unusual requests, memory errors or crashes in the server logs
  • New cron jobs or outbound connections to unknown servers
  • Warnings from Google, your hosting provider or your virus scanner

Professional attackers often leave hardly any visible traces. An inconspicuous frontend is no proof of a clean system.

What can happen in the worst case?

In the worst case, a remote code execution vulnerability gives attackers full control of your web server. Possible consequences:

  • Data theft: customer data, orders, passwords and payment information
  • Manipulation: fake content, skimming code in the checkout, SEO spam
  • Extortion: encryption or deletion of data (ransomware)
  • Abuse: your server distributes malware or sends spam
  • Consequential damage: Google warnings, lost revenue, reputational damage and GDPR fines
  • Lateral movement: attacks on connected systems such as ERP, CRM or internal networks

Your site has been hacked? How to respond correctly

  1. Stay calm and do not delete anything. Hasty clean-ups destroy traces that matter for the analysis and for reporting obligations.
  2. Isolate the system. Put the website into maintenance mode or take it offline temporarily.
  3. Secure evidence. Take a snapshot of server logs, file system and database.
  4. Patch PHP and fix the cause. Update first, then rebuild the system from a clean state or clean it up thoroughly.
  5. Change all credentials. Renew admin, database, FTP/SSH and API access as well as keys.
  6. Check reporting obligations. GDPR (72 hours) and possibly NIS2 – see below.
  7. Monitor. Keep a close eye on logs and files after the clean-up.

You do not have to go through this alone: we support you with analysis, clean-up and recovery.

Do I have to report a hacking incident to the BSI?

That depends on what kind of organisation you are and which data is affected:

  • Organisations covered by NIS2: essential and important entities under the German BSI Act (NIS2 implementation) and operators of critical facilities must report significant security incidents to the BSI – with an early warning within 24 hours, a notification after 72 hours and a final report after one month.
  • Personal data affected: independently of this, the GDPR applies. A personal data breach must generally be reported to the competent data protection authority within 72 hours (Art. 33 GDPR). If there is a high risk, the data subjects must also be informed (Art. 34 GDPR).
  • Everyone else: most small and medium-sized companies have no obligation to report to the BSI. Voluntary reporting is possible and helps to assess the overall situation.

Note: this information does not replace legal advice. Our report documents your case so that you and your advisers can make well-founded decisions.

Jan Lippstreu, Managing Director of SINEOS GmbH

Your contact for the PHP security audit: Jan Lippstreu

Jan Lippstreu is Managing Director of SINEOS GmbH and a Shopware expert since 2012. For many years he has been looking after PHP-based websites, online shops and interfaces – from Shopware and TYPO3 to custom developments. He knows the typical weak spots of systems that have grown over time and translates technical findings into clear, actionable recommendations for management and IT.

Direct line: +49 (0)7361 - 890 8540 · info@sineos.de

Book your PHP security audit now

Choose your preferred date – we will get back to you right away

Calendar not showing? Call us: +49 (0)7361 - 890 8540 or email info@sineos.de.

Frequently asked questions about the PHP2Shell vulnerability

Show all answers
Hide all answers
  • What is PHP2Shell?

    PHP2Shell is the name for two critical vulnerabilities in PHP (CVE-2026-109618 and CVE-2026-109619), published on 21 October 2026. With a CVSS score of 9.2, they allow attackers to execute malicious code on web servers without authentication and without user interaction. All known PHP versions back to at least PHP 5 are affected.

  • Is my website affected by the PHP vulnerability?

    If your website or online shop is based on PHP – for example with WordPress, TYPO3, Shopware, Contao, Drupal, Joomla or Magento – it is potentially affected as long as PHP has not been updated to a patched version (8.5.12, 8.4.27, 8.3.36, 8.2.35 or a backport from your distribution). Our PHP security audit clarifies whether your system has actually been attacked.

  • Is updating PHP enough?

    The update closes the vulnerability, but it does not remove backdoors that attackers may have planted before the patch. Also important: updating the CMS is not enough – the PHP runtime on the server must be patched and Docker images must be rebuilt. An audit shows whether your system is clean.

  • How can I tell whether my website has been hacked?

    Typical warning signs are unknown PHP files in upload or cache directories, new admin accounts, unexpected redirects or spam content, conspicuous entries and memory errors in the server logs, new cron jobs and warnings from Google or your hosting provider. Many attacks remain invisible, however – which is why we check logs, files and accounts systematically.

  • What can happen in the worst case?

    In the worst case, attackers take full control of your web server: they can steal customer and payment data, manipulate content, place skimming code in your shop, encrypt data or abuse your server for spam and malware. On top of that come lost revenue, reputational damage and possible GDPR fines.

  • What happened on 21 October 2026?

    On 21 October 2026, the BSI warned about two critical PHP vulnerabilities with criticality 3 / orange. At 4:00 pm German time, the PHP developers released patches and shortly afterwards technical details. Many operators took their servers offline as a precaution; the BSI expects vulnerable systems to be exploited in the short term.

  • Who discovered the PHP vulnerability?

    According to the BSI, the security companies Wiz and Calif were involved in discovering the vulnerabilities together with OpenAI. The flaws were uncovered with the help of AI-assisted analysis.

  • What should I do if my site has actually been hacked?

    Do not delete anything hastily, isolate the system and secure evidence (logs, files, database). Then patch PHP, clean up or rebuild the system, change all credentials and check your reporting obligations. We support you at every step – from analysis to recovery.

  • Do I have to report the incident to the BSI?

    Mainly organisations covered by NIS2 and operators of critical facilities are obliged to report to the BSI (early warning within 24 hours). If personal data is affected, the GDPR also applies: notification to the data protection authority generally within 72 hours. For most small and medium-sized companies, reporting to the BSI is voluntary. This information does not replace legal advice.

  • How much does the PHP security audit cost?

    The SINEOS PHP security audit costs €960 plus VAT. It includes the check of your system, a detailed written report with recommendations and a review of the results. For several systems, we prepare an individual quote.

  • Which systems does SINEOS check?

    We check all PHP-based systems: Shopware, WordPress, TYPO3, Contao, Drupal, Joomla, Magento as well as custom developments and interfaces. For Shopify shops, we check connected PHP apps, middleware and interfaces.

  • What do I receive as the result of the audit?

    You receive a detailed report covering all checked items, a clear risk rating, documented anomalies and prioritised recommendations – understandable for management and IT alike.