Critical Severity CVE-2026-109618
Published: Oct 25, 2026

[GitHub] php2shell-CVE-2026-109618-109619

Rce
Type
N/A
CVSS Score
90
Views
Anonymous
Author

Description

# PHP session.upload_progress pre-auth RCE

Two pre-auth `session.upload_progress` bugs in PHP core. This repository contains the mechanics, a working remote chain on stock `php.ini-production`, four additional exploit paths, and post-patch evidence.

**CVSS:** 9.2 Critical
**Affected PHP versions:** 8.2–8.5
**Fixed versions:** 8.2.35, 8.3.36, 8.4.27, 8.5.12

## Summary

| Aspect | Status |
|---|---|
| Remote shell capability | ✅ Yes — remote on unpatched 8.4.x mod_php; verified on `php:8.4.26-apache` |
| Pre-authentication | ✅ Yes — RFC1867 callback runs before application code |
| Universal exploit | ❌ No — mod_php prefork only, requires build-specific offsets |
| Patch effectiveness | ✅ Closes both CVEs; three application-level paths remain on 8.5.12 |

## Remediation for defenders

| Action | Rationale |
|---|---|
| Upgrade to 8.5.12 / 8.4.27 / 8.3.36 / 8.2.35 | Patches both CVE-2026-109618 and CVE-2026-109619 |
| If patching unavailable: `memory_limit=-1` | Only configuration mitigation for CVE-2026-109618 |
| If patching unavailable: `session.upload_progress.enabled=Off` + restart workers | Disables the session producer for CVE-2026-109619 |
| PHP 8.5 only: `fatal_error_backtraces=0` + restart workers | Removes the producer used in confirmed RCE case |
| Drop web server write access to upload directory | Reduces attack surface |

**MITRE Published:** 2026-10-21
**NVD Status:** Pending ingestion
**PHP Advisory:** Published

Translated to English from Chinese. Show original · see the source links.
Community Rating
0

Login to rate this exploit

Quick Actions