What’s Vulnerable › Vulnerabilities

CVE-2026-44332: Fiber: Username Enumeration via Timing Oracle in BasicAuth Default Authorizer

Description

Fiber is an Express inspired web framework written in Go. Prior to 3.3.0, the default Authorizer function in the BasicAuth middleware in middleware/basicauth/config.go uses short-circuit evaluation that skips password hash comparison for non-existent usernames, enabling reliable remote username enumeration through response timing differences. This issue is fixed in version 3.3.0.

Affected products

How to fix

Upgrade to a fixed version: gofiber fiber 3.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-44332 or the next vulnerability affects your stack