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/verify-source.sh

Shell · 994 bytes
#!/bin/sh
set -eu
cd /usr/src/php
. /work/docker/source.env
printf '%s  %s\n' "$PATCH_SHA256" /work/patches/0001-php2shell.patch | sha256sum -c -
python3 /work/scripts/apply-history.py verify
grep -Fq 'zend_mm_safe_error_ex(format, limit,' Zend/zend_alloc.c
grep -Fq '_exit(1);' Zend/zend_alloc.c
grep -Fq 'array_init_singleton' main/php_variables.c
grep -Fq 'PG(modules_activated) = 0;' main/main.c
grep -Fq 'SG(request_info).auth_user = NULL;' main/SAPI.c
grep -Fq 'if (!PS(rfc1867_enabled) || true)' ext/session/session.c
grep -Fq 'php_mime_should_save_hdr' main/rfc1867.c
if [ "$PHP_VERSION" = 8.1.34 ]; then
    grep -Fq 'zend_accel_pending_ce_cache_commit();' ext/opcache/zend_persist.c
fi
mkdir -p /evidence
sed -n 's|^+++ b/||p' /work/patches/0001-php2shell.patch |
    while IFS= read -r source_file; do sha256sum "$source_file"; done > /evidence/patched-source.sha256
cp /work/docker/source.env /evidence/source.env
printf 'APPLIED_AND_SOURCE_VERIFIED\n' > /evidence/patch-status.txt