Advisory record · GHSA-gv83-gqw6-9j2c

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

CVSS 4.8 MediumEPSS 0.0021 · 11th percentile

Published by the GitHub Advisory Database at 6 Jul 2026, 20:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gofiber/fiberGo<3.4.03.4.0
Identifiers
GHSA-gv83-gqw6-9j2c · CVE-2026-53624 · GO-2026-5912
Weakness (CWE)
CWE-319
Published
6 Jul 2026
Updated
24 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GoFiber's helmet middleware in github.com/gofiber/fiber versions before 3.4.0 never sets the Strict-Transport-Security header, even when HSTSMaxAge is configured, because it checks the HTTP protocol version instead of the URL scheme. An attacker positioned on the network path, such as on public Wi-Fi, can perform SSL stripping and downgrade HTTPS connections to HTTP. Upgrade to github.com/gofiber/fiber 3.4.0 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0021, the 11th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 2 Jul 2026, 07:57 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:56 UTC First seen by agentprime
  3. 31 Oct 2026, 14:56 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.