CVE-2025-66630
Description
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.
How to fix
- gofiber fiber2.52.11 or later
- github.com/gofiber/fiber/v22.52.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gofiber fiber | v < 2.52.11 | 2.52.11 |
| github.com/gofiber/fiber/v2Go | v < 2.52.11 | 2.52.11 |
| github.com/gofiber/fiberGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.