Medium severity · published Jul 8, 2026
CVE-2026-53624
Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
4.8
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 12% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
fiber · gofiber
< 3.4.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-53624
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-53624
Patch
https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf
Issue Tracking
https://github.com/gofiber/fiber/pull/4389
Release Notes
https://github.com/gofiber/fiber/releases/tag/v3.4.0
Exploit
https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c
More from fiber
9.8
CVE-2024-38513
Fiber is an Express-inspired web framework written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above
9.8
CVE-2024-25124
Fiber is a web framework written in go
9.4
CVE-2025-66630
Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure
8.8
CVE-2023-45141
Fiber is an express inspired web framework written in Go
8.8
CVE-2023-45128
Fiber is an express inspired web framework written in Go
