Niet php.net · Niet NVD · Niet CISA

PHP-kwetsbaarhedentracker

Onofficiële briefing over beveiligingslekken in PHP

English简体中文日本語DeutschFrançaisNederlandsEspañol

Beveiligingswaarschuwing

PHP2Shell: werk PHP bij. Dat is de enige volledige oplossing.

CVE-2026-109618 en CVE-2026-109619 zijn kritieke kwetsbaarheden in PHP zelf die uitvoering van code op afstand zonder authenticatie mogelijk maken. Het PHP-project bracht op 21 oktober 2026 fixes uit voor de ondersteunde takken 8.2 tot en met 8.5. Herstart PHP na de update. Een firewall is geen vervanging.

Stappen om te patchen

AI-agentgids

Is mijn product of website getroffen? Controleren met een AI-agent

Veel websites gebruiken PHP niet rechtstreeks maar via XAMPP, een hostingpaneel, een NAS, een Docker-image of een appliance. Met deze alleen-lezen-prompts vindt een AI-agent elke PHP-runtime, vergelijkt die met de gepatchte versies en maakt een tabel, zonder iets te wijzigen.

Laatst bijgewerkt

Wat de prompts de agent laten doen

  1. Systeem-PHP, bundels (XAMPP, MAMP, Laragon), panelen, containers, NAS en appliances inventariseren.
  2. Versie, herkomst en blootstelling vastleggen.
  3. Door leveranciers beheerde items koppelen aan de productpagina’s.
  4. Oordeeltabel: Opgelost / Kwetsbaar / Onbekend / Leveranciersbeheer.

Een agent veilig gebruiken

Prompts om te kopiëren

De prompts zijn in het Engels zodat elke agent ze betrouwbaar volgt; de laatste regel vraagt om een verslag in het Nederlands. De feiten komen van de pagina’s van deze site.

Alleen-lezen-inventaris van alle PHP-runtimes op een machine
Audit this machine for PHP2Shell exposure. This is a READ-ONLY audit.

Context: PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two critical unauthenticated remote-code-execution bugs in the PHP runtime (advisory published 21 October 2026). Fixed upstream releases: PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 (or later on the same branch). PHP 8.1 and earlier get no upstream fix. Linux distributions may ship backported fixes under an older version string, so check the distro's security tracker / package changelog for CVE-2026-109618 and CVE-2026-109619, not only "php -v".

Rules for you (the agent):
- Read-only: do not install, upgrade, delete, restart or change any file or service. Do not use sudo unless I approve a specific read-only command.
- Do not write, download or run exploit code, and do not probe other hosts.
- Do not print secrets you see; redact them.
- Show each command before you run it.

Find every PHP runtime, including bundled ones:
1. System PHP: php -v, php-fpm*, mod_php, every binary named php* on PATH and under /usr, /opt, /usr/local.
2. Bundled stacks: XAMPP (/opt/lampp, C:\xampp), MAMP (/Applications/MAMP), WampServer, Laragon, Local, Herd, Valet.
3. Hosting panels: cPanel ea-php, Plesk plesk-php, aaPanel/宝塔 /www/server/php, DirectAdmin, CyberPanel lsphp, HestiaCP.
4. Containers: docker ps / docker images / kubectl, and php -v inside each running container.
5. Apps that run on PHP (WordPress, Magento, Drupal, Joomla, Moodle, Nextcloud, phpMyAdmin, GLPI ...) and which PHP each one uses.
6. If this is a NAS or vendor appliance (Synology, QNAP, Unraid, pfSense, OPNsense, FreePBX ...), report the product and firmware version only; such PHP is updated by the vendor firmware.

For each item record: product/location, PHP version, how it is installed (distro package / vendor bundle / container / custom build), whether it is internet-facing, and whether the version is >= the fixed release on its branch or has a distro backport.

Output a verdict table with columns: Item | PHP version | Source | Exposed? | Verdict (Fixed / Vulnerable / Unknown / Vendor-managed) | Next step. Then list the matching product pages from https://phpvulnerabilities.app/affected-products/ for anything vendor-managed.

Write your report in Dutch.
Een specifiek product of appliance controleren
I run [PRODUCT NAME AND VERSION]. Tell me whether it is affected by PHP2Shell. This is research and a READ-ONLY check.

