Skip to content
Heist/ feed
Back to feed
Medium

golang-github-gofiber-fiber, golang-github-gofiber-fiber-v2 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-53624

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.

Products
golang-github-gofiber-fiber, golang-github-gofiber-fiber-v2
Affected versions
2.52.13-2, 2.52.13-3, 3.3.0-1, 3.4.0-1, 3.5.0-1, 3.5.0-4
Fixed versions
Not specified
CVEs
CVE-2026-53624
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:06 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-53624

core-osv · Original source

Published 8 Jul 2026, 20:16 UTC

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.

osv:UBUNTU-CVE-2026-53624

golang-github-gofiber-fiber

Fixed versions: Not specified

golang-github-gofiber-fiber-v2

Fixed versions: Not specified

Complete source record
{
  "id": "290014434a11be81cdcf77b381872bd4d9ef22f72c514778acd81e4edd712c77",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-53624",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-53624",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-53624",
    "products": [
      {
        "name": {
          "value": "golang-github-gofiber-fiber",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.4.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.5.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.5.0-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gofiber-fiber-v2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.52.13-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.52.13-3",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-53624",
      "aliases": [
        "UBUNTU-CVE-2026-53624"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gofiber-fiber",
            "purl": "pkg:deb/ubuntu/golang-github-gofiber-fiber?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.3.0-1",
            "3.4.0-1",
            "3.5.0-1",
            "3.5.0-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53624.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gofiber-fiber-dev",
                "binary_version": "3.5.0-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gofiber-fiber-v2",
            "purl": "pkg:deb/ubuntu/golang-github-gofiber-fiber-v2?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.52.13-2",
            "2.52.13-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-53624.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gofiber-fiber-v2-dev",
                "binary_version": "2.52.13-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:30.514604932Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-53624"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-53624",
        "https://www.cve.org/CVERecord?id=CVE-2026-53624",
        "https://github.com/gofiber/fiber/commit/04dd4e7754f61768fddccacc79057e416f13e6bf",
        "https://github.com/gofiber/fiber/pull/4389",
        "https://github.com/gofiber/fiber/releases/tag/v3.4.0",
        "https://github.com/gofiber/fiber/security/advisories/GHSA-gv83-gqw6-9j2c"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-53624",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355752,
  "published_at": "2026-07-08T20:16:00+00:00"
}