PT-2026-56054

CVE-2026-53624

·

Published

2026-07-06

·

Updated

2026-08-10

Description by

CVSS 3.1
4.8
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Fiber versions prior to 3.4.0
Description The helmet middleware in the Fiber web framework fails to set the Strict-Transport-Security (HSTS) response header, even when HSTSMaxAge is configured. This occurs because the logic in middleware/helmet/helmet.go incorrectly uses the c.Protocol() function to check for HTTPS connections. The c.Protocol() function returns the HTTP protocol version (such as HTTP/1.1 or HTTP/2.0) rather than the URL scheme. Consequently, the condition c.Protocol() == "https" always evaluates to false, rendering the HSTS protection inactive. This can leave users susceptible to SSL stripping attacks, protocol downgrades, and cookie theft over HTTP.
Recommendations Update Fiber to version 3.4.0. As a temporary workaround, restrict the use of the helmet middleware if HSTS is the only required security header until the update is applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-GV83-GQW6-9J2C
GO-2026-5912
OPENSUSE-SU-2026:21551-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1
Found an issue in the description? Have something to add? Feel free to write us 👾