CVE-2026-44332: GoFiber Vulnerable to Username Enumeration via Timing Oracle in BasicAuth Default Authorizer
The default Authorizer function in GoFiber’s BasicAuth middleware uses short-circuit evaluation that skips password hash comparison for non-existent usernames. With bcrypt-hashed passwords (the primary use case), the timing difference between a valid and invalid username is approximately 1,000,000:1 (~100ms vs ~100ns), enabling reliable remote username enumeration.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-44332 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →