Advisory record · GHSA-98j2-3j3p-fw2v

Session Middleware Token Injection Vulnerability

CVSS 10.0 CriticalCriticalEPSS 0.0069 · 53rd percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

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

PackageEcosystemAffectedFixed in
github.com/gofiber/fiberGo<2.52.52.52.5
github.com/gofiber/fiber/v2Go<2.52.52.52.5
github.com/gofiber/fiber/v2/middleware/sessionGo<2.52.52.52.5
Identifiers
GHSA-98j2-3j3p-fw2v · CVE-2024-38513 · GO-2024-2959
Weakness (CWE)
CWE-384
Published
1 Jul 2024
Updated
10 Sept 2026

Machine-written summary

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

Fiber's session middleware (github.com/gofiber/fiber, github.com/gofiber/fiber/v2 and github.com/gofiber/fiber/v2/middleware/session) before 2.52.5 lets a user supply their own session_id, which creates a session under that chosen key. This can enable session fixation and unauthorized access where a site relies only on a session's presence. Upgrade to version 2.52.5 or later; the source gives no other workaround beyond validating or rotating session IDs yourself.

Written 2 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
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0069, the 53rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 30 Jun 2024, 20:54 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:15 UTC First seen by agentprime
  3. 31 Oct 2026, 14:15 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.