Menu

1 / 2

One Capital Letter Broke PHP HTTPS: CVE-2026-128064

DEV Community: php·Shuvo Halder·12 days ago
#1KLBP3Vx
#devto#dev#code#scheme#case
Long article (2154 words) — no AI summary yet.
Reading 0:00
15s threshold

One capital letter. That is all it took to turn your encrypted HTTPS request into plaintext HTTP.

If your PHP code fetched HTTPS://api.example.com — with a capital S — PHP did not use TLS. It sent your Authorization header, your tokens, and your POST body in plaintext, where anyone on the network path could read them. And your code had no idea. There was no error, no warning, no log line. It just worked — insecurely.

Who is affected

This is CVE-2026-128064, a High severity flaw rated 8.2, fixed in PHP's 19 November 2026 security release. In this post I will show you exactly how the bug worked, who is affected, how to check your own code in 60 seconds, and how to fix it.

What happened on 19 November 2026

PHP released security updates on 19 November 2026 that fixed 17 new vulnerabilities, seven of them critical. The biggest one in the release was phpAfterShell, a critical remote code execution flaw rated 9.2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.