Skip to content
OpenAdvisories
Critical · 9.2 CVE-2025-66630 EUVD-2025-207191GHSA-68rr-p4fp-j59vGO-2026-4471

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

Published Feb 9, 2026 · Updated Feb 10, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gofiber fiber < 2.52.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260226T182644-150000.1.149.1 SUSE-SU-2026:0757-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling gatus 5.34.0-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gofiber/fiber all versions — GO-2026-4471
Go github.com/gofiber/fiber/v2 < 2.52.11 2.52.11 GHSA-68rr-p4fp-j59v

Advisories 2

References