Back
CVE-2026-53624
Fiber: HSTS header never set in helmet middleware due to incorrect protocol check
Medium4.8EPSS 0.21%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Medium4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/gofiber/fiberGHSA-gv83-gqw6-9j2c (opens in a new tab)
References (4)
- https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/gofiber/fiber/pull/4389 (opens in a new tab)x_refsource_MISC
- https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf (opens in a new tab)x_refsource_MISC
- https://github.com/gofiber/fiber/releases/tag/v3.4.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-gv83-gqw6-9j2c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-53624)Record last updated .