Exploit database

GH-d8953d7198dc9752c6bf534724e70ffc

ivanscm/php80-cve-2026-109618

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 files17
ivanscm/php80-cve-2026-109618Revision e359201fc79c

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

deploy.sh

Suggested starting fileShell · 1,117 bytes
#!/bin/bash
set -euo pipefail

RPM_DIR=${1:-$(cd "$(dirname "$0")" && pwd)/dist/patched}

if [ "$(id -u)" -ne 0 ]; then
  echo "run as root" >&2
  exit 1
fi

if ! ls "$RPM_DIR"/php80-php-*.rpm >/dev/null 2>&1; then
  echo "no RPMs found in $RPM_DIR" >&2
  exit 1
fi

backup="/root/rollback/php80-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$backup"

echo "== backing up current php80 packages to $backup =="
if command -v yumdownloader >/dev/null 2>&1; then
  # shellcheck disable=SC2046
  yumdownloader --destdir "$backup" --enablerepo=remi \
    $(rpm -qa --qf '%{NAME}\n' 'php80-php-*' | sort -u) || true
fi
find /var/cache/yum -name 'php80-php-*.rpm' -exec cp -t "$backup" {} + 2>/dev/null || true

if ! ls "$backup"/*.rpm >/dev/null 2>&1; then
  echo "WARNING: RPM backup is empty; rollback will use the Remi repository" >&2
fi

echo "== checking transaction =="
rpm -Uvh --test "$RPM_DIR"/*.rpm

echo "== installing =="
rpm -Uvh "$RPM_DIR"/*.rpm

echo "== restarting php-fpm =="
systemctl restart php80-php-fpm

echo "== result =="
php80 -v
rpm -q 'php80-php*' | grep '8.0.30-6.el7.remi.1' || true
echo "backup: $backup"