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/scan.sh

Suggested starting fileShell · 1,784 bytes
#!/bin/sh
# Collect evidence only. A completed scan is not a production approval.
set -eu
root="$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)"
. "$root/docker/source.env"
image="${IMAGE:-shellharbor/php-8.1-cve-2026-docker:${PHP_VERSION}-backport.3-fpm-unverified}"
mkdir -p "$root/reports/.trivy-cache"
archive="$root/reports/image.tar"
trap 'rm -f -- "$archive"' EXIT HUP INT TERM
docker image save -o "$archive" "$image"
scanner='aquasec/trivy:0.76.1@sha256:790fd66d1697395d8693d1acaa1ea702406a20f109b6fc7bac8db623eca6c06c'
docker run --rm --user "$(id -u):$(id -g)" --read-only --tmpfs /tmp:rw,nosuid,nodev,size=512m \
    --cap-drop ALL --security-opt no-new-privileges \
    --mount "type=bind,source=$root/reports,target=/reports" \
    --label com.php-cve.lifecycle=disposable-test "$scanner" \
    image --no-progress --cache-dir /reports/.trivy-cache --timeout 10m --scanners vuln \
    --format json --list-all-pkgs --output /reports/trivy.json --input /reports/image.tar
docker run --rm --network none --user "$(id -u):$(id -g)" --read-only --tmpfs /tmp:rw,nosuid,nodev,size=64m \
    --cap-drop ALL --security-opt no-new-privileges \
    --mount "type=bind,source=$root/reports,target=/reports" \
    --label com.php-cve.lifecycle=disposable-test "$scanner" \
    convert --format cyclonedx --output /reports/sbom.cdx.json /reports/trivy.json
docker run --rm --network none --user "$(id -u):$(id -g)" --read-only \
    --cap-drop ALL --security-opt no-new-privileges \
    --mount "type=bind,source=$root/reports,target=/reports" \
    --mount "type=bind,source=$root/scripts,target=/scripts,readonly" \
    --entrypoint php "$image" \
    /scripts/augment-sbom.php /reports/sbom.cdx.json
echo 'Scanner/SBOM evidence collected; development image remains UNVERIFIED.'