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
gofiber: fiber
References4
- github.com/gofiber/fiber/security/advisories/GHSA-g5vh-55hw-rxm8 ExploitVendor Advisory
- github.com/gofiber/fiber/commit/c7ac00edd19f9669b1aebbec6e22965… Patch
- github.com/gofiber/fiber/pull/4245 Issue TrackingPatch
- github.com/gofiber/fiber/releases/tag/v3.3.0 Release Notes
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 1% percentile: 45 · as of 15 November 2026
- CWE
- CWE-203
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.