CVE-2026-56782: Fail Open Auth Bypass

A fail-open authentication check was detected. Returning `true` when a secret, token, or API key is empty bypasses the security control by allowing access without credentials when the configuration is absent or uninitialized. Ensure that unconfigured secrets default to denying access (e.g., returning `false`).

Provally CuratedPublic repositoryCriticalMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-56782-fail-open-auth-bypass --engine opengrep

Description

A fail-open authentication check was detected. Returning `true` when a secret, token, or API key is empty bypasses the security control by allowing access without credentials when the configuration is absent or uninitialized. Ensure that unconfigured secrets default to denying access (e.g., returning `false`).