Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gofiber/fiber/v3
  4. ›
  5. CVE-2026-44332

CVE-2026-44332: GoFiber Vulnerable to Username Enumeration via Timing Oracle in BasicAuth Default Authorizer

July 2, 2026

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

  • github.com/advisories/GHSA-g5vh-55hw-rxm8
  • github.com/gofiber/fiber/security/advisories/GHSA-g5vh-55hw-rxm8
  • nvd.nist.gov/vuln/detail/CVE-2026-44332

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 →

Affected versions

All versions before 3.3.0

Fixed versions

  • 3.3.0

Solution

Upgrade to version 3.3.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

go/github.com/gofiber/fiber/v3/CVE-2026-44332.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 18 Jul 2026 00:23:07 +0000.