home / blog
2026-11-26 · high
CVE-2026-128064: Critical PHP vulnerability exposes data in plaintext
CVE-2026-128064: High vulnerability in PHP exposes data through mixed case URLs in HTTPS/FTPS.

CVE-2026-128064 is a critical vulnerability in PHP that compromises data security when using URLs with mixed-case HTTPS or FTPS schemes. PHP's stream wrapper recognizes URLs case-insensitively, but enables TLS encryption only when the scheme contains a lowercase "s" at a fixed position. Consequently, URLs like HTTPS:// or FTPS:// are handled via unencrypted HTTP or FTP connections, potentially exposing sensitive data such as credentials, request bodies, and transferred files.
The vulnerability has a CVSS score of 8.2, classified as high severity. It was officially published on NVD on November 19, 2026. A Proof of Concept (PoC) has been reported on GitHub on November 26, 2026, indicating that a public exploit may be available. Affected versions are PHP versions before 8.2.36, 8.3.37, 8.4.28 and 8.5.13.
In defense, it is essential to immediately update all PHP installations to the patched versions: 8.2.36, 8.3.37, 8.4.28 or 8.5.13 or later. For administrators who cannot update immediately, implementing strict input validation to ensure all URLs always use standard lowercase notation for HTTPS/FTPS schemes is recommended. Monitor network traffic to detect any unencrypted HTTP or FTP connections for sensitive domains.
At a glance
- What
- The vulnerability concerns PHP's HTTP and FTP stream wrappers that recognize URLs case-insensitively, but enable TLS only when the scheme contains a lowercase "s" at a fixed position. URLs like HTTPS:// or FTPS:// are handled over unencrypted HTTP or FTP.
- Severity
- CVSS 8.2 (High)
- Affected versions
- PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13
- Fix
- Update PHP to patched versions: 8.2.36, 8.3.37, 8.4.28 or 8.5.13 or later
- Status
- Officially published on NVD on 2026-11-19
- Action
- Update PHP installations to patched versions or verify that URLs always use standard lowercase notation for HTTPS/FTPS schemes
Sources: NVD, CVE-2026-128064