Exploit database

GH-768a04484e12b2d5fd121afa19f4201c

shellharbor/php-8.1-cve-2026-docker

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files22
shellharbor/php-8.1-cve-2026-dockerRevision 11e9aeb57664

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

scripts/prepare-source.sh

Shell · 822 bytes
#!/bin/sh
set -eu
cd /work
. ./docker/source.env
printf '%s  %s\n' "$PATCH_SHA256" patches/0001-php2shell.patch | sha256sum -c -
curl --fail --location --proto '=https' --tlsv1.2 --retry 3 --connect-timeout 20 \
    --max-time 300 "$PHP_URL" -o /tmp/php.tar.xz
printf '%s  %s\n' "$PHP_SHA256" /tmp/php.tar.xz | sha256sum -c -
mkdir /usr/src/php
tar -xJf /tmp/php.tar.xz --strip-components=1 -C /usr/src/php
mkdir -p /source-lock
mv /tmp/php.tar.xz /source-lock/php.tar.xz
cd /usr/src/php
patch --batch --forward --fuzz=0 -p1 < /work/patches/0001-php2shell.patch
python3 /work/scripts/apply-history.py apply
sh /work/scripts/verify-source.sh
# Both generated VM headers are included in the upstream patch. Preserve them;
# do not regenerate them using a different host PHP or stale timestamps.
touch Zend/zend_vm_execute.h