CVE-2026-28498: Fail Open Crypto Comparison

A cryptographic verification function returns `True` explicitly when the generated hash or value is falsey. This indicates a fail-open behavior where unsupported algorithms or missing values bypass the integrity check. Verification should fail closed by returning `False` when the hash cannot be computed.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-28498-fail-open-crypto-comparison --engine opengrep

Description

A cryptographic verification function returns `True` explicitly when the generated hash or value is falsey. This indicates a fail-open behavior where unsupported algorithms or missing values bypass the integrity check. Verification should fail closed by returning `False` when the hash cannot be computed.