CVE-2026-84366: Python Insecure Scheme Default

The URL scheme defaults to unencrypted HTTP when the security flag is absent or falsy. Default to HTTPS instead to prevent transmitting sensitive data or credentials over plaintext HTTP.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-84366-python-insecure-scheme-default --engine opengrep

Description

The URL scheme defaults to unencrypted HTTP when the security flag is absent or falsy. Default to HTTPS instead to prevent transmitting sensitive data or credentials over plaintext HTTP.