CVE-2026-53624 MEDIUM

CVE-2026-53624: Fiber: HSTS header never set in helmet middleware due to incorrect protocol check

Vendor Gofiber
Product fiber
Weakness CWE-319 · Cleartext transmission
Published July 8, 2026
Last update July 10, 2026

CVSS base score

4.8/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 8, 2026 CVE published
July 10, 2026 Record updated