Skip to main content
← All vulnerabilities
CVE-2026-53624GO-2026-5912GHSA-GV83-GQW6-9J2C

Fiber: HSTS header never set in helmet middleware due to incorrect protocol check

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

Summary

Fiber is an Express inspired web framework written in Go. Prior to 3.4.0, the helmet middleware in middleware/helmet/helmet.go never sets the Strict-Transport-Security response header even when HSTSMaxAge is configured because it checks c.Protocol() for https instead of c.Scheme(). This issue is fixed in version 3.4.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • gofiber fiber

    fixed in 3.4.0

  • github.com/gofiber/fiber/v3Go

    fixed in 3.4.0

  • github.com/gofiber/fiberGo

    fixed in 3.4.0

References 4

GitHub · gofiber/fiber