CVE-2026-53624: Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
Vulnerability summary
CVE-2026-53624 is a medium (CVSS 4.8) vulnerability in gofiber fiber. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 08-07-2026PublishedVulnerability first disclosed.
- 10-07-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · GoEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundFiber
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- golang-github-gofiber-fiberAll versions (No fix recorded)
- golang-github-gofiber-fiber-v2All versions (No fix recorded)
Github.com/gofiber1 product
- fiber< 3.4.0
Github.com/gofiber/fiber1 product
- v3< 3.4.0
Gofiber1 product
- fiber< 3.4.0
4 vendors · 5 products
References
7 links- github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2cX Refsource CONFIRMWEBAdvisoryExploitVendor AdvisoryREPORT
- github.com/gofiber/fiberPACKAGE