CVE-2026-128064Published Nov 19, 2026 · 1d agoUpdated 21h ago
Mixed-case HTTPS and FTPS URLs can expose data in plaintext
PHP Group PHP
High8.2
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PHP Group PHP |
| No fix yet |
Original description
Mixed-case HTTPS and FTPS URLs can expose data in plaintext.
The HTTP and FTP stream wrappers recognise URL schemes case-insensitively, but enable TLS only when the scheme contains a lowercase "s" at a fixed position. A URL such as HTTPS:// or FTPS:// passed to file_get_contents(), fopen() or other stream functions, or received as an HTTP redirect target, is therefore handled over unencrypted HTTP or FTP. An attacker able to observe the network traffic can read data the application expected TLS to protect, including credentials, request bodies and transferred files.