CVE-2026-128064
Uppercase S in scheme removes TLS encryption in stream functions
| Publication Date | 2026-11-19 |
|---|---|
| Severity | Moderate |
| Type | Information Disclosure |
| Affected PHP Versions |
|
| Fixed Product Versions |
|
CVE Details
PHP's HTTP and FTP stream wrappers can send data without encryption when an HTTPS or FTPS URL has an uppercase S in its scheme, for example HTTPS://, httpS:// or FTPS://. Applications using file_get_contents(), fopen() or other stream functions may therefore expose passwords, authentication tokens, request bodies or transferred files to an attacker able to observe the network traffic.
Recommendations
Normalize URLs provided to stream functions such that the scheme is all lowercase. If possible, update to a known patched version of PHP.