Context: PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two critical unauthenticated remote-code-execution bugs in the PHP runtime (advisory published 21 October 2026). Fixed upstream releases: PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 (or later on the same branch). PHP 8.1 and earlier get no upstream fix. Linux distributions may ship backported fixes under an older version string, so check the distro's security tracker / package changelog for CVE-2026-109618 and CVE-2026-109619, not only "php -v".

Rules: do not write or run exploit code; do not change anything; never ask for or print credentials.

Steps:
1. Find out whether this product bundles its own PHP or uses the system PHP, and which PHP version the version I named ships with.
2. Look for the vendor's official advisory, changelog or knowledge-base article about CVE-2026-109618 / CVE-2026-109619, and the matching page under https://phpvulnerabilities.app/affected-products/. Cite each source with its URL and date; if you find none, say so instead of guessing.
3. If I can give you shell access, list the read-only commands that would confirm the runtime version, and wait for me to run them or approve them.

Output a verdict table: Product | Version | Bundled PHP | Vendor status | Verdict (Fixed / Vulnerable / Unknown) | Fix path (vendor update, upgrade host PHP, or mitigate) | Sources.

Write your report in Dutch.
Audit van vloot of repository (servers, IaC, CI)
Audit this repository (and any inventory files it contains) for PHP2Shell exposure. READ-ONLY: do not edit files, open pull requests or connect to servers unless I approve.

Context: PHP2Shell is CVE-2026-109618 and CVE-2026-109619, two critical unauthenticated remote-code-execution bugs in the PHP runtime (advisory published 21 October 2026). Fixed upstream releases: PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 (or later on the same branch). PHP 8.1 and earlier get no upstream fix. Linux distributions may ship backported fixes under an older version string, so check the distro's security tracker / package changelog for CVE-2026-109618 and CVE-2026-109619, not only "php -v".

Rules: no exploit code, no scanning of hosts, redact secrets.

1. Search Dockerfiles, compose files, Helm charts, Terraform/Ansible/Puppet/Chef code, CI workflows, .tool-versions, composer.json "config.platform.php" and "require.php" for PHP versions and base images.
2. List every place a PHP version or image is pinned, and resolve tags like php:8.3-fpm to the patch level they currently point to if you can.
3. Mark each as Fixed / Vulnerable / Unknown against 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 (or a distro backport), and flag PHP 8.1 or older.

Output a verdict table: File | Line | Image or package | PHP version | Verdict | Suggested change. Do not apply the changes; list them for my review.

Write your report in Dutch.

Veelgebruikte AI-codeeragents

Zonder rangorde. Deze site is met geen van hen verbonden.

OpenAI Codex CLIStart codex in het project of op de server en plak de prompt; laat de goedkeuringsmodus aan die vraagt vóór commando’s.
Claude CodeStart claude in een terminal en plak de prompt; standaard vraagt het toestemming vóór commando’s.
Cursor (Agent)Open de repo of een Remote-SSH-sessie, plak in de Agent-chat en controleer elk terminalcommando.
Cursor Cloud AgentsGeschikt voor Docker-/repositoryprompts: werkt op een branch, u beoordeelt de diff; geen toegang tot uw servers.
Grok Build (xAI CLI)Terminal-codeeragent van xAI; start in het project of op de server. Zonder shell: plak in de Grok-chat op grok.com en voer de commando’s zelf uit.
GitHub Copilot coding agentWijs een issue met de Docker-/repositoryprompt toe aan Copilot; het opent een pull request.
Gemini CLIStart gemini in een terminal, plak de prompt en bevestig elk commando.
Windsurf (Cascade)Plak in Cascade in de editor; windsurf.com verwijst momenteel door naar Devin Desktop.
ClineVS Code-extensie; plak in het Cline-paneel en keur elk commando goed.
AiderVoor Docker-/repositoryprompts: start aider in de repo en controleer de commits.

FAQ

Hoe weet ik of mijn website door PHP2Shell is getroffen?

Zoek de PHP-versie die de site serveert (niet alleen php -v) en vergelijk met 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12 of het backportpakket van uw distributie. De inventarisprompt doet dit voor elke runtime.

Wijzigt de audit iets?

Nee. De prompts eisen alleen-lezen en een vraag vóór elk sudo-commando.

Mijn PHP zit in een NAS, paneel of appliance?

Die PHP wordt door de leverancier bijgewerkt. Bekijk de productpagina in de lijst en installeer de update van de leverancier.