{"id":"CVE-2026-53624","summary":"Fiber: HSTS header never set in helmet middleware due to incorrect protocol check","details":"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.","aliases":["GHSA-gv83-gqw6-9j2c","GO-2026-5912"],"modified":"2026-08-27T18:26:16.639526956Z","published":"2026-07-08T19:32:08.191Z","related":["SUSE-SU-2026:23216-1","SUSE-SU-2026:23227-1","openSUSE-SU-2026:21551-1"],"database_specific":{"cwe_ids":["CWE-319"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53624.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/gofiber/fiber/releases/tag/v3.4.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53624.json"},{"type":"ADVISORY","url":"https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53624"},{"type":"FIX","url":"https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf"},{"type":"FIX","url":"https://github.com/gofiber/fiber/pull/4389"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gofiber/fiber","events":[{"introduced":"0"},{"fixed":"e88e762b9995a2acb014b6d7ac6e334e2288cd89"},{"fixed":"04dd4e7754f61768fddccacc79057e416f13e6bf"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.4.0"}]}}],"versions":["v3.3.0","v3.2.0","v3.1.0","v3.0.0-rc.2","v3.0.0-rc.1","v3.0.0-beta.5","v3.0.0-beta.4","v3.0.0-beta.3","v2.34.0","v2.34.0-rc.1","v2.33.0","v2.32.0","v2.31.0","v2.30.0","v2.29.0","v2.28.0","v2.27.0","v2.26.0","v2.25.0","v2.24.0","v2.23.0","v2.22.0","v2.21.0","v2.20.2","v2.20.1","v2.20.0","v2.19.0","v2.18.0","v2.17.0","v2.16.0","v2.15.0","v2.14.0","v2.13.0","v2.12.0","v2.11.0","v2.10.0","v2.9.0","v2.8.0","v2.7.1","v2.7.0","v2.6.0","v2.4.1","v2.5.0","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.4","v2.1.3","v2.1.2","v1.14.6","v2.1.1","v2.1.0","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.14.5","v1.14.4","v1.14.3","v1.14.2","v1.14.1","v1.13.3","v1.13.2","v1.13.1","v1.13.0","v1.12.6","v1.12.5","v1.12.4","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.1","v1.11.0","v1.10.5","v1.10.0","v1.9.6","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.43","v1.8.42","v1.8.41","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53624.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}