Skip to main content
← All vulnerabilities
CVE-2025-66630GHSA-68RR-P4FP-J59VGO-2026-4471

Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.52.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Fiber is an Express inspired web framework written in Go. Before 2.52.11, on Go versions prior to 1.24, the underlying crypto/rand implementation can return an error if secure randomness cannot be obtained. Because no error is returned by the Fiber v2 UUID functions, application code may unknowingly rely on predictable, repeated, or low-entropy identifiers in security-critical pathways. This is especially impactful because many Fiber v2 middleware components (session middleware, CSRF, rate limiting, request-ID generation, etc.) default to using utils.UUIDv4(). This vulnerability is fixed in 2.52.11.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gofiber fiber

    fixed in 2.52.11

  • github.com/gofiber/fiber/v2Go

    fixed in 2.52.11

  • github.com/gofiber/fiberGo

    All versions

References 3

GitHub · gofiber/fiber