CVE-2025-66630

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

CRITICAL
9.4
CVSS Score
Published: February 9, 2026 at 06:04 PM UTC
Updated: June 17, 2026 at 09:57 AM UTC
1 product affected across 1 vendorFiber

Using fiber by gofiber?

Get instant alerts when new vulnerabilities affect fiber - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.4
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.52.11

Fix versions

  • Outside the affected range from 2.52.11
    Our inference from the affected range (< 2.52.11)
golang-go (environment)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-338

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE records are from the CVE Program (CVE.org).