Exploit databaseDownload repository ZIP
GH-79a3dc45e9f393803a84d8e3b2394fb1
shellharbor/php-7.4-cve-2026-docker
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files22
shellharbor/php-7.4-cve-2026-dockerRevision 80d49a28e55f
- ↑..Parent directory
- .gitkeep
- apply-history.py
- augment-sbom.php
- build-native.py
- build-php.sh
- build.ps1
- build.sh
- entrypoint.sh
- healthcheck.sh
- lock-dependencies.sh
- lock-native-dependencies.sh
- lock-test-dependencies.sh
- make-rootfs.py
- package-php.sh
- prepare-source.sh
- refresh-upstream-certs.py
- release-gate.php
- run-upstream.py
- scan.sh
- test.sh
- verify-source.sh
- verify.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
scripts/release-gate.php
PHP · 1,539 bytes<?php
// Read-only evidence gate. It never publishes an image or grants owner approval.
try {
$root = dirname(__DIR__);
$report = json_decode(file_get_contents($root . '/security-report.json'), true, 512, JSON_THROW_ON_ERROR);
if ($report['status'] !== 'VERIFIED' || $report['production_ready'] !== true) {
throw new RuntimeException('Production release blocked: security status is UNVERIFIED');
}
foreach (array('build', 'runtime_regressions', 'compose', 'independent_security_review') as $check) {
if (!isset($report['checks'][$check]) || $report['checks'][$check] !== 'PASS') {
throw new RuntimeException('Production release blocked: missing check ' . $check);
}
}
$scan = json_decode(file_get_contents($root . '/reports/trivy.json'), true, 512, JSON_THROW_ON_ERROR);
foreach ($scan['Results'] as $result) {
foreach (isset($result['Vulnerabilities']) ? $result['Vulnerabilities'] : array() as $finding) {
if (in_array($finding['Severity'], array('HIGH', 'CRITICAL'), true)) {
throw new RuntimeException('Production release blocked: unresolved HIGH/CRITICAL scanner finding');
}
}
}
if (!is_file($root . '/reports/sbom.cdx.json')) {
throw new RuntimeException('Production release blocked: missing SBOM');
}
echo "Evidence gate passed; publication still requires separate owner authorization.\n";
} catch (Throwable $error) {
fwrite(STDERR, $error->getMessage() . "\n");
exit(1);
}